public class KeyStoreFactory extends Object
Modifier and Type | Field and Description |
---|---|
static String |
KEY_STORE_CA_ALIAS |
static String |
KEY_STORE_CERT_ALIAS |
static String |
KEY_STORE_FILE_NAME |
static String |
KEY_STORE_PASSWORD |
static String |
KEY_STORE_TYPE |
Constructor and Description |
---|
KeyStoreFactory(MockServerLogger mockServerLogger) |
Modifier and Type | Method and Description |
---|---|
KeyStore |
loadOrCreateKeyStore(PrivateKey privateKey,
X509Certificate x509Certificate,
X509Certificate certificateAuthorityX509Certificate,
X509Certificate[] trustX509CertificateChain) |
KeyStore |
loadOrCreateKeyStore(String keyStoreType) |
SSLContext |
sslContext() |
SSLContext |
sslContext(PrivateKey privateKey,
X509Certificate x509Certificate,
X509Certificate certificateAuthorityX509Certificate,
X509Certificate[] trustX509CertificateChain) |
public static final String KEY_STORE_TYPE
public static final String KEY_STORE_PASSWORD
public static final String KEY_STORE_CERT_ALIAS
public static final String KEY_STORE_CA_ALIAS
public static final String KEY_STORE_FILE_NAME
public KeyStoreFactory(MockServerLogger mockServerLogger)
public SSLContext sslContext()
public SSLContext sslContext(PrivateKey privateKey, X509Certificate x509Certificate, X509Certificate certificateAuthorityX509Certificate, X509Certificate[] trustX509CertificateChain)
public KeyStore loadOrCreateKeyStore(PrivateKey privateKey, X509Certificate x509Certificate, X509Certificate certificateAuthorityX509Certificate, X509Certificate[] trustX509CertificateChain)
Copyright © 2020. All rights reserved.