org.keycloak.truststore

## Interface TruststoreProvider

- All Superinterfaces:
    Provider
  All Known Implementing Classes:
    FileTruststoreProvider

      public interface TruststoreProvider
      extends Provider

  Author:
    Marko Strukelj

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<X500Principal,X509Certificate>` | `getIntermediateCertificates()`
    `HostnameVerificationPolicy` | `getPolicy()`
    `Map<X500Principal,X509Certificate>` | `getRootCertificates()`
    `SSLSocketFactory` | `getSSLSocketFactory()`
    `KeyStore` | `getTruststore()`

    - ### Methods inherited from interface org.keycloak.provider.Provider

      `close`

- - ### Method Detail

    - #### getPolicy

          HostnameVerificationPolicy getPolicy()

    - #### getSSLSocketFactory

          SSLSocketFactory getSSLSocketFactory()

    - #### getTruststore

          KeyStore getTruststore()

    - #### getRootCertificates

          Map<X500Principal,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,X509Certificate> getIntermediateCertificates()

      Returns:
        intermediate certificates from the configured truststore as a map where the key is the X500Principal of the corresponding X509Certificate

Copyright © 2021 JBoss by Red Hat. All rights reserved.