com.mindbright.security.publickey
Class DSAKey
java.lang.Object
|
+--com.mindbright.jca.security.spec.DSAParamsImpl
|
+--com.mindbright.jca.security.spec.DSAParameterSpec
|
+--com.mindbright.security.publickey.DSAKey
- All Implemented Interfaces:
- com.mindbright.jca.security.spec.AlgorithmParameterSpec, com.mindbright.jca.security.interfaces.DSAKey, com.mindbright.jca.security.interfaces.DSAParams, com.mindbright.jca.security.Key, java.io.Serializable
- Direct Known Subclasses:
- DSAPrivateKey, DSAPublicKey
- public class DSAKey
- extends com.mindbright.jca.security.spec.DSAParameterSpec
- implements com.mindbright.jca.security.interfaces.DSAKey, com.mindbright.jca.security.Key
- See Also:
- Serialized Form
| Fields inherited from class com.mindbright.jca.security.spec.DSAParamsImpl |
g, p, q |
|
Constructor Summary |
protected |
DSAKey(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g)
|
| Methods inherited from class com.mindbright.jca.security.spec.DSAParamsImpl |
getG, getP, getQ |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.mindbright.jca.security.interfaces.DSAParams |
getG, getP, getQ |
DSAKey
protected DSAKey(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g)
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm in interface com.mindbright.jca.security.Key
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded in interface com.mindbright.jca.security.Key
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat in interface com.mindbright.jca.security.Key
getParams
public com.mindbright.jca.security.interfaces.DSAParams getParams()
- Specified by:
getParams in interface com.mindbright.jca.security.interfaces.DSAKey