CrmfObjectIdentifiers.cs 1.2 KB

123456789101112131415161718192021222324252627
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs;
  5. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Crmf
  6. {
  7. public abstract class CrmfObjectIdentifiers
  8. {
  9. public static readonly DerObjectIdentifier id_pkix = new DerObjectIdentifier("1.3.6.1.5.5.7");
  10. // arc for Internet X.509 PKI protocols and their components
  11. public static readonly DerObjectIdentifier id_pkip = id_pkix.Branch("5");
  12. public static readonly DerObjectIdentifier id_regCtrl = id_pkip.Branch("1");
  13. public static readonly DerObjectIdentifier id_regCtrl_regToken = id_regCtrl.Branch("1");
  14. public static readonly DerObjectIdentifier id_regCtrl_authenticator = id_regCtrl.Branch("2");
  15. public static readonly DerObjectIdentifier id_regCtrl_pkiPublicationInfo = id_regCtrl.Branch("3");
  16. public static readonly DerObjectIdentifier id_regCtrl_pkiArchiveOptions = id_regCtrl.Branch("4");
  17. public static readonly DerObjectIdentifier id_ct_encKeyWithID = new DerObjectIdentifier(PkcsObjectIdentifiers.IdCT + ".21");
  18. }
  19. }
  20. #pragma warning restore
  21. #endif