package org.opendaylight.openflowjava.protocol.api.connection;
+import java.util.List;
+
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.KeystoreType;
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.config.rev140630.PathType;
private String keyStore;
private PathType keystorePathType;
private PathType truststorePathType;
+ private List<String> cipherSuites;
/**
* Default constructor
*/
public TlsConfigurationImpl(KeystoreType trustStoreType, String trustStore,
PathType trustStorePathType, KeystoreType keyStoreType,
- String keyStore, PathType keyStorePathType) {
+ String keyStore, PathType keyStorePathType,
+ List<String> cipherSuites) {
this.trustStoreType = trustStoreType;
this.trustStore = trustStore;
this.truststorePathType = trustStorePathType;
this.keyStoreType = keyStoreType;
this.keyStore = keyStore;
this.keystorePathType = keyStorePathType;
+ this.cipherSuites = cipherSuites;
}
@Override
public String getTruststorePassword() {
return "opendaylight";
}
+
+ @Override
+ public List<String> getCipherSuites() {
+ return cipherSuites;
+ }
}