Skip to content

Commit 43bb79e

Browse files
authored
Merge pull request #379 from RUB-NDS/v21release
Added CiphersuiteDelegate to TraceTool
2 parents ff1729c + bd6167b commit 43bb79e

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

TraceTool/src/main/java/de/rub/nds/tlsattacker/tracetool/config/TraceToolCommandConfig.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* TLS-Attacker - A Modular Penetration Testing Framework for TLS
33
*
44
* Copyright 2014-2017 Ruhr University Bochum / Hackmanit GmbH
5-
*
5+
*
66
* Licensed under Apache License 2.0
77
* http://www.apache.org/licenses/LICENSE-2.0
88
*/
@@ -11,6 +11,7 @@
1111
import com.beust.jcommander.ParametersDelegate;
1212
import de.rub.nds.tlsattacker.core.config.Config;
1313
import de.rub.nds.tlsattacker.core.config.TLSDelegateConfig;
14+
import de.rub.nds.tlsattacker.core.config.delegate.CiphersuiteDelegate;
1415
import de.rub.nds.tlsattacker.core.config.delegate.ConfigOutputDelegate;
1516
import de.rub.nds.tlsattacker.core.config.delegate.FilterDelegate;
1617
import de.rub.nds.tlsattacker.core.config.delegate.GeneralDelegate;
@@ -25,6 +26,7 @@
2526
import org.apache.logging.log4j.Logger;
2627

2728
public class TraceToolCommandConfig extends TLSDelegateConfig {
29+
2830
protected static final Logger LOGGER = LogManager.getLogger(TraceToolCommandConfig.class);
2931

3032
public static final String COMMAND = "tracetool";
@@ -47,6 +49,8 @@ public class TraceToolCommandConfig extends TLSDelegateConfig {
4749
private ListDelegate listDelegate;
4850
@ParametersDelegate
4951
private RunningModeDelegate runningModeDelegate;
52+
@ParametersDelegate
53+
private CiphersuiteDelegate ciphersuiteDelegate;
5054

5155
public TraceToolCommandConfig(GeneralDelegate delegate) {
5256
super(delegate);
@@ -58,8 +62,10 @@ public TraceToolCommandConfig(GeneralDelegate delegate) {
5862
this.filterDelegate = new FilterDelegate();
5963
this.configOutputDelegate = new ConfigOutputDelegate();
6064
this.listDelegate = new ListDelegate();
65+
this.ciphersuiteDelegate = new CiphersuiteDelegate();
6166
this.runningModeDelegate = new RunningModeDelegate();
6267
addDelegate(protocolVersionDelegate);
68+
addDelegate(ciphersuiteDelegate);
6369
addDelegate(workflowInputDelegate);
6470
addDelegate(workflowOutputDelegate);
6571
addDelegate(workflowTypeDelegate);

0 commit comments

Comments
 (0)