Package org.mockserver.socket.tls
Class KeyStoreFactory
- java.lang.Object
-
- org.mockserver.socket.tls.KeyStoreFactory
-
public class KeyStoreFactory extends Object
- Author:
- jamesdbloom, ganskef
-
-
Field Summary
Fields Modifier and Type Field Description static String
CERTIFICATE_DOMAIN
static String
KEY_STORE_CERT_ALIAS
static String
KEY_STORE_PASSWORD
-
Constructor Summary
Constructors Constructor Description KeyStoreFactory(MockServerLogger mockServerLogger)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
defaultKeyStoreFileName()
KeyStore
loadOrCreateKeyStore()
SSLContext
sslContext()
-
-
-
Field Detail
-
KEY_STORE_PASSWORD
public static final String KEY_STORE_PASSWORD
- See Also:
- Constant Field Values
-
CERTIFICATE_DOMAIN
public static final String CERTIFICATE_DOMAIN
- See Also:
- Constant Field Values
-
KEY_STORE_CERT_ALIAS
public static final String KEY_STORE_CERT_ALIAS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
KeyStoreFactory
public KeyStoreFactory(MockServerLogger mockServerLogger)
-
-
Method Detail
-
defaultKeyStoreFileName
public static String defaultKeyStoreFileName()
-
sslContext
public SSLContext sslContext()
-
loadOrCreateKeyStore
public KeyStore loadOrCreateKeyStore()
-
-