Package org.springframework.boot.ssl.jks
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 org.springframework.boot.ssl.SslStoreBundle
NONE
-
Constructor Summary
ConstructorDescriptionJksSslStoreBundle
(JksSslStoreDetails keyStoreDetails, JksSslStoreDetails trustStoreDetails) Create a newJksSslStoreBundle
instance. -
Method Summary
Modifier and TypeMethodDescriptionReturn a key store generated from the trust material ornull
.Return the password for the key in the key store ornull
.Return a trust store generated from the trust material ornull
.toString()
-
Constructor Details
-
JksSslStoreBundle
Create a newJksSslStoreBundle
instance.- Parameters:
keyStoreDetails
- the key store detailstrustStoreDetails
- the trust store details
-
-
Method Details
-
getKeyStore
Description copied from interface:SslStoreBundle
Return a key store generated from the trust material ornull
.- Specified by:
getKeyStore
in interfaceSslStoreBundle
- Returns:
- the key store
-
getKeyStorePassword
Description copied from interface:SslStoreBundle
Return the password for the key in the key store ornull
.- Specified by:
getKeyStorePassword
in interfaceSslStoreBundle
- Returns:
- the key password
-
getTrustStore
Description copied from interface:SslStoreBundle
Return a trust store generated from the trust material ornull
.- Specified by:
getTrustStore
in interfaceSslStoreBundle
- Returns:
- the trust store
-
toString
-