KeyStore.DefaultType Property

Definition

Returns the default keystore type as specified by the keystore.type security property, or the string "jks" (acronym for "Java keystore") 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 keystore type as specified by the keystore.type security property, or the string "jks" if no such property exists.

Attributes

Remarks

Returns the default keystore type as specified by the keystore.type security property, or the string "jks" (acronym for "Java keystore") if no such property exists.

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

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

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