Share via


SNIServerName Constructors

Definition

Overloads

SNIServerName(Int32, Byte[])

Creates an SNIServerName using the specified name type and encoded value.

SNIServerName(IntPtr, JniHandleOwnership)

SNIServerName(Int32, Byte[])

Creates an SNIServerName using the specified name type and encoded value.

[Android.Runtime.Register(".ctor", "(I[B)V", "", ApiSince=24)]
protected SNIServerName (int type, byte[]? encoded);
[<Android.Runtime.Register(".ctor", "(I[B)V", "", ApiSince=24)>]
new Javax.Net.Ssl.SNIServerName : int * byte[] -> Javax.Net.Ssl.SNIServerName

Parameters

type
Int32

the type of the server name

encoded
Byte[]

the encoded value of the server name

Attributes

Remarks

Creates an SNIServerName using the specified name type and encoded value.

Note that the encoded byte array is cloned to protect against subsequent modification.

Java documentation for javax.net.ssl.SNIServerName.SNIServerName(int, byte[]).

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

SNIServerName(IntPtr, JniHandleOwnership)

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

Parameters

javaReference
IntPtr

nativeint

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