Package com.mapr.web.security
Class XmlSslConfig
java.lang.Object
com.mapr.web.security.XmlSslConfig
- All Implemented Interfaces:
SslConfig,Closeable,AutoCloseable
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.mapr.web.security.SslConfig
SslConfig.SslConfigScope -
Field Summary
Fields inherited from interface com.mapr.web.security.SslConfig
ALGO_PKIX, ALGO_SUN_X509, JDK_JSEE_PROVIDER -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Clears all internal state including cached passwords/keys/etc.char[]char[]char[]char[]char[]char[]Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.mapr.web.security.SslConfig
getClientKeystoreFileType, getClientTruststoreFileType, getServerKeystoreFileType, getServerTruststoreFileType, isFipsEnabled
-
Method Details
-
getServerTruststoreLocation
- Specified by:
getServerTruststoreLocationin interfaceSslConfig- Returns:
- the
Filepath of Server SSL trust store. - Throws:
SecurityException
-
getServerTruststorePassword
- Specified by:
getServerTruststorePasswordin interfaceSslConfig- Returns:
- the password of Server SSL trust store or
nullif no password is configured. - Throws:
SecurityException
-
getServerTruststoreType
- Specified by:
getServerTruststoreTypein interfaceSslConfig- Returns:
- the type of Server SSL trust store, e.g. JKS, PKCS12, etc
- Throws:
SecurityException
-
getServerKeystoreLocation
- Specified by:
getServerKeystoreLocationin interfaceSslConfig- Returns:
- the
Filepath of Server SSL key store. - Throws:
SecurityException
-
getServerKeystorePassword
- Specified by:
getServerKeystorePasswordin interfaceSslConfig- Returns:
- the password of Server SSL key store or
nullif no password is configured. - Throws:
SecurityException
-
getServerKeyPassword
public char[] getServerKeyPassword()- Specified by:
getServerKeyPasswordin interfaceSslConfig- Returns:
- the password of Server's SSL private key or
nullif no password is configured.
-
getServerKeystoreType
- Specified by:
getServerKeystoreTypein interfaceSslConfig- Returns:
- the type of Server SSL key store, e.g. JKS, PKCS12, etc
- Throws:
SecurityException
-
getClientTruststoreLocation
- Specified by:
getClientTruststoreLocationin interfaceSslConfig- Returns:
- the
Filepath of Client SSL trust store. - Throws:
SecurityException
-
getClientTruststorePassword
- Specified by:
getClientTruststorePasswordin interfaceSslConfig- Returns:
- the password of Client SSL trust store or
nullif no password is configured. - Throws:
SecurityException
-
getClientTruststoreType
- Specified by:
getClientTruststoreTypein interfaceSslConfig- Returns:
- the type of Client SSL trust store, e.g. JKS, PKCS12, etc
- Throws:
SecurityException
-
getClientKeystoreLocation
- Specified by:
getClientKeystoreLocationin interfaceSslConfig- Returns:
- the
Filepath of Client SSL key store. - Throws:
SecurityException
-
getClientKeystorePassword
- Specified by:
getClientKeystorePasswordin interfaceSslConfig- Returns:
- the password of Client SSL key store or
nullif no password is configured. - Throws:
SecurityException
-
getClientKeyPassword
public char[] getClientKeyPassword()- Specified by:
getClientKeyPasswordin interfaceSslConfig- Returns:
- the password of Client's SSL key or
nullif no password is configured.
-
getClientKeystoreType
- Specified by:
getClientKeystoreTypein interfaceSslConfig- Returns:
- the type of Client SSL key store, e.g. JKS, PKCS12, etc
- Throws:
SecurityException
-
close
public void close()Description copied from interface:SslConfigClears all internal state including cached passwords/keys/etc.
-