Package org.springframework.boot.ssl
Interface SslStoreBundle
- All Known Implementing Classes:
 JksSslStoreBundle,PemSslStoreBundle
public interface SslStoreBundle
A bundle of key and trust stores that can be used to establish an SSL connection.
- Since:
 - 3.1.0
 - Author:
 - Scott Frederick
 - See Also:
 
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SslStoreBundleSslStoreBundlethat returnsnullfor each method. - 
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.static SslStoreBundleFactory method to create a newSslStoreBundleinstance. 
- 
Field Details
- 
NONE
SslStoreBundlethat returnsnullfor each method. 
 - 
 - 
Method Details
- 
getKeyStore
KeyStore getKeyStore()Return a key store generated from the trust material ornull.- Returns:
 - the key store
 
 - 
getKeyStorePassword
String getKeyStorePassword()Return the password for the key in the key store ornull.- Returns:
 - the key password
 
 - 
getTrustStore
KeyStore getTrustStore()Return a trust store generated from the trust material ornull.- Returns:
 - the trust store
 
 - 
of
Factory method to create a newSslStoreBundleinstance.- Parameters:
 keyStore- the key store ornullkeyStorePassword- the key store password ornulltrustStore- the trust store ornull- Returns:
 - a new 
SslStoreBundleinstance 
 
 -