Javax.Net.Ssl.SSLContext.Default Property
Returns the default SSLContext.

Syntax

[get: Android.Runtime.Register("getDefault", "()Ljavax/net/ssl/SSLContext;", "GetGetDefaultHandler")]
[set: Android.Runtime.Register("setDefault", "(Ljavax/net/ssl/SSLContext;)V", "GetSetDefault_Ljavax_net_ssl_SSLContext_Handler")]
public static SSLContext Default { get; set; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.NoSuchAlgorithmExceptionif there is a problem creating the default instance.
Java.Lang.NullPointerExceptionon a null argument

Remarks

Get method documentation [Android Documentation]

Returns the default SSLContext. The default SSL context can be set with SSLContext.Default. If not, one will be created with SSLContext.getInstance("Default"), which will already be initialized.

Set method documentation [Android Documentation]

Sets the default SSLContext instance as returned by SSLContext.Default to a non-null initialized value.

Requirements

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