Package ghidra.net

# Class DefaultSSLContextInitializer.HttpsHostnameVerifier

java.lang.Object
ghidra.net.DefaultSSLContextInitializer.HttpsHostnameVerifier

All Implemented Interfaces:
  `HostnameVerifier`

Enclosing class:
  `DefaultSSLContextInitializer`

public static class DefaultSSLContextInitializer.HttpsHostnameVerifier extends Object implements 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)`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `HttpsHostnameVerifier()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `verify(String hostname, SSLSession session)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### HttpsHostnameVerifier

    public HttpsHostnameVerifier()

- ## Method Details

  - ### verify

    public boolean verify(String hostname, SSLSession session)
    Specified by:
      `verify` in interface `HostnameVerifier`