public final class HostnameVerifierUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static HostnameVerifier |
createBasic()
Creates a basic hostname verifier which validates the hostname against the peer host from the ssl session.
|
static HostnameVerifier |
createFenix()
Creates a fenix hostname verifier which validates the hostname against the SAN field of the peer certificate.
|
static HostnameVerifier |
createUnsafe()
Creates an unsafe hostname verifier which does not validate the hostname at all.
|
public static HostnameVerifier createBasic()
createFenix()public static HostnameVerifier createUnsafe()
public static HostnameVerifier createFenix()
Copyright © 2023. All rights reserved.