Class PemSslStoreBundle
java.lang.Object
org.springframework.boot.ssl.pem.PemSslStoreBundle
- All Implemented Interfaces:
SslStoreBundle
SslStoreBundle backed by PEM-encoded certificates and private keys.- Since:
- 3.1.0
- Author:
- Scott Frederick, Phillip Webb, Moritz Halbritter
-
Field Summary
Fields inherited from interface SslStoreBundle
NONE -
Constructor Summary
ConstructorsConstructorDescriptionPemSslStoreBundle(@Nullable PemSslStoreDetails keyStoreDetails, @Nullable PemSslStoreDetails trustStoreDetails) Create a newPemSslStoreBundleinstance.PemSslStoreBundle(@Nullable PemSslStore pemKeyStore, @Nullable PemSslStore pemTrustStore) Create a newPemSslStoreBundleinstance. -
Method Summary
-
Constructor Details
-
PemSslStoreBundle
public PemSslStoreBundle(@Nullable PemSslStoreDetails keyStoreDetails, @Nullable PemSslStoreDetails trustStoreDetails) Create a newPemSslStoreBundleinstance.- Parameters:
keyStoreDetails- the key store detailstrustStoreDetails- the trust store details
-
PemSslStoreBundle
Create a newPemSslStoreBundleinstance.- Parameters:
pemKeyStore- the PEM key storepemTrustStore- the PEM trust store- Since:
- 3.2.0
-
-
Method Details
-
getKeyStore
Description copied from interface:SslStoreBundleReturn a key store generated from the trust material ornull.- Specified by:
getKeyStorein interfaceSslStoreBundle- Returns:
- the key store
-
getKeyStorePassword
Description copied from interface:SslStoreBundleReturn the password for the key in the key store ornull.- Specified by:
getKeyStorePasswordin interfaceSslStoreBundle- Returns:
- the key password
-
getTrustStore
Description copied from interface:SslStoreBundleReturn a trust store generated from the trust material ornull.- Specified by:
getTrustStorein interfaceSslStoreBundle- Returns:
- the trust store
-
toString
-