summary refs log tree commit diff
path: root/crypto/src/cms/CMSAttributeTableGenerator.cs
blob: 36d1bdcff7b52ffe45c6302aef7b722ecd786765 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
using System.Collections.Generic;

using Org.BouncyCastle.Asn1.Cms;

namespace Org.BouncyCastle.Cms
{
	/// <remarks>
	/// The 'Signature' parameter is only available when generating unsigned attributes.
	/// </remarks>
	public enum CmsAttributeTableParameter
	{
		ContentType, Digest, Signature, DigestAlgorithmIdentifier, SignatureAlgorithmIdentifier
    }

	public interface CmsAttributeTableGenerator
	{
		AttributeTable GetAttributes(IDictionary<CmsAttributeTableParameter, object> parameters);
	}
}