public static class HostnameVerifier.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 © 2005-2017 Apache Software Foundation. All Rights Reserved.