Interface TruststoreProvider

All Superinterfaces:
org.keycloak.provider.Provider

public interface TruststoreProvider extends org.keycloak.provider.Provider
Author:
Marko Strukelj
  • Method Details

    • getPolicy

      org.keycloak.common.enums.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()