aboutsummaryrefslogtreecommitdiff
path: root/src/cz/crcs/ectester/standalone/consts/KeyAgreementIdent.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/cz/crcs/ectester/standalone/consts/KeyAgreementIdent.java')
-rw-r--r--src/cz/crcs/ectester/standalone/consts/KeyAgreementIdent.java22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/cz/crcs/ectester/standalone/consts/KeyAgreementIdent.java b/src/cz/crcs/ectester/standalone/consts/KeyAgreementIdent.java
index 94e8c84..eb7adc6 100644
--- a/src/cz/crcs/ectester/standalone/consts/KeyAgreementIdent.java
+++ b/src/cz/crcs/ectester/standalone/consts/KeyAgreementIdent.java
@@ -30,14 +30,20 @@ public class KeyAgreementIdent extends Ident {
ALL.add(new KeyAgreementIdent("ECCDHwithSHA384KDF", true, "1.3.132.1.14.2"));
ALL.add(new KeyAgreementIdent("ECDHwithSHA512KDF", true, "1.3.132.1.11.3"));
ALL.add(new KeyAgreementIdent("ECCDHwithSHA512KDF", true, "1.3.132.1.14.3"));
- ALL.add(new KeyAgreementIdent("ECDHwithSHA1CKDF", true));
- ALL.add(new KeyAgreementIdent("ECCDHwithSHA1CKDF", true));
- ALL.add(new KeyAgreementIdent("ECDHwithSHA256CKDF", true));
- ALL.add(new KeyAgreementIdent("ECCDHwithSHA256CKDF", true));
- ALL.add(new KeyAgreementIdent("ECDHwithSHA384CKDF", true));
- ALL.add(new KeyAgreementIdent("ECCDHwithSHA384CKDF", true));
- ALL.add(new KeyAgreementIdent("ECDHwithSHA512CKDF", true));
- ALL.add(new KeyAgreementIdent("ECCDHwithSHA512CKDF", true));
+ // Microsoft specific KDF
+ ALL.add(new KeyAgreementIdent("ECDHwithSHA1KDF(CNG)"));
+ ALL.add(new KeyAgreementIdent("ECDHwithSHA256KDF(CNG)"));
+ ALL.add(new KeyAgreementIdent("ECDHwithSHA384KDF(CNG)"));
+ ALL.add(new KeyAgreementIdent("ECDHwithSHA512KDF(CNG)"));
+ // CKDF requires custom AlgorithmParameterSpec (only BouncyCastle)
+ //ALL.add(new KeyAgreementIdent("ECDHwithSHA1CKDF", true));
+ //ALL.add(new KeyAgreementIdent("ECCDHwithSHA1CKDF", true));
+ //ALL.add(new KeyAgreementIdent("ECDHwithSHA256CKDF", true));
+ //ALL.add(new KeyAgreementIdent("ECCDHwithSHA256CKDF", true));
+ //ALL.add(new KeyAgreementIdent("ECDHwithSHA384CKDF", true));
+ //ALL.add(new KeyAgreementIdent("ECCDHwithSHA384CKDF", true));
+ //ALL.add(new KeyAgreementIdent("ECDHwithSHA512CKDF", true));
+ //ALL.add(new KeyAgreementIdent("ECCDHwithSHA512CKDF", true));
// ECMQV - Disable for now as it needs diferent params(too different from DH)
//ALL.add(new KeyAgreementIdent("ECMQV"));
//ALL.add(new KeyAgreementIdent("ECMQVwithSHA1KDF", true));