CmpObjectIdentifiers.cs 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cmp
  5. {
  6. public abstract class CmpObjectIdentifiers
  7. {
  8. // RFC 4210
  9. // id-PasswordBasedMac OBJECT IDENTIFIER ::= {1 2 840 113533 7 66 13}
  10. public static readonly DerObjectIdentifier passwordBasedMac = new DerObjectIdentifier("1.2.840.113533.7.66.13");
  11. // id-DHBasedMac OBJECT IDENTIFIER ::= {1 2 840 113533 7 66 30}
  12. public static readonly DerObjectIdentifier dhBasedMac = new DerObjectIdentifier("1.2.840.113533.7.66.30");
  13. // Example InfoTypeAndValue contents include, but are not limited
  14. // to, the following (un-comment in this ASN.1 module and use as
  15. // appropriate for a given environment):
  16. //
  17. // id-it-caProtEncCert OBJECT IDENTIFIER ::= {id-it 1}
  18. // CAProtEncCertValue ::= CMPCertificate
  19. // id-it-signKeyPairTypes OBJECT IDENTIFIER ::= {id-it 2}
  20. // SignKeyPairTypesValue ::= SEQUENCE OF AlgorithmIdentifier
  21. // id-it-encKeyPairTypes OBJECT IDENTIFIER ::= {id-it 3}
  22. // EncKeyPairTypesValue ::= SEQUENCE OF AlgorithmIdentifier
  23. // id-it-preferredSymmAlg OBJECT IDENTIFIER ::= {id-it 4}
  24. // PreferredSymmAlgValue ::= AlgorithmIdentifier
  25. // id-it-caKeyUpdateInfo OBJECT IDENTIFIER ::= {id-it 5}
  26. // CAKeyUpdateInfoValue ::= CAKeyUpdAnnContent
  27. // id-it-currentCRL OBJECT IDENTIFIER ::= {id-it 6}
  28. // CurrentCRLValue ::= CertificateList
  29. // id-it-unsupportedOIDs OBJECT IDENTIFIER ::= {id-it 7}
  30. // UnsupportedOIDsValue ::= SEQUENCE OF OBJECT IDENTIFIER
  31. // id-it-keyPairParamReq OBJECT IDENTIFIER ::= {id-it 10}
  32. // KeyPairParamReqValue ::= OBJECT IDENTIFIER
  33. // id-it-keyPairParamRep OBJECT IDENTIFIER ::= {id-it 11}
  34. // KeyPairParamRepValue ::= AlgorithmIdentifer
  35. // id-it-revPassphrase OBJECT IDENTIFIER ::= {id-it 12}
  36. // RevPassphraseValue ::= EncryptedValue
  37. // id-it-implicitConfirm OBJECT IDENTIFIER ::= {id-it 13}
  38. // ImplicitConfirmValue ::= NULL
  39. // id-it-confirmWaitTime OBJECT IDENTIFIER ::= {id-it 14}
  40. // ConfirmWaitTimeValue ::= GeneralizedTime
  41. // id-it-origPKIMessage OBJECT IDENTIFIER ::= {id-it 15}
  42. // OrigPKIMessageValue ::= PKIMessages
  43. // id-it-suppLangTags OBJECT IDENTIFIER ::= {id-it 16}
  44. // SuppLangTagsValue ::= SEQUENCE OF UTF8String
  45. //
  46. // where
  47. //
  48. // id-pkix OBJECT IDENTIFIER ::= {
  49. // iso(1) identified-organization(3)
  50. // dod(6) internet(1) security(5) mechanisms(5) pkix(7)}
  51. // and
  52. // id-it OBJECT IDENTIFIER ::= {id-pkix 4}
  53. public static readonly DerObjectIdentifier it_caProtEncCert = new DerObjectIdentifier("1.3.6.1.5.5.7.4.1");
  54. public static readonly DerObjectIdentifier it_signKeyPairTypes = new DerObjectIdentifier("1.3.6.1.5.5.7.4.2");
  55. public static readonly DerObjectIdentifier it_encKeyPairTypes = new DerObjectIdentifier("1.3.6.1.5.5.7.4.3");
  56. public static readonly DerObjectIdentifier it_preferredSymAlg = new DerObjectIdentifier("1.3.6.1.5.5.7.4.4");
  57. public static readonly DerObjectIdentifier it_caKeyUpdateInfo = new DerObjectIdentifier("1.3.6.1.5.5.7.4.5");
  58. public static readonly DerObjectIdentifier it_currentCRL = new DerObjectIdentifier("1.3.6.1.5.5.7.4.6");
  59. public static readonly DerObjectIdentifier it_unsupportedOIDs = new DerObjectIdentifier("1.3.6.1.5.5.7.4.7");
  60. public static readonly DerObjectIdentifier it_keyPairParamReq = new DerObjectIdentifier("1.3.6.1.5.5.7.4.10");
  61. public static readonly DerObjectIdentifier it_keyPairParamRep = new DerObjectIdentifier("1.3.6.1.5.5.7.4.11");
  62. public static readonly DerObjectIdentifier it_revPassphrase = new DerObjectIdentifier("1.3.6.1.5.5.7.4.12");
  63. public static readonly DerObjectIdentifier it_implicitConfirm = new DerObjectIdentifier("1.3.6.1.5.5.7.4.13");
  64. public static readonly DerObjectIdentifier it_confirmWaitTime = new DerObjectIdentifier("1.3.6.1.5.5.7.4.14");
  65. public static readonly DerObjectIdentifier it_origPKIMessage = new DerObjectIdentifier("1.3.6.1.5.5.7.4.15");
  66. public static readonly DerObjectIdentifier it_suppLangTags = new DerObjectIdentifier("1.3.6.1.5.5.7.4.16");
  67. // RFC 4211
  68. // id-pkix OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
  69. // dod(6) internet(1) security(5) mechanisms(5) pkix(7) }
  70. //
  71. // arc for Internet X.509 PKI protocols and their components
  72. // id-pkip OBJECT IDENTIFIER :: { id-pkix pkip(5) }
  73. //
  74. // arc for Registration Controls in CRMF
  75. // id-regCtrl OBJECT IDENTIFIER ::= { id-pkip regCtrl(1) }
  76. //
  77. // arc for Registration Info in CRMF
  78. // id-regInfo OBJECT IDENTIFIER ::= { id-pkip id-regInfo(2) }
  79. public static readonly DerObjectIdentifier regCtrl_regToken = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.1");
  80. public static readonly DerObjectIdentifier regCtrl_authenticator = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.2");
  81. public static readonly DerObjectIdentifier regCtrl_pkiPublicationInfo = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.3");
  82. public static readonly DerObjectIdentifier regCtrl_pkiArchiveOptions = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.4");
  83. public static readonly DerObjectIdentifier regCtrl_oldCertID = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.5");
  84. public static readonly DerObjectIdentifier regCtrl_protocolEncrKey = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.6");
  85. // From RFC4210:
  86. // id-regCtrl-altCertTemplate OBJECT IDENTIFIER ::= {id-regCtrl 7}
  87. public static readonly DerObjectIdentifier regCtrl_altCertTemplate = new DerObjectIdentifier("1.3.6.1.5.5.7.5.1.7");
  88. public static readonly DerObjectIdentifier regInfo_utf8Pairs = new DerObjectIdentifier("1.3.6.1.5.5.7.5.2.1");
  89. public static readonly DerObjectIdentifier regInfo_certReq = new DerObjectIdentifier("1.3.6.1.5.5.7.5.2.2");
  90. // id-smime OBJECT IDENTIFIER ::= { iso(1) member-body(2)
  91. // us(840) rsadsi(113549) pkcs(1) pkcs9(9) 16 }
  92. //
  93. // id-ct OBJECT IDENTIFIER ::= { id-smime 1 } -- content types
  94. //
  95. // id-ct-encKeyWithID OBJECT IDENTIFIER ::= {id-ct 21}
  96. public static readonly DerObjectIdentifier ct_encKeyWithID = new DerObjectIdentifier("1.2.840.113549.1.9.16.1.21");
  97. }
  98. }
  99. #pragma warning restore
  100. #endif