다음을 통해 공유


TrustManagerFactory.DefaultAlgorithm Property

Definition

Obtains the default TrustManagerFactory algorithm name.

public static string? DefaultAlgorithm { [Android.Runtime.Register("getDefaultAlgorithm", "()Ljava/lang/String;", "")] get; }
[<get: Android.Runtime.Register("getDefaultAlgorithm", "()Ljava/lang/String;", "")>]
static member DefaultAlgorithm : string

Property Value

the default algorithm name as specified by the ssl.TrustManagerFactory.algorithm security property, or an implementation-specific default if no such property exists.

Attributes

Remarks

Obtains the default TrustManagerFactory algorithm name.

The default TrustManager can be changed at runtime by setting the value of the ssl.TrustManagerFactory.algorithm security property to the desired algorithm name.

Java documentation for javax.net.ssl.TrustManagerFactory.getDefaultAlgorithm().

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