public final class AsymmetricGOST3410PublicKey extends AsymmetricGOST3410Key<GOST3410DomainParameters> implements AsymmetricPublicKey
domainParameters
Constructor and Description |
---|
AsymmetricGOST3410PublicKey(Algorithm algorithm,
byte[] enc) |
AsymmetricGOST3410PublicKey(Algorithm algorithm,
GOST3410Parameters<GOST3410DomainParameters> params,
java.math.BigInteger y) |
AsymmetricGOST3410PublicKey(Algorithm algorithm,
SubjectPublicKeyInfo publicKeyInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Return true if o is an equivalent key to this.
|
byte[] |
getEncoded()
Return an ASN.1 encoding of the key wrapped in a PrivateKeyInfo or a SubjectPublicKeyInfo structure.
|
java.math.BigInteger |
getY() |
int |
hashCode()
Return the hashCode for the key.
|
checkApprovedOnlyModeStatus, getAlgorithm, getParameters, zeroize
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAlgorithm
public AsymmetricGOST3410PublicKey(Algorithm algorithm, GOST3410Parameters<GOST3410DomainParameters> params, java.math.BigInteger y)
public AsymmetricGOST3410PublicKey(Algorithm algorithm, byte[] enc)
public AsymmetricGOST3410PublicKey(Algorithm algorithm, SubjectPublicKeyInfo publicKeyInfo)
public java.math.BigInteger getY()
public byte[] getEncoded()
AsymmetricKey
getEncoded
in interface AsymmetricKey
public boolean equals(java.lang.Object o)
Key