Package org.bouncycastle.cert.crmf
Class AuthenticatorControl
java.lang.Object
org.bouncycastle.cert.crmf.AuthenticatorControl
- All Implemented Interfaces:
Control
Carrier for an authenticator control.
-
Constructor Summary
ConstructorDescriptionAuthenticatorControl
(String token) Basic constructor - build from a string representing the token.AuthenticatorControl
(org.bouncycastle.asn1.ASN1UTF8String token) Basic constructor - build from a UTF-8 string representing the token. -
Method Summary
-
Constructor Details
-
AuthenticatorControl
public AuthenticatorControl(org.bouncycastle.asn1.ASN1UTF8String token) Basic constructor - build from a UTF-8 string representing the token.- Parameters:
token
- UTF-8 string representing the token.
-
AuthenticatorControl
Basic constructor - build from a string representing the token.- Parameters:
token
- string representing the token.
-
-
Method Details
-
getType
public org.bouncycastle.asn1.ASN1ObjectIdentifier getType()Return the type of this control. -
getValue
public org.bouncycastle.asn1.ASN1Encodable getValue()Return the token associated with this control (a UTF8String).
-