Top Description Methods
io.netty5.handler.ssl

pack-priv Interface PemEncoded

extends AutoCloseable
Known Direct Implementers
io.netty5.handler.ssl.PemPrivateKey, io.netty5.handler.ssl.PemValue, io.netty5.handler.ssl.PemX509Certificate
Imports
io.netty5.buffer.Buffer

A marker interface for PEM encoded values.

Method Summary

Modifier and TypeMethod and Description
public void
close()

Redeclares java.lang.AutoCloseable.close.

Close this PEM encoded value and free its related resources.
public Buffer

Returns:

The underlying Buffer with the contents of this PEM encoded value.
content
()

Returns the Buffer with the PEM encoded contents of this value.

public PemEncoded

Returns:

A new identical copy of this PEM encoded value.
copy
()

Return a copy of this PEM encoded value.

Method Detail

closeback to summary
public void close()

Redeclares java.lang.AutoCloseable.close.

Close this PEM encoded value and free its related resources.

Annotations
@Override
contentback to summary
public Buffer content()

Returns the Buffer with the PEM encoded contents of this value.

Note

The returned buffer should not be closed directly. Instead, close() should be called on this PEM encoded value instead.

Returns:Buffer

The underlying Buffer with the contents of this PEM encoded value.

copyback to summary
public PemEncoded copy()

Return a copy of this PEM encoded value.

Returns:PemEncoded

A new identical copy of this PEM encoded value.