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
Fields Modifier and Type Field Description static AllServerTrustedX509TrustManagerINSTANCEstatic TrustManager[]INSTANCE_ARRAYThis single element array contains theINSTANCE.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckClientTrusted(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.X509Certificate[]getAcceptedIssuers()This method returns an empty array.
-
-
-
Field Detail
-
INSTANCE
public static final AllServerTrustedX509TrustManager INSTANCE
-
INSTANCE_ARRAY
public static final TrustManager[] INSTANCE_ARRAY
This single element array contains theINSTANCE.
-
-
Method Detail
-
getAcceptedIssuers
public X509Certificate[] getAcceptedIssuers()
This method returns an empty array.- Specified by:
getAcceptedIssuersin interfaceX509TrustManager- Returns:
- An empty array.
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] p_certs, String p_strAuthType)
This method does neither check the given certificate chain nor it does throw ajava.security.cert.CertificateException.- Specified by:
checkClientTrustedin interfaceX509TrustManager
-
checkServerTrusted
public 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.- Specified by:
checkServerTrustedin interfaceX509TrustManager
-
-