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
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
defaultKeyStoreFileName()
static KeyStoreFactory
keyStoreFactory()
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
-
-
Method Detail
-
keyStoreFactory
public static KeyStoreFactory keyStoreFactory()
-
defaultKeyStoreFileName
public static String defaultKeyStoreFileName()
-
sslContext
public SSLContext sslContext()
-
loadOrCreateKeyStore
public KeyStore loadOrCreateKeyStore()
-
-