public final class AsymmetricGOST3410PrivateKey extends AsymmetricGOST3410Key<GOST3410DomainParameters> implements AsymmetricPrivateKey
| Constructor and Description |
|---|
AsymmetricGOST3410PrivateKey(Algorithm algorithm,
byte[] enc) |
AsymmetricGOST3410PrivateKey(Algorithm algorithm,
GOST3410Parameters<GOST3410DomainParameters> params,
java.math.BigInteger x) |
AsymmetricGOST3410PrivateKey(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, getParametersclone, getClass, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic AsymmetricGOST3410PrivateKey(Algorithm algorithm, GOST3410Parameters<GOST3410DomainParameters> params, java.math.BigInteger x)
public AsymmetricGOST3410PrivateKey(Algorithm algorithm, byte[] enc)
public AsymmetricGOST3410PrivateKey(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