Class AsymmetricECGOST3410PublicKey
java.lang.Object
org.bouncycastle.crypto.asymmetric.AsymmetricGOST3410Key<ECDomainParameters>
org.bouncycastle.crypto.asymmetric.AsymmetricECGOST3410PublicKey
- All Implemented Interfaces:
AsymmetricKey
,AsymmetricPublicKey
,Key
public final class AsymmetricECGOST3410PublicKey
extends AsymmetricGOST3410Key<ECDomainParameters>
implements AsymmetricPublicKey
Class for keys for GOST R 34.10-2001 (ECGOST) public keys.
-
Field Summary
Fields inherited from class org.bouncycastle.crypto.asymmetric.AsymmetricGOST3410Key
ecAcceptable, fpAcceptable
-
Constructor Summary
ConstructorsConstructorDescriptionAsymmetricECGOST3410PublicKey
(Algorithm algorithm, byte[] enc) AsymmetricECGOST3410PublicKey
(Algorithm algorithm, SubjectPublicKeyInfo publicKeyInfo) AsymmetricECGOST3410PublicKey
(Algorithm algorithm, GOST3410Parameters<ECDomainParameters> params, ECPoint w) -
Method Summary
Methods inherited from class org.bouncycastle.crypto.asymmetric.AsymmetricGOST3410Key
checkApprovedOnlyModeStatus, getAlgorithm, getParameters, isThreadCorrectMode, zeroize
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.bouncycastle.crypto.Key
getAlgorithm
-
Constructor Details
-
AsymmetricECGOST3410PublicKey
public AsymmetricECGOST3410PublicKey(Algorithm algorithm, GOST3410Parameters<ECDomainParameters> params, ECPoint w) -
AsymmetricECGOST3410PublicKey
-
AsymmetricECGOST3410PublicKey
-
-
Method Details
-
getW
-
getEncoded
public byte[] getEncoded()Description copied from interface:AsymmetricKey
Return an ASN.1 encoding of the key wrapped in a PrivateKeyInfo or a SubjectPublicKeyInfo structure.- Specified by:
getEncoded
in interfaceAsymmetricKey
- Returns:
- an encoding of a PrivateKeyInfo or a SubjectPublicKeyInfo structure.
-
equals
Description copied from interface:Key
Return true if o is an equivalent key to this. -
hashCode
public int hashCode()Description copied from interface:Key
Return the hashCode for the key.
-