次の方法で共有


HttpsURLConnection.SSLSocketFactory Property

Definition

Gets the SSL socket factory to be used when creating sockets for secure https URL connections. -or- Sets the SSLSocketFactory to be used when this instance creates sockets for secure https URL connections.

public virtual Javax.Net.Ssl.SSLSocketFactory? SSLSocketFactory { [Android.Runtime.Register("getSSLSocketFactory", "()Ljavax/net/ssl/SSLSocketFactory;", "GetGetSSLSocketFactoryHandler")] get; [Android.Runtime.Register("setSSLSocketFactory", "(Ljavax/net/ssl/SSLSocketFactory;)V", "GetSetSSLSocketFactory_Ljavax_net_ssl_SSLSocketFactory_Handler")] set; }
[<get: Android.Runtime.Register("getSSLSocketFactory", "()Ljavax/net/ssl/SSLSocketFactory;", "GetGetSSLSocketFactoryHandler")>]
[<set: Android.Runtime.Register("setSSLSocketFactory", "(Ljavax/net/ssl/SSLSocketFactory;)V", "GetSetSSLSocketFactory_Ljavax_net_ssl_SSLSocketFactory_Handler")>]
member this.SSLSocketFactory : Javax.Net.Ssl.SSLSocketFactory with get, set

Property Value

the SSLSocketFactory

Attributes

Exceptions

if the specified socket factory is null.

Remarks

Property getter documentation:

Gets the SSL socket factory to be used when creating sockets for secure https URL connections.

Java documentation for javax.net.ssl.HttpsURLConnection.getSSLSocketFactory().

Property setter documentation:

Sets the SSLSocketFactory to be used when this instance creates sockets for secure https URL connections.

New instances of this class inherit the default static SSLSocketFactory set by #setDefaultSSLSocketFactory(SSLSocketFactory) setDefaultSSLSocketFactory. Calls to this method replace this object's SSLSocketFactory.

Java documentation for javax.net.ssl.HttpsURLConnection.setSSLSocketFactory(javax.net.ssl.SSLSocketFactory).

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