Package spark.ssl
Class SslStores
java.lang.Object
spark.ssl.SslStores
SSL Stores
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SslStores
create
(String keystoreFile, String keystorePassword, String truststoreFile, String truststorePassword) Creates a Stores instance.static SslStores
create
(String keystoreFile, String keystorePassword, String truststoreFile, String truststorePassword, boolean needsClientCert) static SslStores
create
(String keystoreFile, String keystorePassword, String certAlias, String truststoreFile, String truststorePassword) static SslStores
create
(String keystoreFile, String keystorePassword, String certAlias, String truststoreFile, String truststorePassword, boolean needsClientCert) boolean
-
Field Details
-
keystoreFile
-
keystorePassword
-
certAlias
-
truststoreFile
-
truststorePassword
-
needsClientCert
protected boolean needsClientCert
-
-
Constructor Details
-
SslStores
-
-
Method Details
-
create
public static SslStores create(String keystoreFile, String keystorePassword, String truststoreFile, String truststorePassword) Creates a Stores instance.- Parameters:
keystoreFile
- the keystoreFilekeystorePassword
- the keystorePasswordtruststoreFile
- the truststoreFiletruststorePassword
- the truststorePassword- Returns:
- the SslStores instance.
-
create
-
create
-
create
-
keystoreFile
- Returns:
- keystoreFile
-
keystorePassword
- Returns:
- keystorePassword
-
certAlias
- Returns:
- certAlias
-
trustStoreFile
- Returns:
- trustStoreFile
-
trustStorePassword
- Returns:
- trustStorePassword
-
needsClientCert
public boolean needsClientCert()- Returns:
- needsClientCert
-