public interface SslPrivateKey
Modifier and Type | Method and Description |
---|---|
default byte[] |
derEncodedValue()
Returns an array of bytes that represents the DER-encoded representation of the SSL private
key.
|
static SslPrivateKey |
of(byte[] derEncoded)
Creates an
SslPrivateKey instance for the given bytes. |
static SslPrivateKey of(byte[] derEncoded)
SslPrivateKey
instance for the given bytes.derEncoded
- the DER-encoded representation of the SSL private key. Cannot be emptyjava.lang.IllegalArgumentException
- when the given derEncoded
bytes are emptydefault byte[] derEncodedValue()