Initial Commit
This commit is contained in:
25
iTechSharp/srcbc/cms/CMSAttributeTableGenerator.cs
Normal file
25
iTechSharp/srcbc/cms/CMSAttributeTableGenerator.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
|
||||
using Org.BouncyCastle.Asn1.Cms;
|
||||
|
||||
namespace 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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user