Package ghidra.net

Class SSLContextInitializer.HttpsHostnameVerifier

  • All Implemented Interfaces:
    javax.net.ssl.HostnameVerifier
    Enclosing class:
    SSLContextInitializer

    public static class SSLContextInitializer.HttpsHostnameVerifier
    extends java.lang.Object
    implements javax.net.ssl.HostnameVerifier
    HttpsHostnameVerifier is required by HttpsURLConnection even if it does nothing. The verify method will only be invoked if the default behavior fails the connection attempt due to a hostname mismatch.
    See Also:
    HttpsURLConnection.setHostnameVerifier(HostnameVerifier)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean verify​(java.lang.String hostname, javax.net.ssl.SSLSession session)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • HttpsHostnameVerifier

        public HttpsHostnameVerifier()
    • Method Detail

      • verify

        public boolean verify​(java.lang.String hostname,
                              javax.net.ssl.SSLSession session)
        Specified by:
        verify in interface javax.net.ssl.HostnameVerifier