共用方式為


KeyStore.PrivateKeyEntry.GetCertificateChain Method

Definition

Gets the Certificate chain from this entry.

[Android.Runtime.Register("getCertificateChain", "()[Ljava/security/cert/Certificate;", "")]
public Java.Security.Cert.Certificate[]? GetCertificateChain ();
[<Android.Runtime.Register("getCertificateChain", "()[Ljava/security/cert/Certificate;", "")>]
member this.GetCertificateChain : unit -> Java.Security.Cert.Certificate[]

Returns

an array of Certificates corresponding to the certificate chain for the public key. If the certificates are of type X.509, the runtime type of the returned array is X509Certificate[].

Attributes

Remarks

Gets the Certificate chain from this entry.

The stored chain is cloned before being returned.

Java documentation for java.security.KeyStore.PrivateKeyEntry.getCertificateChain().

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