public final class CertificateStore extends java.lang.Object implements ConfigurationObject, HasConfiguration
| Constructor and Description |
|---|
CertificateStore() |
| Modifier and Type | Method and Description |
|---|---|
javax.net.ssl.SSLContext |
getSSLContext()
Lazily create and get the ssl context.
|
java.net.URI |
getUri()
The uri to the certificate store.
|
void |
setConfiguration(Configuration configuration)
Set the configuration that the object belongs to.
|
void |
setPassword(java.lang.String password)
The password for unlocking the certificate store.
|
void |
setUri(java.net.URI uri)
The uri to the certificate store.
|
void |
validate(java.util.List<java.lang.Throwable> validationErrors,
Configuration config)
validate that the configuration was correct.
|
public java.net.URI getUri()
public void setUri(java.net.URI uri)
uri - the uri to use for loading the filepublic void setPassword(java.lang.String password)
password - the password for unlocking the certificate store.public void validate(java.util.List<java.lang.Throwable> validationErrors,
Configuration config)
ConfigurationObjectvalidate in interface ConfigurationObjectvalidationErrors - a list to add any detected errors to.config - the containing configurationpublic javax.net.ssl.SSLContext getSSLContext()
public void setConfiguration(Configuration configuration)
HasConfigurationsetConfiguration in interface HasConfigurationconfiguration - the configuration object