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;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType;
19 * @author michal.polkorab
21 public interface TlsConfiguration {
24 * Returns the key store location.
26 * @return key store location
28 String getTlsKeystore();
31 * Returns the key store type.
33 * @return key store type
35 KeystoreType getTlsKeystoreType();
38 * Returns the trust store location.
40 * @return trust store location
42 String getTlsTruststore();
45 * Returns the trust store type.
47 * @return trust store type
49 KeystoreType getTlsTruststoreType();
52 * Returns the key store path type.
54 * @return key store path type (CLASSPATH or PATH)
56 PathType getTlsKeystorePathType();
59 * Returns the trust store path type.
61 * @return trust store path type (CLASSPATH or PATH)
63 PathType getTlsTruststorePathType();
66 * Returns the password protecting the key store.
68 * @return password protecting the specified key store
70 String getKeystorePassword();
73 * Returns the password protecting the certificate.
75 * @return password protecting certificate
77 String getCertificatePassword();
80 * Returns the password protecting the trust store.
82 * @return password protecting specified trust store
84 String getTruststorePassword();
87 * Returns the list of cipher suites for TLS connection.
89 * @return list of cipher suites for TLS connection
91 List<String> getCipherSuites();