public final class CertificateFileSslStoreProvider extends java.lang.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. |
java.lang.String |
getKeyPassword()
Return the password of the private key in the key store.
|
java.security.KeyStore |
getKeyStore()
Return the key store that should be used.
|
java.security.KeyStore |
getTrustStore()
Return the trust store that should be used.
|
public java.security.KeyStore getKeyStore()
throws java.lang.Exception
SslStoreProvidergetKeyStore in interface SslStoreProviderjava.lang.Exception - on load errorpublic java.security.KeyStore getTrustStore()
throws java.lang.Exception
SslStoreProvidergetTrustStore in interface SslStoreProviderjava.lang.Exception - on load errorpublic java.lang.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