Class ReloadableX509TrustManager
java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
org.apache.storm.security.auth.tls.ReloadableX509TrustManager
- All Implemented Interfaces:
- TrustManager,- X509TrustManager
- 
Constructor SummaryConstructorsConstructorDescriptionReloadableX509TrustManager(String trustStorePath, String trustStorePassword) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidcheckClientTrusted(X509Certificate[] chain, String authType) voidcheckClientTrusted(X509Certificate[] x509Certificates, String s, Socket socket) voidcheckClientTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) voidcheckServerTrusted(X509Certificate[] chain, String authType) voidcheckServerTrusted(X509Certificate[] x509Certificates, String s, Socket socket) voidcheckServerTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) createTrustManager(String trustStorePath, String keystorePassword) 
- 
Constructor Details
- 
Method Details- 
checkClientTrustedpublic void checkClientTrusted(X509Certificate[] chain, String authType) throws CertificateException - Throws:
- CertificateException
 
- 
checkClientTrustedpublic void checkClientTrusted(X509Certificate[] x509Certificates, String s, Socket socket) throws CertificateException - Specified by:
- checkClientTrustedin class- X509ExtendedTrustManager
- Throws:
- CertificateException
 
- 
checkClientTrustedpublic void checkClientTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) throws CertificateException - Specified by:
- checkClientTrustedin class- X509ExtendedTrustManager
- Throws:
- CertificateException
 
- 
checkServerTrustedpublic void checkServerTrusted(X509Certificate[] chain, String authType) throws CertificateException - Throws:
- CertificateException
 
- 
checkServerTrustedpublic void checkServerTrusted(X509Certificate[] x509Certificates, String s, Socket socket) throws CertificateException - Specified by:
- checkServerTrustedin class- X509ExtendedTrustManager
- Throws:
- CertificateException
 
- 
checkServerTrustedpublic void checkServerTrusted(X509Certificate[] x509Certificates, String s, SSLEngine sslEngine) throws CertificateException - Specified by:
- checkServerTrustedin class- X509ExtendedTrustManager
- Throws:
- CertificateException
 
- 
getAcceptedIssuers
- 
createTrustManagerpublic X509ExtendedTrustManager createTrustManager(String trustStorePath, String keystorePassword) throws Exception - Throws:
- Exception
 
 
-