Files
SuperVPN/output/Libraries/BouncyCastle.Crypto/Org/BouncyCastle/Crmf/AuthenticatorControl.cs
2025-10-09 09:57:24 +09:00

26 lines
539 B
C#

using Org.BouncyCastle.Asn1;
using Org.BouncyCastle.Asn1.Crmf;
namespace Org.BouncyCastle.Crmf;
public class AuthenticatorControl : IControl
{
private static readonly DerObjectIdentifier type = CrmfObjectIdentifiers.id_regCtrl_authenticator;
private readonly DerUtf8String token;
public DerObjectIdentifier Type => type;
public Asn1Encodable Value => token;
public AuthenticatorControl(DerUtf8String token)
{
this.token = token;
}
public AuthenticatorControl(string token)
{
this.token = new DerUtf8String(token);
}
}