public final class AsymmetricEdDSAPublicKey extends AsymmetricEdDSAKey implements AsymmetricPublicKey
Constructor and Description |
---|
AsymmetricEdDSAPublicKey(Algorithm algorithm,
byte[] keyData) |
AsymmetricEdDSAPublicKey(byte[] encoding)
Construct a key from an encoding of a SubjectPublicKeyInfo.
|
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.
|
byte[] |
getPublicData() |
int |
hashCode()
Return the hashCode for the key.
|
checkApprovedOnlyModeStatus, getAlgorithm, zeroize
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getAlgorithm
public AsymmetricEdDSAPublicKey(Algorithm algorithm, byte[] keyData)
public AsymmetricEdDSAPublicKey(byte[] encoding)
encoding
- the DER encoding of the key.public byte[] getPublicData()
public byte[] getEncoded()
AsymmetricKey
getEncoded
in interface AsymmetricKey
public boolean equals(java.lang.Object o)
Key