Package ghidra.net

# Class SSLContextInitializer.HttpsHostnameVerifier

java.lang.Object
ghidra.net.SSLContextInitializer.HttpsHostnameVerifier

All Implemented Interfaces:
  `HostnameVerifier`

Enclosing class:
  SSLContextInitializer

public static class SSLContextInitializer.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`