fde44efb70d816ccd91a5218aa1a0eb45ed0a275
[openflowjava.git] / openflow-protocol-api / src / main / java / org / opendaylight / openflowjava / protocol / api / connection / TlsConfiguration.java
1 /*\r
2  * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.\r
3  *\r
4  * This program and the accompanying materials are made available under the\r
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
6  * and is available at http://www.eclipse.org/legal/epl-v10.html\r
7  */\r
8 \r
9 package org.opendaylight.openflowjava.protocol.api.connection;\r
10 \r
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType;\r
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType;\r
13 \r
14 \r
15 /**\r
16  * @author michal.polkorab\r
17  *\r
18  */\r
19 public interface TlsConfiguration {\r
20 \r
21     /**\r
22      * @return keystore location\r
23      */\r
24     String getTlsKeystore();\r
25     \r
26     /**\r
27      * @return keystore type\r
28      */\r
29     KeystoreType getTlsKeystoreType();\r
30     \r
31     /**\r
32      * @return truststore location\r
33      */\r
34     String getTlsTruststore();\r
35     \r
36     /**\r
37      * @return truststore type\r
38      */\r
39     KeystoreType getTlsTruststoreType();\r
40 \r
41     /**\r
42      * @return keystore path type (CLASSPATH or PATH)\r
43      */\r
44     PathType getTlsKeystorePathType();\r
45 \r
46     /**\r
47      * @return truststore path type (CLASSPATH or PATH)\r
48      */\r
49     PathType getTlsTruststorePathType();\r
50 \r
51     /**\r
52      * @return password protecting specified keystore\r
53      */\r
54     String getKeystorePassword();\r
55 \r
56     /**\r
57      * @return password protecting certificate\r
58      */\r
59     String getCertificatePassword();\r
60 \r
61     /**\r
62      * @return password protecting specified truststore\r
63      */\r
64     String getTruststorePassword();\r
65 }\r