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 SummaryFieldsModifier and TypeFieldDescriptionstatic final SslStoreBundleSslStoreBundlethat returnsnullfor each method.
- 
Method SummaryModifier and TypeMethodDescription@Nullable KeyStoreReturn a key store generated from the trust material ornull.@Nullable StringReturn the password for the key in the key store ornull.@Nullable KeyStoreReturn a trust store generated from the trust material ornull.static SslStoreBundleFactory method to create a newSslStoreBundleinstance.
- 
Field Details- 
NONESslStoreBundlethat returnsnullfor each method.
 
- 
- 
Method Details- 
getKeyStore@Nullable KeyStore getKeyStore()Return a key store generated from the trust material ornull.- Returns:
- the key store
 
- 
getKeyStorePassword@Nullable String getKeyStorePassword()Return the password for the key in the key store ornull.- Returns:
- the key password
 
- 
getTrustStore@Nullable KeyStore getTrustStore()Return a trust store generated from the trust material ornull.- Returns:
- the trust store
 
- 
ofstatic SslStoreBundle of(@Nullable KeyStore keyStore, @Nullable String keyStorePassword, @Nullable KeyStore trustStore) Factory method to create a newSslStoreBundleinstance.- Parameters:
- keyStore- the key store or- null
- keyStorePassword- the key store password or- null
- trustStore- the trust store or- null
- Returns:
- a new SslStoreBundleinstance
 
 
-