Package org.keycloak.truststore
Class FileTruststoreProvider
- java.lang.Object
-
- org.keycloak.truststore.FileTruststoreProvider
-
- All Implemented Interfaces:
Provider,TruststoreProvider
public class FileTruststoreProvider extends Object implements TruststoreProvider
- Author:
- Marko Strukelj
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Map<X500Principal,X509Certificate>getIntermediateCertificates()HostnameVerificationPolicygetPolicy()Map<X500Principal,X509Certificate>getRootCertificates()SSLSocketFactorygetSSLSocketFactory()KeyStoregetTruststore()
-
-
-
Method Detail
-
getPolicy
public HostnameVerificationPolicy getPolicy()
- Specified by:
getPolicyin interfaceTruststoreProvider
-
getSSLSocketFactory
public SSLSocketFactory getSSLSocketFactory()
- Specified by:
getSSLSocketFactoryin interfaceTruststoreProvider
-
getTruststore
public KeyStore getTruststore()
- Specified by:
getTruststorein interfaceTruststoreProvider
-
getRootCertificates
public Map<X500Principal,X509Certificate> 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
public Map<X500Principal,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
-
-