Attempts to decode SSL/TLS network data into a sequence of plaintext
application data buffers.
<P>
An invocation of this method behaves in exactly the same manner
as the invocation:
<blockquote><pre>
{@link #unwrap(ByteBuffer, ByteBuffer [], int, int)
engine.unwrap(src, dsts, 0, dsts.length);}
</pre></blockquote>
@param src
a <code>ByteBuffer</code> containing inbound network data.
@param dsts
an array of <code>ByteBuffer</code>s to hold inbound
application data.
@return an <code>SSLEngineResult</code> describing the result
of this operation.
@throws SSLException
A problem was encountered while processing the
data that caused the <code>SSLEngine</code> to abort.
See the class description for more information on
engine closure.
@throws ReadOnlyBufferException
if any of the <code>dst</code> buffers are read-only.
@throws IllegalArgumentException
if either <code>src</code> or <code>dsts</code>
is null, or if any element in <code>dsts</code> is null.
@throws IllegalStateException if the client/server mode
has not yet been set.
@see #unwrap(ByteBuffer, ByteBuffer [], int, int)
Attempts to decode SSL/TLS network data into a sequence of plaintext application data buffers. <P> An invocation of this method behaves in exactly the same manner as the invocation: <blockquote><pre> {@link #unwrap(ByteBuffer, ByteBuffer [], int, int) engine.unwrap(src, dsts, 0, dsts.length);} </pre></blockquote>
@param src a <code>ByteBuffer</code> containing inbound network data. @param dsts an array of <code>ByteBuffer</code>s to hold inbound application data. @return an <code>SSLEngineResult</code> describing the result of this operation. @throws SSLException A problem was encountered while processing the data that caused the <code>SSLEngine</code> to abort. See the class description for more information on engine closure. @throws ReadOnlyBufferException if any of the <code>dst</code> buffers are read-only. @throws IllegalArgumentException if either <code>src</code> or <code>dsts</code> is null, or if any element in <code>dsts</code> is null. @throws IllegalStateException if the client/server mode has not yet been set. @see #unwrap(ByteBuffer, ByteBuffer [], int, int)