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
  • 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

      public PemSslStoreBundle(PemSslStoreDetails keyStoreDetails, PemSslStoreDetails trustStoreDetails, String keyAlias)
      Create a new PemSslStoreBundle instance.
      Parameters:
      keyStoreDetails - the key store details
      trustStoreDetails - the trust store details
      keyAlias - the key alias to use or null to use a default alias
    • PemSslStoreBundle

      public PemSslStoreBundle(PemSslStoreDetails keyStoreDetails, PemSslStoreDetails trustStoreDetails, String keyAlias, String keyPassword)
      Create a new PemSslStoreBundle instance.
      Parameters:
      keyStoreDetails - the key store details
      trustStoreDetails - the trust store details
      keyAlias - the key alias to use or null to use a default alias
      keyPassword - the password to use for the key
  • Method Details