Interface CertificateHostnameVerifier

    • 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