public class LoggingTrustManager extends Object implements X509TrustManager, HostnameVerifier
Constructor and Description |
---|
LoggingTrustManager() |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(X509Certificate[] certs,
String authType) |
void |
checkServerTrusted(X509Certificate[] certs,
String authType) |
static void |
disable() |
X509Certificate[] |
getAcceptedIssuers() |
StringBuffer |
getBuffer() |
boolean |
verify(String hostname,
SSLSession session) |
public X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface X509TrustManager
public void checkClientTrusted(X509Certificate[] certs, String authType)
checkClientTrusted
in interface X509TrustManager
public void checkServerTrusted(X509Certificate[] certs, String authType)
checkServerTrusted
in interface X509TrustManager
public boolean verify(String hostname, SSLSession session)
verify
in interface HostnameVerifier
public static void disable()
public StringBuffer getBuffer()
Copyright © 2017. All rights reserved.