Class PemPrivateKey

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

public final class PemPrivateKey extends AbstractReferenceCounted implements java.security.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: