|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.genesyslab.platform.commons.connection.tls.HostnameChecker
@Deprecated public class HostnameChecker
Class used to match expected hostname against hostname or IP addresses specified in X509Certificate instance.
Constructor Summary | |
---|---|
HostnameChecker()
Deprecated. |
Method Summary | |
---|---|
static void |
match(java.lang.String expectedName,
java.security.cert.X509Certificate cert)
Deprecated. Perform the check. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HostnameChecker()
Method Detail |
---|
public static void match(java.lang.String expectedName, java.security.cert.X509Certificate cert) throws java.security.cert.CertificateException
java.security.cert.CertificateException
- if the name does not match any of
the names specified in the certificate
|
Platform SDK Java 8.5 API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |