Javax.Net.Ssl.SSLEngine.Unwrap Method
Decodes the incoming network data buffer into application data buffers.

Syntax

[Android.Runtime.Register("unwrap", "(Ljava/nio/ByteBuffer;[Ljava/nio/ByteBuffer;II)Ljavax/net/ssl/SSLEngineResult;", "GetUnwrap_Ljava_nio_ByteBuffer_arrayLjava_nio_ByteBuffer_IIHandler")]
public abstract SSLEngineResult Unwrap (Java.Nio.ByteBuffer src, Java.Nio.ByteBuffer[] dsts, int offset, int length)

Parameters

src
the buffer with incoming network data
dsts
the array of destination buffers for incoming application data.
offset
the offset in the array of destination buffers to which data is to be transferred.
length
the maximum number of destination buffers to be used.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Javax.Net.Ssl.SSLExceptionif a problem occurred while processing the data.
Java.Lang.IndexOutOfBoundsExceptionif length is greater than dsts.length - offset.
Java.Nio.ReadOnlyBufferExceptionif one of the destination buffers is read-only.
Java.Lang.IllegalArgumentExceptionif src, dsts, or one of the entries in dsts is null.
Java.Lang.IllegalStateExceptionif the engine does not have all the needed settings (e.g. client/server mode not set).

Remarks

Decodes the incoming network data buffer into application data buffers. If a handshake has not been started yet, it will automatically be started.

[Android Documentation]

Requirements

Namespace: Javax.Net.Ssl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1