public static class SSLHostnameVerifier.Certificates extends Object
| Constructor and Description |
|---|
SSLHostnameVerifier.Certificates() |
| Modifier and Type | Method and Description |
|---|---|
static String[] |
getCNs(X509Certificate cert) |
static String[] |
getDNSSubjectAlts(X509Certificate cert)
Extracts the array of SubjectAlt DNS names from an X509Certificate.
|
public static String[] getCNs(X509Certificate cert)
public static String[] getDNSSubjectAlts(X509Certificate cert)
cert - X509CertificateCopyright © 2019 Apache Software Foundation. All Rights Reserved.