From e62d086fee7e82c22cb5398b5a9ecc713595d074 Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Wed, 14 Jun 2023 16:50:16 +0700 Subject: Update SecObjectIdentifiers --- crypto/src/asn1/sec/SECObjectIdentifiers.cs | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) (limited to 'crypto/src/asn1/sec/SECObjectIdentifiers.cs') diff --git a/crypto/src/asn1/sec/SECObjectIdentifiers.cs b/crypto/src/asn1/sec/SECObjectIdentifiers.cs index afc10e1d6..183f01916 100644 --- a/crypto/src/asn1/sec/SECObjectIdentifiers.cs +++ b/crypto/src/asn1/sec/SECObjectIdentifiers.cs @@ -48,5 +48,27 @@ namespace Org.BouncyCastle.Asn1.Sec public static readonly DerObjectIdentifier SecP192r1 = X9ObjectIdentifiers.Prime192v1; public static readonly DerObjectIdentifier SecP256r1 = X9ObjectIdentifiers.Prime256v1; + + public static readonly DerObjectIdentifier secg_scheme = new DerObjectIdentifier("1.3.132.1"); + + public static readonly DerObjectIdentifier dhSinglePass_stdDH_sha224kdf_scheme = secg_scheme.Branch("11.0"); + public static readonly DerObjectIdentifier dhSinglePass_stdDH_sha256kdf_scheme = secg_scheme.Branch("11.1"); + public static readonly DerObjectIdentifier dhSinglePass_stdDH_sha384kdf_scheme = secg_scheme.Branch("11.2"); + public static readonly DerObjectIdentifier dhSinglePass_stdDH_sha512kdf_scheme = secg_scheme.Branch("11.3"); + + public static readonly DerObjectIdentifier dhSinglePass_cofactorDH_sha224kdf_scheme = secg_scheme.Branch("14.0"); + public static readonly DerObjectIdentifier dhSinglePass_cofactorDH_sha256kdf_scheme = secg_scheme.Branch("14.1"); + public static readonly DerObjectIdentifier dhSinglePass_cofactorDH_sha384kdf_scheme = secg_scheme.Branch("14.2"); + public static readonly DerObjectIdentifier dhSinglePass_cofactorDH_sha512kdf_scheme = secg_scheme.Branch("14.3"); + + public static readonly DerObjectIdentifier mqvSinglePass_sha224kdf_scheme = secg_scheme.Branch("15.0"); + public static readonly DerObjectIdentifier mqvSinglePass_sha256kdf_scheme = secg_scheme.Branch("15.1"); + public static readonly DerObjectIdentifier mqvSinglePass_sha384kdf_scheme = secg_scheme.Branch("15.2"); + public static readonly DerObjectIdentifier mqvSinglePass_sha512kdf_scheme = secg_scheme.Branch("15.3"); + + public static readonly DerObjectIdentifier mqvFull_sha224kdf_scheme = secg_scheme.Branch("16.0"); + public static readonly DerObjectIdentifier mqvFull_sha256kdf_scheme = secg_scheme.Branch("16.1"); + public static readonly DerObjectIdentifier mqvFull_sha384kdf_scheme = secg_scheme.Branch("16.2"); + public static readonly DerObjectIdentifier mqvFull_sha512kdf_scheme = secg_scheme.Branch("16.3"); } -} \ No newline at end of file +} -- cgit 1.4.1