Package org.bouncycastle.cert.crmf
Class RegTokenControl
- java.lang.Object
-
- org.bouncycastle.cert.crmf.RegTokenControl
-
-
Constructor Summary
Constructors Constructor Description RegTokenControl(java.lang.String token)
Basic constructor - build from a string representing the token.RegTokenControl(org.bouncycastle.asn1.DERUTF8String token)
Basic constructor - build from a UTF-8 string representing the token.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ASN1ObjectIdentifier
getType()
Return the type of this control.org.bouncycastle.asn1.ASN1Encodable
getValue()
Return the token associated with this control (a UTF8String).
-
-
-
Constructor Detail
-
RegTokenControl
public RegTokenControl(org.bouncycastle.asn1.DERUTF8String token)
Basic constructor - build from a UTF-8 string representing the token.- Parameters:
token
- UTF-8 string representing the token.
-
RegTokenControl
public RegTokenControl(java.lang.String token)
Basic constructor - build from a string representing the token.- Parameters:
token
- string representing the token.
-
-