org.ldaptive.ssl
Interface CertificateHostnameVerifier

All Known Implementing Classes:
AllowAnyHostnameVerifier, DefaultHostnameVerifier

public interface CertificateHostnameVerifier

Interface for verifying a hostname matching a certificate.

Version:
$Revision: 2885 $ $Date: 2014-02-05 16:28:49 -0500 (Wed, 05 Feb 2014) $
Author:
Middleware Services

Method Summary
 boolean verify(String hostname, X509Certificate cert)
          Verify the supplied hostname matches the supplied certificate.
 

Method Detail

verify

boolean verify(String hostname,
               X509Certificate cert)
Verify the supplied hostname matches the supplied certificate.

Parameters:
hostname - to verify
cert - to verify hostname against
Returns:
whether hostname is valid for the supplied certificate


Copyright © 2003-2017 Virginia Tech. All Rights Reserved.