public final class OkHostnameVerifier extends Object implements HostnameVerifier
Modifier and Type | Field and Description |
---|---|
static OkHostnameVerifier |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
static List<String> |
allSubjectAltNames(X509Certificate certificate) |
boolean |
verify(String host,
SSLSession session) |
boolean |
verify(String host,
X509Certificate certificate) |
public static final OkHostnameVerifier INSTANCE
public boolean verify(String host, SSLSession session)
verify
in interface HostnameVerifier
public boolean verify(String host, X509Certificate certificate)
public static List<String> allSubjectAltNames(X509Certificate certificate)
Copyright © 2017. All Rights Reserved.