Class AsymmetricDSTU4145PublicKey
java.lang.Object
org.bouncycastle.crypto.asymmetric.AsymmetricDSTU4145Key
org.bouncycastle.crypto.asymmetric.AsymmetricDSTU4145PublicKey
- All Implemented Interfaces:
AsymmetricKey, AsymmetricPublicKey, Key
public final class AsymmetricDSTU4145PublicKey
extends AsymmetricDSTU4145Key
implements AsymmetricPublicKey
Class for DSTU-4145 public keys.
-
Field Summary
Fields inherited from class AsymmetricDSTU4145Key
dstu4145Identifier -
Constructor Summary
ConstructorsConstructorDescriptionAsymmetricDSTU4145PublicKey(Algorithm algorithm, byte[] enc) AsymmetricDSTU4145PublicKey(Algorithm algorithm, SubjectPublicKeyInfo publicKeyInfo) AsymmetricDSTU4145PublicKey(Algorithm algorithm, DSTU4145Parameters params, ECPoint w) -
Method Summary
Methods inherited from class AsymmetricDSTU4145Key
checkApprovedOnlyModeStatus, getAlgorithm, getParameters, isThreadCorrectMode, reverseBytes, zeroizeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Key
getAlgorithm
-
Constructor Details
-
AsymmetricDSTU4145PublicKey
-
AsymmetricDSTU4145PublicKey
-
AsymmetricDSTU4145PublicKey
-
-
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
-