public class X25519PrivateKey extends Object implements PrivateKey
serialVersionUID| Constructor and Description |
|---|
X25519PrivateKey(byte[] data)
Montgomery representation, little-endian
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
byte[] |
getEncoded()
The raw byte array, there is no encoding.
|
String |
getFormat() |
X25519PublicKey |
toPublic() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, isDestroyedpublic X25519PrivateKey(byte[] data)
data - 32 bytesIllegalArgumentException - if not 32 bytespublic X25519PublicKey toPublic()
public byte[] getEncoded()
getEncoded in interface Keypublic String getAlgorithm()
getAlgorithm in interface Key