Class EasyX509TrustManager
java.lang.Object
com.day.cq.analytics.sitecatalyst.util.EasyX509TrustManager
- All Implemented Interfaces:
TrustManager,X509TrustManager
Deprecated.
As of 6.3.0.3 (Package Version 5.7.0), with no replacement.
EasyX509TrustManager unlike default X509TrustManager accepts
self-signed certificates.
This trust manager SHOULD NOT be used for productive systems due to security reasons, unless it is a concious decision and you are perfectly aware of security implications of accepting self-signed certificates
-
Constructor Summary
ConstructorsConstructorDescriptionEasyX509TrustManager(KeyStore keystore, boolean allowExpired) Deprecated.Constructor for EasyX509TrustManager. -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] certificates, String authType) Deprecated.voidcheckServerTrusted(X509Certificate[] certificates, String authType) Deprecated.Deprecated.
-
Constructor Details
-
EasyX509TrustManager
public EasyX509TrustManager(KeyStore keystore, boolean allowExpired) throws NoSuchAlgorithmException, KeyStoreException Deprecated.Constructor for EasyX509TrustManager.- Parameters:
keystore- keystoreallowExpired- flag if expired should be allowed- Throws:
NoSuchAlgorithmException- migth be thrownKeyStoreException- migth be thrown
-
-
Method Details
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] certificates, String authType) throws CertificateException Deprecated.- Specified by:
checkClientTrustedin interfaceX509TrustManager- Throws:
CertificateException- See Also:
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] certificates, String authType) throws CertificateException Deprecated.- Specified by:
checkServerTrustedin interfaceX509TrustManager- Throws:
CertificateException- See Also:
-
getAcceptedIssuers
Deprecated.- Specified by:
getAcceptedIssuersin interfaceX509TrustManager- See Also:
-