Class PemPrivateKey

java.lang.Object
io.netty.util.AbstractReferenceCounted
io.netty.handler.ssl.PemPrivateKey
All Implemented Interfaces:
ByteBufHolder, PemEncoded, ReferenceCounted, Serializable, Key, PrivateKey, Destroyable

public final class PemPrivateKey extends AbstractReferenceCounted implements PrivateKey, PemEncoded
This is a special purpose implementation of a PrivateKey which allows the user to pass PEM/PKCS#8 encoded key material straight into OpenSslContext without having to parse and re-encode bytes in Java land. All methods other than what's implemented in PemEncoded and Destroyable throw UnsupportedOperationExceptions.
See Also: