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:
- DSAKey, DSAParams, Key, AlgorithmParameterSpec, java.io.Serializable
- Direct Known Subclasses:
- DSAPrivateKey, DSAPublicKey
public class DSAKey
- extends DSAParameterSpec
- implements DSAKey, 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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DSAKey
protected DSAKey(java.math.BigInteger p,
java.math.BigInteger q,
java.math.BigInteger g)
getAlgorithm
public java.lang.String getAlgorithm()
- Description copied from interface:
Key
- Get the algorithm name
- Specified by:
getAlgorithm
in interface Key
- Returns:
- the name of the algorithm this key supports
getEncoded
public byte[] getEncoded()
- Description copied from interface:
Key
- Get the key in its encoded form
- Specified by:
getEncoded
in interface Key
- Returns:
- the key in its encoded form
getFormat
public java.lang.String getFormat()
- Description copied from interface:
Key
- Get the primary encoding format of this key.
- Specified by:
getFormat
in interface Key
- Returns:
- the primary encoding format of the key
getParams
public DSAParams getParams()
- Specified by:
getParams
in interface DSAKey