Platform SDK Java 8.5 API Reference

com.genesyslab.platform.commons.connection.tls
Class HostnameChecker

java.lang.Object
  extended by com.genesyslab.platform.commons.connection.tls.HostnameChecker

Deprecated.

@Deprecated
public class HostnameChecker
extends java.lang.Object

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

HostnameChecker

public HostnameChecker()
Deprecated. 
Method Detail

match

public static void match(java.lang.String expectedName,
                         java.security.cert.X509Certificate cert)
                  throws java.security.cert.CertificateException
Deprecated. 
Perform the check.

Throws:
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

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.