blob: 060088b1fc972d69b8aff6c5a8f8876e365b8bff (
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
|
using System;
using System.Collections.Generic;
using System.Text;
namespace Org.BouncyCastle.Asn1.Crmf
{
public class AuthenticatorControl:IControl
{
private static readonly DerObjectIdentifier type = CrmfObjectIdentifiers.id_regCtrl_authenticator;
private readonly DerUtf8String token;
public AuthenticatorControl(DerUtf8String token)
{
this.token = token;
}
public AuthenticatorControl(String token)
{
this.token = new DerUtf8String(token);
}
public DerObjectIdentifier Type
{
get { return type; }
}
public Asn1Encodable Value {
get { return token; }
}
}
}
|