Package de.uplanet.net.ssl
Class AllServerTrustedX509TrustManager
java.lang.Object
de.uplanet.net.ssl.AllServerTrustedX509TrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
@Scriptable
public final class AllServerTrustedX509TrustManager
extends Object
implements X509TrustManager
This trust manager trusts all certificates.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AllServerTrustedX509TrustManager
static final TrustManager[]
This single element array contains theINSTANCE
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] p_certs, String p_strAuthType) This method does neither check the given certificate chain nor it does throw ajava.security.cert.CertificateException
.void
checkServerTrusted
(X509Certificate[] p_certs, String p_strAuthType) This method does neither check the given certificate chain nor it does throw ajava.security.cert.CertificateException
.This method returns an empty array.
-
Field Details
-
INSTANCE
-
INSTANCE_ARRAY
This single element array contains theINSTANCE
.
-
-
Method Details
-
getAcceptedIssuers
This method returns an empty array.- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
- Returns:
- An empty array.
-
checkClientTrusted
This method does neither check the given certificate chain nor it does throw ajava.security.cert.CertificateException
.- Specified by:
checkClientTrusted
in interfaceX509TrustManager
-
checkServerTrusted
This method does neither check the given certificate chain nor it does throw ajava.security.cert.CertificateException
.- Specified by:
checkServerTrusted
in interfaceX509TrustManager
-