Package com.mapr.web.security
Interface SslConfig
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
XmlSslConfig
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Clears all internal state including cached passwords/keys/etc.char[]char[]char[]char[]char[]char[]default boolean
-
Field Details
-
JDK_JSEE_PROVIDER
Identifier for the JDK SSL Provider- See Also:
-
ALGO_PKIX
- See Also:
-
ALGO_SUN_X509
- See Also:
-
-
Method Details
-
isFipsEnabled
default boolean isFipsEnabled()- Returns:
trueif FIPS is enabled on the current node.
-
getServerTruststoreLocation
String getServerTruststoreLocation()- Returns:
- the
Filepath of Server SSL trust store.
-
getServerTruststorePassword
char[] getServerTruststorePassword()- Returns:
- the password of Server SSL trust store or
nullif no password is configured.
-
getServerTruststoreType
String getServerTruststoreType()- Returns:
- the type of Server SSL trust store, e.g. JKS, PKCS12, etc
-
getServerTruststoreFileType
KeystoreFileType getServerTruststoreFileType()- Returns:
- the file type of Server SSL trust store, e.g. JKS, PKCS12, etc
-
getServerKeystoreLocation
String getServerKeystoreLocation()- Returns:
- the
Filepath of Server SSL key store.
-
getServerKeystorePassword
char[] getServerKeystorePassword()- Returns:
- the password of Server SSL key store or
nullif no password is configured.
-
getServerKeyPassword
char[] getServerKeyPassword()- Returns:
- the password of Server's SSL private key or
nullif no password is configured.
-
getServerKeystoreType
String getServerKeystoreType()- Returns:
- the type of Server SSL key store, e.g. JKS, PKCS12, etc
-
getServerKeystoreFileType
KeystoreFileType getServerKeystoreFileType()- Returns:
- the file type of Server SSL key store, e.g. JKS, PKCS12, etc
-
getClientTruststoreLocation
String getClientTruststoreLocation()- Returns:
- the
Filepath of Client SSL trust store.
-
getClientTruststorePassword
char[] getClientTruststorePassword()- Returns:
- the password of Client SSL trust store or
nullif no password is configured.
-
getClientTruststoreType
String getClientTruststoreType()- Returns:
- the type of Client SSL trust store, e.g. JKS, PKCS12, etc
-
getClientTruststoreFileType
KeystoreFileType getClientTruststoreFileType()- Returns:
- the file type of Client SSL trust store, e.g. JKS, PKCS12, etc
-
getClientKeystoreLocation
String getClientKeystoreLocation()- Returns:
- the
Filepath of Client SSL key store.
-
getClientKeystorePassword
char[] getClientKeystorePassword()- Returns:
- the password of Client SSL key store or
nullif no password is configured.
-
getClientKeyPassword
char[] getClientKeyPassword()- Returns:
- the password of Client's SSL key or
nullif no password is configured.
-
getClientKeystoreType
String getClientKeystoreType()- Returns:
- the type of Client SSL key store, e.g. JKS, PKCS12, etc
-
getClientKeystoreFileType
KeystoreFileType getClientKeystoreFileType()- Returns:
- the file type of Client SSL key store, e.g. JKS, PKCS12, etc
-
close
void close()Clears all internal state including cached passwords/keys/etc.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-