public final class AsymmetricECPrivateKey extends AsymmetricECKey implements AsymmetricPrivateKey
| Constructor and Description |
|---|
AsymmetricECPrivateKey(Algorithm ecAlg,
byte[] encoding) |
AsymmetricECPrivateKey(Algorithm ecAlg,
ECDomainParameters domainParameters,
java.math.BigInteger s) |
AsymmetricECPrivateKey(Algorithm ecAlg,
ECDomainParameters domainParameters,
java.math.BigInteger s,
ECPoint w) |
AsymmetricECPrivateKey(Algorithm ecAlg,
ECDomainParametersID domainParametersID,
java.math.BigInteger s) |
AsymmetricECPrivateKey(Algorithm ecAlg,
ECDomainParametersID domainParametersID,
java.math.BigInteger s,
ECPoint w) |
AsymmetricECPrivateKey(Algorithm ecAlg,
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 |
getS() |
int |
hashCode()
Return the hashCode for the key.
|
checkApprovedOnlyModeStatus, getAlgorithm, getDomainParametersclone, getClass, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic AsymmetricECPrivateKey(Algorithm ecAlg, ECDomainParametersID domainParametersID, java.math.BigInteger s)
public AsymmetricECPrivateKey(Algorithm ecAlg, ECDomainParameters domainParameters, java.math.BigInteger s)
public AsymmetricECPrivateKey(Algorithm ecAlg, ECDomainParameters domainParameters, java.math.BigInteger s, ECPoint w)
public AsymmetricECPrivateKey(Algorithm ecAlg, ECDomainParametersID domainParametersID, java.math.BigInteger s, ECPoint w)
public AsymmetricECPrivateKey(Algorithm ecAlg, byte[] encoding)
public AsymmetricECPrivateKey(Algorithm ecAlg, PrivateKeyInfo privateKeyInfo)
public final byte[] getEncoded()
AsymmetricKeygetEncoded in interface AsymmetricKeypublic java.math.BigInteger getS()
public boolean equals(java.lang.Object o)
Keypublic int hashCode()
Keyprotected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwable