Package org.keycloak.truststore
Class FileTruststoreProvider
java.lang.Object
org.keycloak.truststore.FileTruststoreProvider
- All Implemented Interfaces:
 Provider,TruststoreProvider
- Author:
 - Marko Strukelj
 
- 
Constructor Summary
ConstructorsConstructorDescriptionFileTruststoreProvider(KeyStore truststore, HostnameVerificationPolicy policy, Map<X500Principal, List<X509Certificate>> rootCertificates, Map<X500Principal, List<X509Certificate>> intermediateCertificates)  - 
Method Summary
 
- 
Constructor Details
- 
FileTruststoreProvider
public FileTruststoreProvider(KeyStore truststore, HostnameVerificationPolicy policy, Map<X500Principal, List<X509Certificate>> rootCertificates, Map<X500Principal, List<X509Certificate>> intermediateCertificates)  
 - 
 - 
Method Details
- 
getPolicy
- Specified by:
 getPolicyin interfaceTruststoreProvider
 - 
getSSLSocketFactory
- Specified by:
 getSSLSocketFactoryin interfaceTruststoreProvider
 - 
getTruststore
- Specified by:
 getTruststorein interfaceTruststoreProvider
 - 
getRootCertificates
- Specified by:
 getRootCertificatesin interfaceTruststoreProvider- Returns:
 - root certificates from the configured truststore as a map where the key is the X500Principal of the corresponding X509Certificate
 
 - 
getIntermediateCertificates
- Specified by:
 getIntermediateCertificatesin interfaceTruststoreProvider- Returns:
 - intermediate certificates from the configured truststore as a map where the key is the X500Principal of the corresponding X509Certificate
 
 - 
close
public void close() 
 -