public final class AsymmetricDSAPrivateKey extends AsymmetricDSAKey implements AsymmetricPrivateKey
| Constructor and Description |
|---|
AsymmetricDSAPrivateKey(Algorithm algorithm,
byte[] enc) |
AsymmetricDSAPrivateKey(Algorithm algorithm,
DSADomainParameters params,
java.math.BigInteger x) |
AsymmetricDSAPrivateKey(Algorithm algorithm,
PrivateKeyInfo privateKeyInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Return true if o is an equivalent key to this.
|
protected void |
finalize() |
byte[] |
getEncoded()
Return an ASN.1 encoding of the key wrapped in a PrivateKeyInfo or a SubjectPublicKeyInfo structure.
|
java.math.BigInteger |
getX() |
int |
hashCode()
Return the hashCode for the key.
|
checkApprovedOnlyModeStatus, getAlgorithm, getDomainParametersclone, getClass, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic AsymmetricDSAPrivateKey(Algorithm algorithm, DSADomainParameters params, java.math.BigInteger x)
public AsymmetricDSAPrivateKey(Algorithm algorithm, byte[] enc)
public AsymmetricDSAPrivateKey(Algorithm algorithm, PrivateKeyInfo privateKeyInfo)
public final byte[] getEncoded()
AsymmetricKeygetEncoded in interface AsymmetricKeypublic java.math.BigInteger getX()
public int hashCode()
Keyprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic boolean equals(java.lang.Object o)
Key