Package: org.conscrypt

OpenSslEdDsaPrivateKey

public class OpenSslEdDsaPrivateKey implements java.security.PrivateKey, org.conscrypt.OpenSSLKeyHolder
An OpenSSL EdDSA private key.

Constructors

public OpenSslEdDsaPrivateKey(EncodedKeySpec keySpec) throws java.security.spec.InvalidKeySpecException

public OpenSslEdDsaPrivateKey(byte[] raw)

Public Methods

getAlgorithm

public String getAlgorithm()

getFormat

public String getFormat()

getEncoded

public byte[] getEncoded()

getOpenSSLKey

public OpenSSLKey getOpenSSLKey()

destroy

public void destroy()

isDestroyed

public boolean isDestroyed()

equals

public boolean equals(Object o)

hashCode

public int hashCode()