GMObjectIdentifiers.cs 6.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.GM
  5. {
  6. public abstract class GMObjectIdentifiers
  7. {
  8. public static readonly DerObjectIdentifier sm_scheme = new DerObjectIdentifier("1.2.156.10197.1");
  9. public static readonly DerObjectIdentifier sm6_ecb = sm_scheme.Branch("101.1");
  10. public static readonly DerObjectIdentifier sm6_cbc = sm_scheme.Branch("101.2");
  11. public static readonly DerObjectIdentifier sm6_ofb128 = sm_scheme.Branch("101.3");
  12. public static readonly DerObjectIdentifier sm6_cfb128 = sm_scheme.Branch("101.4");
  13. public static readonly DerObjectIdentifier sm1_ecb = sm_scheme.Branch("102.1");
  14. public static readonly DerObjectIdentifier sm1_cbc = sm_scheme.Branch("102.2");
  15. public static readonly DerObjectIdentifier sm1_ofb128 = sm_scheme.Branch("102.3");
  16. public static readonly DerObjectIdentifier sm1_cfb128 = sm_scheme.Branch("102.4");
  17. public static readonly DerObjectIdentifier sm1_cfb1 = sm_scheme.Branch("102.5");
  18. public static readonly DerObjectIdentifier sm1_cfb8 = sm_scheme.Branch("102.6");
  19. public static readonly DerObjectIdentifier ssf33_ecb = sm_scheme.Branch("103.1");
  20. public static readonly DerObjectIdentifier ssf33_cbc = sm_scheme.Branch("103.2");
  21. public static readonly DerObjectIdentifier ssf33_ofb128 = sm_scheme.Branch("103.3");
  22. public static readonly DerObjectIdentifier ssf33_cfb128 = sm_scheme.Branch("103.4");
  23. public static readonly DerObjectIdentifier ssf33_cfb1 = sm_scheme.Branch("103.5");
  24. public static readonly DerObjectIdentifier ssf33_cfb8 = sm_scheme.Branch("103.6");
  25. public static readonly DerObjectIdentifier sms4_ecb = sm_scheme.Branch("104.1");
  26. public static readonly DerObjectIdentifier sms4_cbc = sm_scheme.Branch("104.2");
  27. public static readonly DerObjectIdentifier sms4_ofb128 = sm_scheme.Branch("104.3");
  28. public static readonly DerObjectIdentifier sms4_cfb128 = sm_scheme.Branch("104.4");
  29. public static readonly DerObjectIdentifier sms4_cfb1 = sm_scheme.Branch("104.5");
  30. public static readonly DerObjectIdentifier sms4_cfb8 = sm_scheme.Branch("104.6");
  31. public static readonly DerObjectIdentifier sms4_ctr = sm_scheme.Branch("104.7");
  32. public static readonly DerObjectIdentifier sms4_gcm = sm_scheme.Branch("104.8");
  33. public static readonly DerObjectIdentifier sms4_ccm = sm_scheme.Branch("104.9");
  34. public static readonly DerObjectIdentifier sms4_xts = sm_scheme.Branch("104.10");
  35. public static readonly DerObjectIdentifier sms4_wrap = sm_scheme.Branch("104.11");
  36. public static readonly DerObjectIdentifier sms4_wrap_pad = sm_scheme.Branch("104.12");
  37. public static readonly DerObjectIdentifier sms4_ocb = sm_scheme.Branch("104.100");
  38. public static readonly DerObjectIdentifier sm5 = sm_scheme.Branch("201");
  39. public static readonly DerObjectIdentifier sm2p256v1 = sm_scheme.Branch("301");
  40. public static readonly DerObjectIdentifier sm2sign = sm_scheme.Branch("301.1");
  41. public static readonly DerObjectIdentifier sm2exchange = sm_scheme.Branch("301.2");
  42. public static readonly DerObjectIdentifier sm2encrypt = sm_scheme.Branch("301.3");
  43. public static readonly DerObjectIdentifier wapip192v1 = sm_scheme.Branch("301.101");
  44. public static readonly DerObjectIdentifier sm2encrypt_recommendedParameters = sm2encrypt.Branch("1");
  45. public static readonly DerObjectIdentifier sm2encrypt_specifiedParameters = sm2encrypt.Branch("2");
  46. public static readonly DerObjectIdentifier sm2encrypt_with_sm3 = sm2encrypt.Branch("2.1");
  47. public static readonly DerObjectIdentifier sm2encrypt_with_sha1 = sm2encrypt.Branch("2.2");
  48. public static readonly DerObjectIdentifier sm2encrypt_with_sha224 = sm2encrypt.Branch("2.3");
  49. public static readonly DerObjectIdentifier sm2encrypt_with_sha256 = sm2encrypt.Branch("2.4");
  50. public static readonly DerObjectIdentifier sm2encrypt_with_sha384 = sm2encrypt.Branch("2.5");
  51. public static readonly DerObjectIdentifier sm2encrypt_with_sha512 = sm2encrypt.Branch("2.6");
  52. public static readonly DerObjectIdentifier sm2encrypt_with_rmd160 = sm2encrypt.Branch("2.7");
  53. public static readonly DerObjectIdentifier sm2encrypt_with_whirlpool = sm2encrypt.Branch("2.8");
  54. public static readonly DerObjectIdentifier sm2encrypt_with_blake2b512 = sm2encrypt.Branch("2.9");
  55. public static readonly DerObjectIdentifier sm2encrypt_with_blake2s256 = sm2encrypt.Branch("2.10");
  56. public static readonly DerObjectIdentifier sm2encrypt_with_md5 = sm2encrypt.Branch("2.11");
  57. public static readonly DerObjectIdentifier id_sm9PublicKey = sm_scheme.Branch("302");
  58. public static readonly DerObjectIdentifier sm9sign = sm_scheme.Branch("302.1");
  59. public static readonly DerObjectIdentifier sm9keyagreement = sm_scheme.Branch("302.2");
  60. public static readonly DerObjectIdentifier sm9encrypt = sm_scheme.Branch("302.3");
  61. public static readonly DerObjectIdentifier sm3 = sm_scheme.Branch("401");
  62. public static readonly DerObjectIdentifier hmac_sm3 = sm3.Branch("2");
  63. public static readonly DerObjectIdentifier sm2sign_with_sm3 = sm_scheme.Branch("501");
  64. public static readonly DerObjectIdentifier sm2sign_with_sha1 = sm_scheme.Branch("502");
  65. public static readonly DerObjectIdentifier sm2sign_with_sha256 = sm_scheme.Branch("503");
  66. public static readonly DerObjectIdentifier sm2sign_with_sha512 = sm_scheme.Branch("504");
  67. public static readonly DerObjectIdentifier sm2sign_with_sha224 = sm_scheme.Branch("505");
  68. public static readonly DerObjectIdentifier sm2sign_with_sha384 = sm_scheme.Branch("506");
  69. public static readonly DerObjectIdentifier sm2sign_with_rmd160 = sm_scheme.Branch("507");
  70. public static readonly DerObjectIdentifier sm2sign_with_whirlpool = sm_scheme.Branch("520");
  71. public static readonly DerObjectIdentifier sm2sign_with_blake2b512 = sm_scheme.Branch("521");
  72. public static readonly DerObjectIdentifier sm2sign_with_blake2s256 = sm_scheme.Branch("522");
  73. }
  74. }
  75. #pragma warning restore
  76. #endif