diff options
| author | J08nY | 2018-05-29 17:42:25 +0200 |
|---|---|---|
| committer | J08nY | 2018-05-29 17:42:25 +0200 |
| commit | d970a9c64a8363a5b6b6fc65c1a767ea6951c298 (patch) | |
| tree | ec044d8288ad99e791b700b952de727af660fc35 /src/cz/crcs/ectester/standalone/ECTesterStandalone.java | |
| parent | 298ffc18e590d07eb04d2c5c2b1d553f8fba71bd (diff) | |
| download | ECTester-d970a9c64a8363a5b6b6fc65c1a767ea6951c298.tar.gz ECTester-d970a9c64a8363a5b6b6fc65c1a767ea6951c298.tar.zst ECTester-d970a9c64a8363a5b6b6fc65c1a767ea6951c298.zip | |
Support key algo parameter for KeyAgreements with KDF in standalone testing.
Diffstat (limited to 'src/cz/crcs/ectester/standalone/ECTesterStandalone.java')
| -rw-r--r-- | src/cz/crcs/ectester/standalone/ECTesterStandalone.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cz/crcs/ectester/standalone/ECTesterStandalone.java b/src/cz/crcs/ectester/standalone/ECTesterStandalone.java index 392d604..18bfce6 100644 --- a/src/cz/crcs/ectester/standalone/ECTesterStandalone.java +++ b/src/cz/crcs/ectester/standalone/ECTesterStandalone.java @@ -141,6 +141,7 @@ public class ECTesterStandalone { testOpts.addOption(Option.builder("kt").longOpt("ka-type").desc("Set the KeyAgreement object [type].").hasArg().argName("type").optionalArg(false).build()); testOpts.addOption(Option.builder("st").longOpt("sig-type").desc("Set the Signature object [type].").hasArg().argName("type").optionalArg(false).build()); testOpts.addOption(Option.builder("f").longOpt("format").desc("Set the output format, one of text,yaml,xml.").hasArg().argName("format").optionalArg(false).build()); + testOpts.addOption(Option.builder().longOpt("key-type").desc("Set the key [algorithm] for which the key should be derived in KeyAgreements with KDF.").hasArg().argName("algorithm").optionalArg(false).build()); List<Argument> testArgs = new LinkedList<>(); testArgs.add(new Argument("test_suite", "The test suite to run.", true)); ParserOptions test = new ParserOptions(new DefaultParser(), testOpts, testArgs); |
