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 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 AsymmetricGOST3410Key
checkApprovedOnlyModeStatus, getAlgorithm, getParameters, isThreadCorrectMode, zeroizeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:AsymmetricKeyReturn an ASN.1 encoding of the key wrapped in a PrivateKeyInfo or a SubjectPublicKeyInfo structure.- Specified by:
getEncodedin interfaceAsymmetricKey- Returns:
- an encoding of a PrivateKeyInfo or a SubjectPublicKeyInfo structure.
-
equals
-
hashCode
-