CMSObjectIdentifiers.cs 2.0 KB

123456789101112131415161718192021222324252627282930313233
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using Best.HTTP.SecureProtocol.Org.BouncyCastle.Asn1.Pkcs;
  4. namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms
  5. {
  6. public abstract class CmsObjectIdentifiers
  7. {
  8. public static readonly DerObjectIdentifier Data = PkcsObjectIdentifiers.Data;
  9. public static readonly DerObjectIdentifier SignedData = PkcsObjectIdentifiers.SignedData;
  10. public static readonly DerObjectIdentifier EnvelopedData = PkcsObjectIdentifiers.EnvelopedData;
  11. public static readonly DerObjectIdentifier SignedAndEnvelopedData = PkcsObjectIdentifiers.SignedAndEnvelopedData;
  12. public static readonly DerObjectIdentifier DigestedData = PkcsObjectIdentifiers.DigestedData;
  13. public static readonly DerObjectIdentifier EncryptedData = PkcsObjectIdentifiers.EncryptedData;
  14. public static readonly DerObjectIdentifier AuthenticatedData = PkcsObjectIdentifiers.IdCTAuthData;
  15. public static readonly DerObjectIdentifier CompressedData = PkcsObjectIdentifiers.IdCTCompressedData;
  16. public static readonly DerObjectIdentifier AuthEnvelopedData = PkcsObjectIdentifiers.IdCTAuthEnvelopedData;
  17. public static readonly DerObjectIdentifier TimestampedData = PkcsObjectIdentifiers.IdCTTimestampedData;
  18. public static readonly DerObjectIdentifier ZlibCompress = PkcsObjectIdentifiers.IdAlgZlibCompress;
  19. /**
  20. * The other Revocation Info arc
  21. * id-ri OBJECT IDENTIFIER ::= { iso(1) identified-organization(3)
  22. * dod(6) internet(1) security(5) mechanisms(5) pkix(7) ri(16) }
  23. */
  24. public static readonly DerObjectIdentifier id_ri = new DerObjectIdentifier("1.3.6.1.5.5.7.16");
  25. public static readonly DerObjectIdentifier id_ri_ocsp_response = id_ri.Branch("2");
  26. public static readonly DerObjectIdentifier id_ri_scvp = id_ri.Branch("4");
  27. }
  28. }
  29. #pragma warning restore
  30. #endif