Serializable, Key, PublicKeypublic class X25519PublicKey extends Object implements PublicKey
serialVersionUID| Constructor | Description |
|---|---|
X25519PublicKey(byte[] data) |
Montgomery representation, little-endian
|
| Modifier and Type | Method | Description |
|---|---|---|
String |
getAlgorithm() |
|
byte[] |
getEncoded() |
The raw byte array, there is no encoding.
|
String |
getFormat() |
public X25519PublicKey(byte[] data)
data - 32 bytesIllegalArgumentException - if not 32 bytespublic byte[] getEncoded()
getEncoded in interface Keypublic String getAlgorithm()
getAlgorithm in interface Key