Package org.conscrypt
Class OpenSslEdDsaPrivateKey
java.lang.Object
org.conscrypt.OpenSslEdDsaPrivateKey
- All Implemented Interfaces:
Serializable,Key,PrivateKey,Destroyable,OpenSSLKeyHolder
An OpenSSL EdDSA private key.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOpenSslEdDsaPrivateKey(byte[] raw) OpenSslEdDsaPrivateKey(EncodedKeySpec keySpec) -
Method Summary
-
Constructor Details
-
OpenSslEdDsaPrivateKey
- Throws:
InvalidKeySpecException
-
OpenSslEdDsaPrivateKey
public OpenSslEdDsaPrivateKey(byte[] raw)
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getOpenSSLKey
- Specified by:
getOpenSSLKeyin interfaceOpenSSLKeyHolder
-
destroy
public void destroy()- Specified by:
destroyin interfaceDestroyable
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceDestroyable
-
equals
-
hashCode
public int hashCode()
-