Class TremoloTrustManager
java.lang.Object
com.tremolosecurity.proxy.ssl.TremoloTrustManager
- All Implemented Interfaces:
TrustManager
,X509TrustManager
-
Constructor Summary
ConstructorDescriptionTremoloTrustManager
(ConfigManager cfgMgr) TremoloTrustManager
(KeyStore ks, HashSet<String> issuers) TremoloTrustManager
(HashSet<String> issuers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkClientTrusted
(X509Certificate[] chain, String authType) void
checkServerTrusted
(X509Certificate[] chain, String authType)
-
Constructor Details
-
TremoloTrustManager
public TremoloTrustManager() throws NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException -
TremoloTrustManager
public TremoloTrustManager(HashSet<String> issuers) throws NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException -
TremoloTrustManager
public TremoloTrustManager(KeyStore ks) throws NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException -
TremoloTrustManager
public TremoloTrustManager(KeyStore ks, HashSet<String> issuers) throws NoSuchAlgorithmException, UnrecoverableKeyException, KeyStoreException -
TremoloTrustManager
-
-
Method Details
-
checkClientTrusted
public void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkClientTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
checkServerTrusted
public void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException - Specified by:
checkServerTrusted
in interfaceX509TrustManager
- Throws:
CertificateException
-
getAcceptedIssuers
- Specified by:
getAcceptedIssuers
in interfaceX509TrustManager
-