All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opendaylight.ocpjava.protocol.api.connection.TlsConfiguration Maven / Gradle / Ivy

There is a newer version: 0.3.3
Show newest version
/*
 * Copyright (c) 2014 Pantheon Technologies s.r.o. and others. All rights reserved.
 * Copyright (c) 2015 Foxconn Corporation
 *
 * 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.ocpjava.protocol.api.connection;

import org.opendaylight.yang.gen.v1.urn.opendaylight.ocp.config.rev150811.KeystoreType;
import org.opendaylight.yang.gen.v1.urn.opendaylight.ocp.config.rev150811.PathType;


/**
 * @author michal.polkorab
 * @author Marko Lai 
 *
 */
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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy