/SSIS.Extensions/SSIS.Extensions/Open Source/Crypto/asn1/cryptopro/CryptoProObjectIdentifiers.cs

# · C# · 48 lines · 30 code · 11 blank · 7 comment · 0 complexity · 981a470d0f044920f74f8902ef30b7eb MD5 · raw file

  1. using System;
  2. using Org.BouncyCastle.Asn1;
  3. namespace Org.BouncyCastle.Asn1.CryptoPro
  4. {
  5. public abstract class CryptoProObjectIdentifiers
  6. {
  7. // GOST Algorithms OBJECT IDENTIFIERS :
  8. // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2)}
  9. public const string GostID = "1.2.643.2.2";
  10. public static readonly DerObjectIdentifier GostR3411 = new DerObjectIdentifier(GostID + ".9");
  11. public static readonly DerObjectIdentifier GostR28147Cbc = new DerObjectIdentifier(GostID + ".21");
  12. public static readonly DerObjectIdentifier GostR3410x94 = new DerObjectIdentifier(GostID + ".20");
  13. public static readonly DerObjectIdentifier GostR3410x2001 = new DerObjectIdentifier(GostID + ".19");
  14. public static readonly DerObjectIdentifier GostR3411x94WithGostR3410x94 = new DerObjectIdentifier(GostID + ".4");
  15. public static readonly DerObjectIdentifier GostR3411x94WithGostR3410x2001 = new DerObjectIdentifier(GostID + ".3");
  16. // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) hashes(30) }
  17. public static readonly DerObjectIdentifier GostR3411x94CryptoProParamSet = new DerObjectIdentifier(GostID + ".30.1");
  18. // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) signs(32) }
  19. public static readonly DerObjectIdentifier GostR3410x94CryptoProA = new DerObjectIdentifier(GostID + ".32.2");
  20. public static readonly DerObjectIdentifier GostR3410x94CryptoProB = new DerObjectIdentifier(GostID + ".32.3");
  21. public static readonly DerObjectIdentifier GostR3410x94CryptoProC = new DerObjectIdentifier(GostID + ".32.4");
  22. public static readonly DerObjectIdentifier GostR3410x94CryptoProD = new DerObjectIdentifier(GostID + ".32.5");
  23. // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) exchanges(33) }
  24. public static readonly DerObjectIdentifier GostR3410x94CryptoProXchA = new DerObjectIdentifier(GostID + ".33.1");
  25. public static readonly DerObjectIdentifier GostR3410x94CryptoProXchB = new DerObjectIdentifier(GostID + ".33.2");
  26. public static readonly DerObjectIdentifier GostR3410x94CryptoProXchC = new DerObjectIdentifier(GostID + ".33.3");
  27. //{ iso(1) member-body(2)ru(643) rans(2) cryptopro(2) ecc-signs(35) }
  28. public static readonly DerObjectIdentifier GostR3410x2001CryptoProA = new DerObjectIdentifier(GostID + ".35.1");
  29. public static readonly DerObjectIdentifier GostR3410x2001CryptoProB = new DerObjectIdentifier(GostID + ".35.2");
  30. public static readonly DerObjectIdentifier GostR3410x2001CryptoProC = new DerObjectIdentifier(GostID + ".35.3");
  31. // { iso(1) member-body(2) ru(643) rans(2) cryptopro(2) ecc-exchanges(36) }
  32. public static readonly DerObjectIdentifier GostR3410x2001CryptoProXchA = new DerObjectIdentifier(GostID + ".36.0");
  33. public static readonly DerObjectIdentifier GostR3410x2001CryptoProXchB = new DerObjectIdentifier(GostID + ".36.1");
  34. public static readonly DerObjectIdentifier GostElSgDH3410Default = new DerObjectIdentifier(GostID + ".36.0");
  35. public static readonly DerObjectIdentifier GostElSgDH3410x1 = new DerObjectIdentifier(GostID + ".36.1");
  36. }
  37. }