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, isThreadCorrectMode, zeroizeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic AsymmetricEdDSAPublicKey(Algorithm algorithm, byte[] keyData)
public AsymmetricEdDSAPublicKey(byte[] encoding)
encoding - the DER encoding of the key.public byte[] getPublicData()
public byte[] getEncoded()
AsymmetricKeygetEncoded in interface AsymmetricKeypublic boolean equals(java.lang.Object o)
Key