diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-04 12:03:18 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-10-04 12:03:18 +0700 |
commit | b11c0ac221eafa265dcbdcbc41c33124ea64f122 (patch) | |
tree | 31c8551bdc55724eaa7c81cf297f7d4945c3c484 /crypto/src/asn1 | |
parent | Add support for C1C3C2 mode to SM2Engine (diff) | |
download | BouncyCastle.NET-ed25519-b11c0ac221eafa265dcbdcbc41c33124ea64f122.tar.xz |
Update CryptoProObjectIdentifiers
Diffstat (limited to 'crypto/src/asn1')
-rw-r--r-- | crypto/src/asn1/cryptopro/CryptoProObjectIdentifiers.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/crypto/src/asn1/cryptopro/CryptoProObjectIdentifiers.cs b/crypto/src/asn1/cryptopro/CryptoProObjectIdentifiers.cs index e2f2c1848..5e3cb4781 100644 --- a/crypto/src/asn1/cryptopro/CryptoProObjectIdentifiers.cs +++ b/crypto/src/asn1/cryptopro/CryptoProObjectIdentifiers.cs @@ -13,7 +13,9 @@ namespace Org.BouncyCastle.Asn1.CryptoPro public static readonly DerObjectIdentifier GostR3411 = new DerObjectIdentifier(GostID + ".9"); public static readonly DerObjectIdentifier GostR3411Hmac = new DerObjectIdentifier(GostID + ".10"); - public static readonly DerObjectIdentifier GostR28147Cbc = new DerObjectIdentifier(GostID + ".21"); + public static readonly DerObjectIdentifier GostR28147Gcfb = new DerObjectIdentifier(GostID + ".21"); + [Obsolete("Use 'GostR28147Gcfb' instead")] + public static readonly DerObjectIdentifier GostR28147Cbc = GostR28147Gcfb; public static readonly DerObjectIdentifier ID_Gost28147_89_CryptoPro_A_ParamSet = new DerObjectIdentifier(GostID + ".31.1"); @@ -47,5 +49,9 @@ namespace Org.BouncyCastle.Asn1.CryptoPro public static readonly DerObjectIdentifier GostElSgDH3410Default = new DerObjectIdentifier(GostID + ".36.0"); public static readonly DerObjectIdentifier GostElSgDH3410x1 = new DerObjectIdentifier(GostID + ".36.1"); + + public static readonly DerObjectIdentifier GostR3410x2001CryptoProESDH = new DerObjectIdentifier(GostID + ".96"); + + public static readonly DerObjectIdentifier GostR3410x2001DH = new DerObjectIdentifier(GostID + ".98"); } } |