public final class CertificateFileSslStoreProvider extends Object implements SslStoreProvider
SslStoreProvider that creates key and trust stores from certificate and
private key PEM files.| Modifier and Type | Method and Description |
|---|---|
static SslStoreProvider |
from(Ssl ssl)
Create an
SslStoreProvider if the appropriate SSL properties are
configured. |
String |
getKeyPassword()
Return the password of the private key in the key store.
|
KeyStore |
getKeyStore()
Return the key store that should be used.
|
KeyStore |
getTrustStore()
Return the trust store that should be used.
|
public KeyStore getKeyStore() throws Exception
SslStoreProvidergetKeyStore in interface SslStoreProviderException - on load errorpublic KeyStore getTrustStore() throws Exception
SslStoreProvidergetTrustStore in interface SslStoreProviderException - on load errorpublic String getKeyPassword()
SslStoreProvidergetKeyPassword in interface SslStoreProviderpublic static SslStoreProvider from(Ssl ssl)
SslStoreProvider if the appropriate SSL properties are
configured.ssl - the SSL propertiesSslStoreProvider or null