public class Ed25519PrivateKey
extends java.lang.Object
implements java.security.PrivateKey
| Constructor and Description |
|---|
Ed25519PrivateKey(byte[] hash) |
Ed25519PrivateKey(java.security.spec.PKCS8EncodedKeySpec keySpec) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAlgorithm() |
byte[] |
getEncoded() |
java.lang.String |
getFormat() |
byte[] |
getSeed() |
int |
hashCode() |
boolean |
isDestroyed() |
public Ed25519PrivateKey(byte[] hash)
public Ed25519PrivateKey(java.security.spec.PKCS8EncodedKeySpec keySpec)
throws java.security.spec.InvalidKeySpecException
java.security.spec.InvalidKeySpecExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getSeed()
public byte[] getEncoded()
getEncoded in interface java.security.Keypublic void destroy()
throws javax.security.auth.DestroyFailedException
destroy in interface javax.security.auth.Destroyablejavax.security.auth.DestroyFailedExceptionpublic boolean isDestroyed()
isDestroyed in interface javax.security.auth.Destroyable