AbstractVerifier.GetDNSSubjectAlts(X509Certificate) Method

Definition

Caution

deprecated

Extracts the array of SubjectAlt DNS names from an X509Certificate.

[Android.Runtime.Register("getDNSSubjectAlts", "(Ljava/security/cert/X509Certificate;)[Ljava/lang/String;", "")]
[System.Obsolete("deprecated")]
public static string[]? GetDNSSubjectAlts (Java.Security.Cert.X509Certificate? cert);
[<Android.Runtime.Register("getDNSSubjectAlts", "(Ljava/security/cert/X509Certificate;)[Ljava/lang/String;", "")>]
[<System.Obsolete("deprecated")>]
static member GetDNSSubjectAlts : Java.Security.Cert.X509Certificate -> string[]

Parameters

cert
X509Certificate

X509Certificate

Returns

String[]

Array of SubjectALT DNS names stored in the certificate.

Attributes

Remarks

Java documentation for org.apache.http.conn.ssl.AbstractVerifier.getDNSSubjectAlts(java.security.cert.X509Certificate).

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