Sdílet prostřednictvím


KeyChain.ExtraPkcs12 Field

Definition

Optional extra for use with the Intent returned by #createInstallIntent to specify a PKCS#12 key store to install.

[Android.Runtime.Register("EXTRA_PKCS12")]
public const string ExtraPkcs12;
[<Android.Runtime.Register("EXTRA_PKCS12")>]
val mutable ExtraPkcs12 : string

Field Value

Attributes

Remarks

Optional extra for use with the Intent returned by #createInstallIntent to specify a PKCS#12 key store to install. The extra value should be a byte[]. The bytes may come from an external source or be generated with java.security.KeyStore#store on a "PKCS12" instance.

The user will be prompted for the password to load the key store.

The key store will be scanned for java.security.KeyStore.PrivateKeyEntry entries and both the private key and associated certificate chain will be installed.

#EXTRA_NAME may be used to provide a default alias name for the installed credentials.

Java documentation for android.security.KeyChain.EXTRA_PKCS12.

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