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
FieldsModifier and TypeFieldDescriptionstatic final AllServerTrustedX509TrustManagerstatic final TrustManager[]This single element array contains theINSTANCE. -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] p_certs, String p_strAuthType) This method does neither check the given certificate chain nor it does throw ajava.security.cert.CertificateException.voidcheckServerTrusted(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:
getAcceptedIssuersin 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:
checkClientTrustedin interfaceX509TrustManager
-
checkServerTrusted
This method does neither check the given certificate chain nor it does throw ajava.security.cert.CertificateException.- Specified by:
checkServerTrustedin interfaceX509TrustManager
-