Java.Security.KeyStore.GetCertificateAlias Method
Returns the alias associated with the first entry whose certificate matches the specified certificate.

Syntax

[Android.Runtime.Register("getCertificateAlias", "(Ljava/security/cert/Certificate;)Ljava/lang/String;", "")]
public string GetCertificateAlias (Java.Security.Cert.Certificate cert)

Parameters

cert
the certificate to find the associated entry's alias for.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Security.KeyStoreExceptionif this KeyStore is not initialized.

Remarks

Returns the alias associated with the first entry whose certificate matches the specified certificate.

[Android Documentation]

Requirements

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