Top Description Methods
io.netty5.handler.ssl

pack-priv Interface VectoredUnwrap

Known Direct Implementers
io.netty5.handler.ssl.ConscryptAlpnSslEngine, io.netty5.handler.ssl.ReferenceCountedOpenSslEngine
Imports
javax.net.ssl.SSLEngineResult, .SSLException, java.nio.ByteBuffer

Optional extra interface that javax.net.ssl.SSLEngine sub-classes can implement, if they support a faster way of unwrapping multiple input buffers into multiple output buffers.

Method Summary

Modifier and TypeMethod and Description
public SSLEngineResult

Returns:

The SSLEngineResult of the unwrap operation.
unwrap
(ByteBuffer[]
The array of source buffers with data to unwrap.
srcs
,
ByteBuffer[]
The array of destination buffers where the unwrapped data should be written.
dsts
)

Similar to javax.net.ssl.SSLEngine#unwrap(ByteBuffer, ByteBuffer[]), but takes an array of input buffers.

Method Detail

unwrapback to summary
public SSLEngineResult unwrap(ByteBuffer[] srcs, ByteBuffer[] dsts) throws SSLException

Similar to javax.net.ssl.SSLEngine#unwrap(ByteBuffer, ByteBuffer[]), but takes an array of input buffers.

Parameters
srcs:ByteBuffer[]

The array of source buffers with data to unwrap.

dsts:ByteBuffer[]

The array of destination buffers where the unwrapped data should be written.

Returns:SSLEngineResult

The SSLEngineResult of the unwrap operation.

Exceptions
SSLException:
A problem was encountered during data processing that caused the javax.net.ssl.SSLEngine to abort.
See Also
javax.net.ssl.SSLEngine#unwrap(ByteBuffer, ByteBuffer[])