public final class AsymmetricDSAPublicKey extends AsymmetricDSAKey implements AsymmetricPublicKey
domainParameters
Constructor and Description |
---|
AsymmetricDSAPublicKey(Algorithm algorithm,
byte[] enc) |
AsymmetricDSAPublicKey(Algorithm algorithm,
DSADomainParameters params,
java.math.BigInteger y) |
AsymmetricDSAPublicKey(Algorithm algorithm,
SubjectPublicKeyInfo publicKeyInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Return true if o is an equivalent key to this.
|
byte[] |
getEncoded()
Return an ASN.1 encoding of the key wrapped in a PrivateKeyInfo or a SubjectPublicKeyInfo structure.
|
java.math.BigInteger |
getY() |
int |
hashCode()
Return the hashCode for the key.
|
checkApprovedOnlyModeStatus, getAlgorithm, getDomainParameters, isThreadCorrectMode, zeroize
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAlgorithm
public AsymmetricDSAPublicKey(Algorithm algorithm, DSADomainParameters params, java.math.BigInteger y)
public AsymmetricDSAPublicKey(Algorithm algorithm, byte[] enc)
public AsymmetricDSAPublicKey(Algorithm algorithm, SubjectPublicKeyInfo publicKeyInfo)
public java.math.BigInteger getY()
public byte[] getEncoded()
AsymmetricKey
getEncoded
in interface AsymmetricKey
public boolean equals(java.lang.Object o)
Key