2 * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.
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
9 package org.opendaylight.openflowjava.protocol.api.connection;
11 import java.util.List;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType;
18 * @author michal.polkorab
21 public interface TlsConfiguration {
24 * @return keystore location
26 String getTlsKeystore();
29 * @return keystore type
31 KeystoreType getTlsKeystoreType();
34 * @return truststore location
36 String getTlsTruststore();
39 * @return truststore type
41 KeystoreType getTlsTruststoreType();
44 * @return keystore path type (CLASSPATH or PATH)
46 PathType getTlsKeystorePathType();
49 * @return truststore path type (CLASSPATH or PATH)
51 PathType getTlsTruststorePathType();
54 * @return password protecting specified keystore
56 String getKeystorePassword();
59 * @return password protecting certificate
61 String getCertificatePassword();
64 * @return password protecting specified truststore
66 String getTruststorePassword();
69 * @return list of cipher suites for TLS connection
71 List<String> getCipherSuites();