Sdílet prostřednictvím


KeyChain.ExtraCertificate Field

Definition

Optional extra to specify an X.

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

Field Value

Attributes

Remarks

Optional extra to specify an X.509 certificate to install on the Intent returned by #createInstallIntent. The extra value should be a PEM or ASN.1 DER encoded byte[]. An X509Certificate can be converted to DER encoded bytes with X509Certificate#getEncoded.

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

Java documentation for android.security.KeyChain.EXTRA_CERTIFICATE.

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