Aracılığıyla paylaş


SSLEngineResult Constructors

Definition

Overloads

SSLEngineResult(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

SSLEngineResult(SSLEngineResult+Status, SSLEngineResult+HandshakeStatus, Int32, Int32)

Initializes a new instance of this class.

SSLEngineResult(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected SSLEngineResult (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Net.Ssl.SSLEngineResult : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Net.Ssl.SSLEngineResult

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

SSLEngineResult(SSLEngineResult+Status, SSLEngineResult+HandshakeStatus, Int32, Int32)

Initializes a new instance of this class.

[Android.Runtime.Register(".ctor", "(Ljavax/net/ssl/SSLEngineResult$Status;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;II)V", "")]
public SSLEngineResult (Javax.Net.Ssl.SSLEngineResult.Status? status, Javax.Net.Ssl.SSLEngineResult.HandshakeStatus? handshakeStatus, int bytesConsumed, int bytesProduced);
[<Android.Runtime.Register(".ctor", "(Ljavax/net/ssl/SSLEngineResult$Status;Ljavax/net/ssl/SSLEngineResult$HandshakeStatus;II)V", "")>]
new Javax.Net.Ssl.SSLEngineResult : Javax.Net.Ssl.SSLEngineResult.Status * Javax.Net.Ssl.SSLEngineResult.HandshakeStatus * int * int -> Javax.Net.Ssl.SSLEngineResult

Parameters

status
SSLEngineResult.Status

the return value of the operation.

handshakeStatus
SSLEngineResult.HandshakeStatus

the current handshaking status.

bytesConsumed
Int32

the number of bytes consumed from the source ByteBuffer

bytesProduced
Int32

the number of bytes placed into the destination ByteBuffer

Attributes

Exceptions

if status or handshakeStatus is null, or if bytesConsumed or bytesProduces are negative.

Remarks

Java documentation for javax.net.ssl.SSLEngineResult.SSLEngineResult(javax.net.ssl.Status, javax.net.ssl.HandshakeStatus, int, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to