KeyStoreSpi.EngineGetCertificateChain(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the certificate chain associated with the given alias.
[Android.Runtime.Register("engineGetCertificateChain", "(Ljava/lang/String;)[Ljava/security/cert/Certificate;", "GetEngineGetCertificateChain_Ljava_lang_String_Handler")]
public abstract Java.Security.Cert.Certificate[]? EngineGetCertificateChain (string? alias);
[<Android.Runtime.Register("engineGetCertificateChain", "(Ljava/lang/String;)[Ljava/security/cert/Certificate;", "GetEngineGetCertificateChain_Ljava_lang_String_Handler")>]
abstract member EngineGetCertificateChain : string -> Java.Security.Cert.Certificate[]
Parameters
- alias
- String
the alias name
Returns
the certificate chain (ordered with the user's certificate first and the root certificate authority last), or null if the given alias does not exist or does not contain a certificate chain
- Attributes
Remarks
Returns the certificate chain associated with the given alias. The certificate chain must have been associated with the alias by a call to setKeyEntry
, or by a call to setEntry
with a PrivateKeyEntry
.
Java documentation for java.security.KeyStoreSpi.engineGetCertificateChain(java.lang.String)
.
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.