Package org.conscrypt
Class OpenSSLX25519PrivateKey
java.lang.Object
org.conscrypt.OpenSSLX25519PrivateKey
- All Implemented Interfaces:
Serializable,Key,PrivateKey,Destroyable,OpenSSLX25519Key
- See Also:
-
Field Summary
Fields inherited from interface org.conscrypt.OpenSSLX25519Key
X25519_KEY_SIZE_BYTES -
Constructor Summary
ConstructorsConstructorDescriptionOpenSSLX25519PrivateKey(byte[] coordinateBytes) OpenSSLX25519PrivateKey(EncodedKeySpec keySpec) -
Method Summary
-
Constructor Details
-
OpenSSLX25519PrivateKey
- Throws:
InvalidKeySpecException
-
OpenSSLX25519PrivateKey
public OpenSSLX25519PrivateKey(byte[] coordinateBytes)
-
-
Method Details
-
getAlgorithm
- Specified by:
getAlgorithmin interfaceKey
-
getFormat
-
getEncoded
public byte[] getEncoded()- Specified by:
getEncodedin interfaceKey
-
getU
public byte[] getU()- Specified by:
getUin interfaceOpenSSLX25519Key
-
destroy
public void destroy()- Specified by:
destroyin interfaceDestroyable
-
isDestroyed
public boolean isDestroyed()- Specified by:
isDestroyedin interfaceDestroyable
-
equals
-
hashCode
public int hashCode()
-