1234567891011121314151617181920212223242526272829 |
- #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
- #pragma warning disable
- using System;
- using System.Collections;
- using BestHTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
- namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Cms
- {
- /// <remarks>
- /// The 'Signature' parameter is only available when generating unsigned attributes.
- /// </remarks>
- public enum CmsAttributeTableParameter
- {
- // const string ContentType = "contentType";
- // const string Digest = "digest";
- // const string Signature = "encryptedDigest";
- // const string DigestAlgorithmIdentifier = "digestAlgID";
- ContentType, Digest, Signature, DigestAlgorithmIdentifier
- }
- public interface CmsAttributeTableGenerator
- {
- AttributeTable GetAttributes(IDictionary parameters);
- }
- }
- #pragma warning restore
- #endif
|