public class DummySSLTrustManager
extends java.lang.Object
implements javax.net.ssl.X509TrustManager
| Constructor and Description |
|---|
DummySSLTrustManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkClientTrusted(java.security.cert.X509Certificate[] arg0,
java.lang.String arg1)
This method accepts all certificates
|
void |
checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
This method accepts all certificates
|
java.security.cert.X509Certificate[] |
getAcceptedIssuers()
This method accepts all certificates
|
public void checkClientTrusted(java.security.cert.X509Certificate[] arg0,
java.lang.String arg1)
throws java.security.cert.CertificateException
checkClientTrusted in interface javax.net.ssl.X509TrustManagerjava.security.cert.CertificateExceptionX509TrustManager.checkClientTrusted(java.security.cert.X509Certificate[], java.lang.String)public void checkServerTrusted(java.security.cert.X509Certificate[] chain,
java.lang.String authType)
throws java.security.cert.CertificateException
checkServerTrusted in interface javax.net.ssl.X509TrustManagerchain - a list of certificates forming an certificate chain - these are the certs being checked.authType - the type of authentication being used; usually 'RSA' I believe...java.security.cert.CertificateException - if the certificate is not valid.X509TrustManager.checkServerTrusted(java.security.cert.X509Certificate[], java.lang.String)public java.security.cert.X509Certificate[] getAcceptedIssuers()
getAcceptedIssuers in interface javax.net.ssl.X509TrustManagerX509TrustManager.getAcceptedIssuers()Copyright © 2018 SAP SE. All Rights Reserved.