Class JksSslStoreBundle
java.lang.Object
org.springframework.boot.ssl.jks.JksSslStoreBundle
- All Implemented Interfaces:
SslStoreBundle
SslStoreBundle backed by a Java keystore.- Since:
- 3.1.0
- Author:
- Scott Frederick, Phillip Webb, Moritz Halbritter
-
Field Summary
Fields inherited from interface SslStoreBundle
NONE -
Constructor Summary
ConstructorsConstructorDescriptionJksSslStoreBundle(@Nullable JksSslStoreDetails keyStoreDetails, @Nullable JksSslStoreDetails trustStoreDetails) Create a newJksSslStoreBundleinstance.JksSslStoreBundle(@Nullable JksSslStoreDetails keyStoreDetails, @Nullable JksSslStoreDetails trustStoreDetails, ResourceLoader resourceLoader) Create a newJksSslStoreBundleinstance. -
Method Summary
-
Constructor Details
-
JksSslStoreBundle
public JksSslStoreBundle(@Nullable JksSslStoreDetails keyStoreDetails, @Nullable JksSslStoreDetails trustStoreDetails) Create a newJksSslStoreBundleinstance.- Parameters:
keyStoreDetails- the key store detailstrustStoreDetails- the trust store details
-
JksSslStoreBundle
public JksSslStoreBundle(@Nullable JksSslStoreDetails keyStoreDetails, @Nullable JksSslStoreDetails trustStoreDetails, ResourceLoader resourceLoader) Create a newJksSslStoreBundleinstance.- Parameters:
keyStoreDetails- the key store detailstrustStoreDetails- the trust store detailsresourceLoader- the resource loader used to load content- Since:
- 3.3.5
-
-
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
-