public interface KeystoreLocation
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Does the location wrapped by this KeystoreLocation object exist.
|
java.util.Properties |
getAdditionalParams() |
char[] |
getKeystorePassword()
Return the keystore password.
|
java.lang.String |
getKeyStoreType()
Get the type of keystore.
|
boolean |
isWriteable()
Can this keystore be used for updates.
|
java.io.InputStream |
openInput()
Open the input stream that this is represented by this object.
|
java.io.OutputStream |
openOutput()
Open an outputstream ready for writing..
|
void |
setAdditionalParams(java.util.Properties p) |
void |
setKeystorePassword(char[] pw)
Set the password of the keystore.
|
void |
setKeystoreType(java.lang.String s)
Set the type of keystore.
|
java.io.InputStream openInput() throws java.io.IOException, AdaptrisSecurityException
java.io.IOException
- if we could not open the keystoreAdaptrisSecurityException
- wrapping any other exception.java.io.OutputStream openOutput() throws java.io.IOException, AdaptrisSecurityException
java.io.IOException
- if we could not open the keystoreAdaptrisSecurityException
- wrapping any other exception.boolean isWriteable()
char[] getKeystorePassword()
void setKeystorePassword(char[] pw)
pw
- the password.void setKeystoreType(java.lang.String s)
Natively jdk1.4 supports the JKS and JCEKS types, JCEKS being more secure.
In addition to these two types, we also support the following types
s
- the type of keystore.java.lang.String getKeyStoreType()
boolean exists()
java.util.Properties getAdditionalParams()
void setAdditionalParams(java.util.Properties p)
p
- the additionalParams to set