blob: b53ce19229265731dce60331e74d34e9a7fb1ef0 (
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
29
30
31
32
33
34
35
36
|
using System;
using System.Collections.Generic;
using System.Text;
using Org.BouncyCastle.Crmf;
using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Asn1.Crmf;
namespace Org.BouncyCastle.Crmf
{
public class RegTokenControl:IControl
{
private static readonly DerObjectIdentifier type = CrmfObjectIdentifiers.id_regCtrl_regToken;
private readonly DerUtf8String token;
public RegTokenControl(DerUtf8String token)
{
this.token = token;
}
public RegTokenControl(String token)
{
this.token = new DerUtf8String(token);
}
public DerObjectIdentifier Type
{
get { return type; }
}
public Asn1Encodable Value
{
get { return token; }
}
}
}
|