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 org.bouncycastle.crypto.asymmetric.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 org.bouncycastle.crypto.asymmetric.AsymmetricDSTU4145Key
checkApprovedOnlyModeStatus, getAlgorithm, getParameters, isThreadCorrectMode, reverseBytes, zeroizeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bouncycastle.crypto.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
Description copied from interface:KeyReturn true if o is an equivalent key to this. -
hashCode
public int hashCode()Description copied from interface:KeyReturn the hashCode for the key.
-