NoopHostnameVerifier@Deprecated @Immutable public class AllowAllHostnameVerifier extends AbstractVerifier
| Modifier and Type | Field and Description |
|---|---|
static AllowAllHostnameVerifier |
INSTANCE
Deprecated.
|
BAD_COUNTRY_2LDS| Constructor and Description |
|---|
AllowAllHostnameVerifier()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Deprecated.
|
void |
verify(java.lang.String host,
java.lang.String[] cns,
java.lang.String[] subjectAlts)
Deprecated.
Checks to see if the supplied hostname matches any of the supplied CNs
or "DNS" Subject-Alts.
|
acceptableCountryWildcard, countDots, getCNs, getDNSSubjectAlts, verify, verify, verify, verifypublic static final AllowAllHostnameVerifier INSTANCE
public final void verify(java.lang.String host,
java.lang.String[] cns,
java.lang.String[] subjectAlts)
X509HostnameVerifierhost - The hostname to verify.cns - CN fields, in order, as extracted from the X.509
certificate.subjectAlts - Subject-Alt fields of type 2 ("DNS"), as extracted
from the X.509 certificate.public final java.lang.String toString()
toString in class java.lang.Object