blob: b3df21c29195e9c7afa9059964c99cf9af7f0771 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
using System;
using System.Collections;
using Org.BouncyCastle.Asn1.Cms;
namespace Org.BouncyCastle.Cms
{
/**
* Basic generator that just returns a preconstructed attribute table
*/
public class SimpleAttributeTableGenerator
: CmsAttributeTableGenerator
{
private readonly AttributeTable attributes;
public SimpleAttributeTableGenerator(
AttributeTable attributes)
{
this.attributes = attributes;
}
public virtual AttributeTable GetAttributes(
IDictionary parameters)
{
return attributes;
}
}
}
|