Class PemSslStoreBundle

java.lang.Object
org.springframework.boot.ssl.pem.PemSslStoreBundle
All Implemented Interfaces:
SslStoreBundle

public class PemSslStoreBundle extends Object implements SslStoreBundle
SslStoreBundle backed by PEM-encoded certificates and private keys.
Since:
3.1.0
Author:
Scott Frederick, Phillip Webb, Moritz Halbritter
  • Constructor Details

    • PemSslStoreBundle

      public PemSslStoreBundle(PemSslStoreDetails keyStoreDetails, PemSslStoreDetails trustStoreDetails)
      Create a new PemSslStoreBundle instance.
      Parameters:
      keyStoreDetails - the key store details
      trustStoreDetails - the trust store details
    • PemSslStoreBundle

      @Deprecated(since="3.2.0", forRemoval=true) public PemSslStoreBundle(PemSslStoreDetails keyStoreDetails, PemSslStoreDetails trustStoreDetails, String alias)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 3.2.0 for removal in 3.4.0 in favor of PemSslStoreDetails.alias() in the keyStoreDetails and trustStoreDetails
      Create a new PemSslStoreBundle instance.
      Parameters:
      keyStoreDetails - the key store details
      trustStoreDetails - the trust store details
      alias - the alias to use or null to use a default alias
    • PemSslStoreBundle

      public PemSslStoreBundle(PemSslStore pemKeyStore, PemSslStore pemTrustStore)
      Create a new PemSslStoreBundle instance.
      Parameters:
      pemKeyStore - the PEM key store
      pemTrustStore - the PEM trust store
      Since:
      3.2.0
  • Method Details