2 * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.
\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
9 package org.opendaylight.openflowjava.protocol.api.connection;
\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
16 * @author michal.polkorab
\r
19 public interface TlsConfiguration {
\r
22 * @return keystore location
\r
24 String getTlsKeystore();
\r
27 * @return keystore type
\r
29 KeystoreType getTlsKeystoreType();
\r
32 * @return truststore location
\r
34 String getTlsTruststore();
\r
37 * @return truststore type
\r
39 KeystoreType getTlsTruststoreType();
\r
42 * @return keystore path type (CLASSPATH or PATH)
\r
44 PathType getTlsKeystorePathType();
\r
47 * @return truststore path type (CLASSPATH or PATH)
\r
49 PathType getTlsTruststorePathType();
\r
52 * @return password protecting specified keystore
\r
54 String getKeystorePassword();
\r
57 * @return password protecting certificate
\r
59 String getCertificatePassword();
\r
62 * @return password protecting specified truststore
\r
64 String getTruststorePassword();
\r