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