Package org.keycloak.truststore
Interface TruststoreProvider
- All Superinterfaces:
Provider
- All Known Implementing Classes:
FileTruststoreProvider
- Author:
- Marko Strukelj
-
Method Summary
Modifier and TypeMethodDescriptionReturns the truststore used for mTLS
-
Method Details
-
getPolicy
HostnameVerificationPolicy getPolicy() -
getSSLSocketFactory
SSLSocketFactory getSSLSocketFactory() -
getTruststore
KeyStore getTruststore() -
getRootCertificates
Map<X500Principal,List<X509Certificate>> getRootCertificates()- Returns:
- root certificates from the configured truststore as a map where the key is the X500Principal of the corresponding X509Certificate
-
getIntermediateCertificates
Map<X500Principal,List<X509Certificate>> getIntermediateCertificates()- Returns:
- intermediate certificates from the configured truststore as a map where the key is the X500Principal of the corresponding X509Certificate
-
getHttpsTruststore
KeyStore getHttpsTruststore()Returns the truststore used for mTLS- Returns:
- The mTLS truststore
-
getHttpsRootCertificates
Map<X500Principal,List<X509Certificate>> getHttpsRootCertificates() -
getHttpsIntermediateCertificates
Map<X500Principal,List<X509Certificate>> getHttpsIntermediateCertificates()
-