Org.Apache.Http.Conn.Ssl.AbstractVerifier.GetDNSSubjectAlts Method
Extracts the array of SubjectAlt DNS names from an X509Certificate.

Syntax

[Android.Runtime.Register("getDNSSubjectAlts", "(Ljava/security/cert/X509Certificate;)[Ljava/lang/String;", "")]
public static string[] GetDNSSubjectAlts (Java.Security.Cert.X509Certificate cert)

Parameters

cert
X509Certificate

Returns

Documentation for this section has not yet been entered.

Remarks

Extracts the array of SubjectAlt DNS names from an X509Certificate. Returns null if there aren't any.

Note: Java doesn't appear able to extract international characters from the SubjectAlts. It can only extract international characters from the CN field.

(Or maybe the version of OpenSSL I'm using to test isn't storing the international characters correctly in the SubjectAlts?).

[Android Documentation]

Requirements

Namespace: Org.Apache.Http.Conn.Ssl
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1