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
-
getKeyStorePassword
-
getTrustStore
-
of
static SslStoreBundle of(@Nullable KeyStore keyStore, @Nullable String keyStorePassword, @Nullable KeyStore trustStore) 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
-