Class HostNameVerifier
- java.lang.Object
-
- com.impossibl.postgres.protocol.v30.HostNameVerifier
-
public class HostNameVerifier extends Object
-
-
Constructor Summary
Constructors Constructor Description HostNameVerifier()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
matchHostName(String hostName, String patternName)
static void
verifyHostName(String hostName, X509Certificate serverCertificate)
static void
verifyHostName(String hostName, SSLSession sslSession)
-
-
-
Method Detail
-
verifyHostName
public static void verifyHostName(String hostName, SSLSession sslSession) throws SSLPeerUnverifiedException
- Throws:
SSLPeerUnverifiedException
-
verifyHostName
public static void verifyHostName(String hostName, X509Certificate serverCertificate) throws SSLPeerUnverifiedException
- Throws:
SSLPeerUnverifiedException
-
-