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

      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
      Since:
      3.2.0
    • PemSslStoreBundle

      public PemSslStoreBundle(PemSslStoreDetails keyStoreDetails, PemSslStoreDetails trustStoreDetails, String keyAlias, String keyPassword, boolean verifyKeys)
      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
      verifyKeys - whether to verify that the private key matches the public key
      Since:
      3.2.0
  • Method Details