CMSAttributeTableGenerator.cs 805 B

1234567891011121314151617181920212223242526272829
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using System.Collections;
  5. using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
  6. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms
  7. {
  8. /// <remarks>
  9. /// The 'Signature' parameter is only available when generating unsigned attributes.
  10. /// </remarks>
  11. public enum CmsAttributeTableParameter
  12. {
  13. // const string ContentType = "contentType";
  14. // const string Digest = "digest";
  15. // const string Signature = "encryptedDigest";
  16. // const string DigestAlgorithmIdentifier = "digestAlgID";
  17. ContentType, Digest, Signature, DigestAlgorithmIdentifier
  18. }
  19. public interface CmsAttributeTableGenerator
  20. {
  21. AttributeTable GetAttributes(IDictionary parameters);
  22. }
  23. }
  24. #pragma warning restore
  25. #endif