public static class SSLHostnameVerifier.Certificates extends Object
| Constructor and Description |
|---|
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 © 2008–2022 Apache Software Foundation. All rights reserved.