add all
This commit is contained in:
28
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/cms/CMSAttributeTableGenerator.cs
vendored
Normal file
28
Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/cms/CMSAttributeTableGenerator.cs
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System.Collections.Generic;
|
||||
|
||||
using Best.HTTP.SecureProtocol.Org.BouncyCastle.Asn1.Cms;
|
||||
|
||||
namespace Best.HTTP.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<CmsAttributeTableParameter, object> parameters);
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user