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 SSLHostnameVerifier.Certificates()
public static String[] getCNs(X509Certificate cert)
public static String[] getDNSSubjectAlts(X509Certificate cert)
cert
- X509CertificateCopyright © 2017 Apache Software Foundation. All Rights Reserved.