Android.Security.KeyChain.GetCertificateChain Method
Returns the X509Certificate chain for the requested alias, or null if no there is no result.

Syntax

[Android.Runtime.Register("getCertificateChain", "(Landroid/content/Context;Ljava/lang/String;)[Ljava/security/cert/X509Certificate;", "")]
public static Java.Security.Cert.X509Certificate[] GetCertificateChain (Android.Content.Context context, string alias)

Parameters

context
Documentation for this section has not yet been entered.
alias
The alias of the desired certificate chain, typically returned via IKeyChainAliasCallback.Alias(string).

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Android.Security.KeyChainExceptionif the alias was valid but there was some problem accessing it.
Java.Lang.InterruptedException

Remarks

Returns the X509Certificate chain for the requested alias, or null if no there is no result.

[Android Documentation]

Requirements

Namespace: Android.Security
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 14