Class AsymmetricDSAPublicKey
java.lang.Object
org.bouncycastle.crypto.asymmetric.AsymmetricDSAKey
org.bouncycastle.crypto.asymmetric.AsymmetricDSAPublicKey
- All Implemented Interfaces:
AsymmetricKey, AsymmetricPublicKey, Key
Class for Digital Signature Algorithm (DSA) public keys.
-
Constructor Summary
ConstructorsConstructorDescriptionAsymmetricDSAPublicKey(Algorithm algorithm, byte[] enc) AsymmetricDSAPublicKey(Algorithm algorithm, SubjectPublicKeyInfo publicKeyInfo) AsymmetricDSAPublicKey(Algorithm algorithm, DSADomainParameters params, BigInteger y) -
Method Summary
Methods inherited from class AsymmetricDSAKey
checkApprovedOnlyModeStatus, getAlgorithm, getDomainParameters, isThreadCorrectMode, zeroizeMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Key
getAlgorithm
-
Constructor Details
-
AsymmetricDSAPublicKey
-
AsymmetricDSAPublicKey
-
AsymmetricDSAPublicKey
-
-
Method Details
-
getY
-
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
-