public final class AsymmetricXDHPublicKey extends AsymmetricXDHKey implements AsymmetricPublicKey
| Constructor and Description |
|---|
AsymmetricXDHPublicKey(Algorithm algorithm,
byte[] keyData) |
AsymmetricXDHPublicKey(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, zeroizeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic AsymmetricXDHPublicKey(Algorithm algorithm, byte[] keyData)
public AsymmetricXDHPublicKey(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