io.netty.handler.ssl.PemPrivateKey.class Maven / Gradle / Ivy
???? 2 ? "io/netty/handler/ssl/PemPrivateKey &io/netty/util/AbstractReferenceCounted java/security/PrivateKey io/netty/handler/ssl/PemEncoded PemPrivateKey.java BEGIN_PRIVATE_KEY [B END_PRIVATE_KEY PKCS8_FORMAT Ljava/lang/String; PKCS#8 content Lio/netty/buffer/ByteBuf; toPEM `(Lio/netty/buffer/ByteBufAllocator;ZLjava/security/PrivateKey;)Lio/netty/handler/ssl/PemEncoded; retain #()Lio/netty/handler/ssl/PemEncoded;
getEncoded ()[B io/netty/buffer/Unpooled
wrappedBuffer ([B)Lio/netty/buffer/ByteBuf;
! io/netty/handler/ssl/SslUtils # toBase64 V(Lio/netty/buffer/ByteBufAllocator;Lio/netty/buffer/ByteBuf;)Lio/netty/buffer/ByteBuf; % &
$ '
) io/netty/buffer/ByteBuf +
readableBytes ()I - .
, / 1 io/netty/buffer/ByteBufAllocator 3 directBuffer (I)Lio/netty/buffer/ByteBuf; 5 6 4 7 buffer 9 6 4 :
writeBytes <