1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.settings;
14
15 import com.eviware.soapui.settings.Setting.SettingType;
16
17 /***
18 * SSL-Proxy settings constants
19 *
20 * @author Ole.Matzura
21 */
22
23 public interface SSLSettings
24 {
25 @Setting( name="KeyStore", description="local keyStore to use", type=SettingType.FILE )
26 public final static String KEYSTORE = SSLSettings.class.getSimpleName() + "@" + "keyStore";
27
28 @Setting( name="KeyStore Password", description="keyStore password", type=SettingType.PASSWORD )
29 public final static String KEYSTORE_PASSWORD = SSLSettings.class.getSimpleName() + "@" + "keyStorePassword";
30
31 @Setting( name="Enable Mock SSL", description="enable SSL for Mock Services", type=SettingType.BOOLEAN )
32 public final static String ENABLE_MOCK_SSL = SSLSettings.class.getSimpleName() + "@" + "enableMockSSL";
33
34 @Setting( name="Mock Port", description="local port to use for SSL mock services", type=SettingType.INT )
35 public final static String MOCK_PORT = SSLSettings.class.getSimpleName() + "@" + "mockPort";
36
37 @Setting( name="Mock KeyStore", description="local keyStore to use for mock services", type=SettingType.FILE )
38 public final static String MOCK_KEYSTORE = SSLSettings.class.getSimpleName() + "@" + "mockKeyStore";
39
40 @Setting( name="Mock Password", description="password for mock services", type=SettingType.PASSWORD )
41 public final static String MOCK_PASSWORD = SSLSettings.class.getSimpleName() + "@" + "mockPassword";
42
43 @Setting( name="Mock Key Password", description="password for mock keyStore", type=SettingType.PASSWORD )
44 public final static String MOCK_KEYSTORE_PASSWORD = SSLSettings.class.getSimpleName() + "@" + "mockKeyStorePassword";
45
46 @Setting( name="Mock TrustStore", description="mock trustStore to use", type=SettingType.FILE )
47 public final static String MOCK_TRUSTSTORE = SSLSettings.class.getSimpleName() + "@" + "mockTrustStore";
48
49 @Setting( name="Mock TrustStore Password", description="mock trustStore password", type=SettingType.PASSWORD )
50 public final static String MOCK_TRUSTSTORE_PASSWORD = SSLSettings.class.getSimpleName() + "@" + "mockTrustStorePassword";
51
52 @Setting( name="Client Authentication", description="requires client authentication", type=SettingType.BOOLEAN )
53 public final static String CLIENT_AUTHENTICATION = SSLSettings.class.getSimpleName() + "@" + "needClientAuthentication";
54 }