SSLParameters Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
SSLParameters() |
Constructs SSLParameters. |
SSLParameters(String[]) |
Constructs SSLParameters from the specified array of ciphersuites. |
SSLParameters(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
SSLParameters(String[], String[]) |
Constructs SSLParameters from the specified array of ciphersuites and protocols. |
SSLParameters()
Constructs SSLParameters.
[Android.Runtime.Register(".ctor", "()V", "")]
public SSLParameters ();
- Attributes
Remarks
Constructs SSLParameters.
The values of cipherSuites, protocols, cryptographic algorithm constraints, endpoint identification algorithm, server names and server name matchers are set to null
, useCipherSuitesOrder, wantClientAuth and needClientAuth are set to false
.
Java documentation for javax.net.ssl.SSLParameters.SSLParameters()
.
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
SSLParameters(String[])
Constructs SSLParameters from the specified array of ciphersuites.
[Android.Runtime.Register(".ctor", "([Ljava/lang/String;)V", "")]
public SSLParameters (string[]? cipherSuites);
[<Android.Runtime.Register(".ctor", "([Ljava/lang/String;)V", "")>]
new Javax.Net.Ssl.SSLParameters : string[] -> Javax.Net.Ssl.SSLParameters
Parameters
- cipherSuites
- String[]
the array of ciphersuites (or null)
- Attributes
Remarks
Constructs SSLParameters from the specified array of ciphersuites.
Calling this constructor is equivalent to calling the no-args constructor followed by setCipherSuites(cipherSuites);
.
Java documentation for javax.net.ssl.SSLParameters.SSLParameters(java.lang.String[])
.
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
SSLParameters(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected SSLParameters (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Javax.Net.Ssl.SSLParameters : nativeint * Android.Runtime.JniHandleOwnership -> Javax.Net.Ssl.SSLParameters
Parameters
- 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
SSLParameters(String[], String[])
Constructs SSLParameters from the specified array of ciphersuites and protocols.
[Android.Runtime.Register(".ctor", "([Ljava/lang/String;[Ljava/lang/String;)V", "")]
public SSLParameters (string[]? cipherSuites, string[]? protocols);
[<Android.Runtime.Register(".ctor", "([Ljava/lang/String;[Ljava/lang/String;)V", "")>]
new Javax.Net.Ssl.SSLParameters : string[] * string[] -> Javax.Net.Ssl.SSLParameters
Parameters
- cipherSuites
- String[]
the array of ciphersuites (or null)
- protocols
- String[]
the array of protocols (or null)
- Attributes
Remarks
Constructs SSLParameters from the specified array of ciphersuites and protocols.
Calling this constructor is equivalent to calling the no-args constructor followed by setCipherSuites(cipherSuites); setProtocols(protocols);
.
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.