public class CustomTrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
Constructor and Description |
---|
CustomTrustManager(javax.net.ssl.X509TrustManager tm)
CustomTrustManager |
Modifier and Type | Method and Description |
---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] arg0,
java.lang.String arg1)
Does nothing - No provision for trust management with SwKBT.
|
void |
checkServerTrusted(java.security.cert.X509Certificate[] arg0,
java.lang.String arg1)
Does nothing - No provision for trust management with SwKBT.
|
java.security.cert.X509Certificate[] |
getAcceptedIssuers()
Calls X509TrustManager getAcceptedIssuers only.
|
public CustomTrustManager(javax.net.ssl.X509TrustManager tm)
CustomTrustManager
public void checkClientTrusted(java.security.cert.X509Certificate[] arg0, java.lang.String arg1) throws java.security.cert.CertificateException
checkClientTrusted
in interface javax.net.ssl.X509TrustManager
java.security.cert.CertificateException
X509TrustManager.checkClientTrusted(java.security.cert.X509Certificate[],
java.lang.String)
public void checkServerTrusted(java.security.cert.X509Certificate[] arg0, java.lang.String arg1) throws java.security.cert.CertificateException
checkServerTrusted
in interface javax.net.ssl.X509TrustManager
java.security.cert.CertificateException
X509TrustManager.checkServerTrusted(java.security.cert.X509Certificate[],
java.lang.String)
public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers
in interface javax.net.ssl.X509TrustManager
X509TrustManager.getAcceptedIssuers()