Interface TruststoreProvider

All Superinterfaces:
Provider
All Known Implementing Classes:
FileTruststoreProvider

public interface TruststoreProvider extends Provider
Author:
Marko Strukelj
  • Method Details

    • 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