Class OpenSslEdDsaPrivateKey
java.lang.Object
org.conscrypt.OpenSslEdDsaPrivateKey
- All Implemented Interfaces:
Serializable, AsymmetricKey, DEREncodablePREVIEW, Key, PrivateKey, Destroyable, OpenSSLKeyHolder
An OpenSSL EdDSA private key.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionOpenSslEdDsaPrivateKey(byte[] raw) OpenSslEdDsaPrivateKey(EncodedKeySpec keySpec) -
Method Summary
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface AsymmetricKey
getParams
-
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
-