CertPathBuilder.DefaultType Property

Definition

Returns the default CertPathBuilder type as specified by the certpathbuilder.type security property, or the string "PKIX" if no such property exists.

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

Property Value

the default CertPathBuilder type as specified by the certpathbuilder.type security property, or the string "PKIX" if no such property exists.

Attributes

Remarks

Returns the default CertPathBuilder type as specified by the certpathbuilder.type security property, or the string "PKIX" if no such property exists.

The default CertPathBuilder type can be used by applications that do not want to use a hard-coded type when calling one of the getInstance methods, and want to provide a default type in case a user does not specify its own.

The default CertPathBuilder type can be changed by setting the value of the certpathbuilder.type security property to the desired type.

Java documentation for java.security.cert.CertPathBuilder.getDefaultType().

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