X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openflow-protocol-api%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fopenflowjava%2Fprotocol%2Fapi%2Fconnection%2FTlsConfiguration.java;h=6676dd02426796c316b17242c9f9a633a3b25e14;hb=07de1ed897da9d7dc70c6d550f38c59339ed751e;hp=00e1a4109d3dc11af78e52ee5ab49e28fb0a83ab;hpb=3129a6f302a62f549ff2dd21b987e28bab686d5e;p=openflowjava.git diff --git a/openflow-protocol-api/src/main/java/org/opendaylight/openflowjava/protocol/api/connection/TlsConfiguration.java b/openflow-protocol-api/src/main/java/org/opendaylight/openflowjava/protocol/api/connection/TlsConfiguration.java index 00e1a410..6676dd02 100644 --- a/openflow-protocol-api/src/main/java/org/opendaylight/openflowjava/protocol/api/connection/TlsConfiguration.java +++ b/openflow-protocol-api/src/main/java/org/opendaylight/openflowjava/protocol/api/connection/TlsConfiguration.java @@ -1,65 +1,65 @@ -/* - * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ - -package org.opendaylight.openflowjava.protocol.api.connection; - -import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType; -import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType; - - -/** - * @author michal.polkorab - * - */ -public interface TlsConfiguration { - - /** - * @return keystore location - */ - public String getTlsKeystore(); - - /** - * @return keystore type - */ - public KeystoreType getTlsKeystoreType(); - - /** - * @return truststore location - */ - public String getTlsTruststore(); - - /** - * @return truststore type - */ - public KeystoreType getTlsTruststoreType(); - - /** - * @return keystore path type (CLASSPATH or PATH) - */ - public PathType getTlsKeystorePathType(); - - /** - * @return truststore path type (CLASSPATH or PATH) - */ - public PathType getTlsTruststorePathType(); - - /** - * @return password protecting specified keystore - */ - public String getKeystorePassword(); - - /** - * @return password protecting certificate - */ - public String getCertificatePassword(); - - /** - * @return password protecting specified truststore - */ - public String getTruststorePassword(); -} +/* + * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved. + * + * This program and the accompanying materials are made available under the + * terms of the Eclipse Public License v1.0 which accompanies this distribution, + * and is available at http://www.eclipse.org/legal/epl-v10.html + */ + +package org.opendaylight.openflowjava.protocol.api.connection; + +import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType; +import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType; + + +/** + * @author michal.polkorab + * + */ +public interface TlsConfiguration { + + /** + * @return keystore location + */ + String getTlsKeystore(); + + /** + * @return keystore type + */ + KeystoreType getTlsKeystoreType(); + + /** + * @return truststore location + */ + String getTlsTruststore(); + + /** + * @return truststore type + */ + KeystoreType getTlsTruststoreType(); + + /** + * @return keystore path type (CLASSPATH or PATH) + */ + PathType getTlsKeystorePathType(); + + /** + * @return truststore path type (CLASSPATH or PATH) + */ + PathType getTlsTruststorePathType(); + + /** + * @return password protecting specified keystore + */ + String getKeystorePassword(); + + /** + * @return password protecting certificate + */ + String getCertificatePassword(); + + /** + * @return password protecting specified truststore + */ + String getTruststorePassword(); +}