public class OpenSSLX25519PrivateKey extends Object implements OpenSSLX25519Key, PrivateKey
X25519_KEY_SIZE_BYTESserialVersionUID| Constructor and Description |
|---|
OpenSSLX25519PrivateKey(byte[] coordinateBytes) |
OpenSSLX25519PrivateKey(PKCS8EncodedKeySpec keySpec) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
boolean |
equals(Object o) |
String |
getAlgorithm() |
byte[] |
getEncoded() |
String |
getFormat() |
byte[] |
getU() |
int |
hashCode() |
boolean |
isDestroyed() |
public OpenSSLX25519PrivateKey(PKCS8EncodedKeySpec keySpec) throws InvalidKeySpecException
InvalidKeySpecExceptionpublic OpenSSLX25519PrivateKey(byte[] coordinateBytes)
public String getAlgorithm()
getAlgorithm in interface Keypublic byte[] getEncoded()
getEncoded in interface Keypublic byte[] getU()
getU in interface OpenSSLX25519Keypublic void destroy()
destroy in interface Destroyablepublic boolean isDestroyed()
isDestroyed in interface Destroyable