CertStore.DefaultType Property

Definition

Returns the default CertStore type as specified by the certstore.type security property, or the string "LDAP" 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 CertStore type as specified by the certstore.type security property, or the string "LDAP" if no such property exists.

Attributes

Remarks

Returns the default CertStore type as specified by the certstore.type security property, or the string "LDAP" if no such property exists.

The default CertStore 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 CertStore type in case a user does not specify its own.

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

Java documentation for java.security.cert.CertStore.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