public final class AsymmetricDHPrivateKey extends AsymmetricDHKey implements AsymmetricPrivateKey
| Constructor and Description |
|---|
AsymmetricDHPrivateKey(Algorithm algorithm,
byte[] enc) |
AsymmetricDHPrivateKey(Algorithm algorithm,
DHDomainParameters params,
java.math.BigInteger x) |
AsymmetricDHPrivateKey(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 AsymmetricDHPrivateKey(Algorithm algorithm, DHDomainParameters params, java.math.BigInteger x)
public AsymmetricDHPrivateKey(Algorithm algorithm, byte[] enc)
public AsymmetricDHPrivateKey(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