Class TrustProvider

java.lang.Object
de.gematik.bbriccs.konnektor.TrustProvider

public class TrustProvider extends Object
  • Method Details

    • from

      public static TrustProvider from(de.gematik.bbriccs.cfg.dto.TLSConfiguration cfg)
    • from

      public static TrustProvider from(String ksf, String ksp, String tsf, String tsp)
      Creates a TrustStore with given parameters
      Parameters:
      ksf - is the filename which contains the KeyStore
      ksp - is the corresponding password for the KeyStore
      tsf - is the filename which contains the TrustStore
      tsp - is the corresponding password for the TrustStore
      Returns:
      a TrustStore object
    • getSocketFactory

      public SSLSocketFactory getSocketFactory()