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 org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType;
16 * @author michal.polkorab
19 public interface TlsConfiguration {
22 * @return keystore location
24 String getTlsKeystore();
27 * @return keystore type
29 KeystoreType getTlsKeystoreType();
32 * @return truststore location
34 String getTlsTruststore();
37 * @return truststore type
39 KeystoreType getTlsTruststoreType();
42 * @return keystore path type (CLASSPATH or PATH)
44 PathType getTlsKeystorePathType();
47 * @return truststore path type (CLASSPATH or PATH)
49 PathType getTlsTruststorePathType();
52 * @return password protecting specified keystore
54 String getKeystorePassword();
57 * @return password protecting certificate
59 String getCertificatePassword();
62 * @return password protecting specified truststore
64 String getTruststorePassword();