public class

RegTokenControl

extends Object
implements Control
java.lang.Object
   ↳ org.bouncycastle.cert.crmf.RegTokenControl

Class Overview

Carrier for a registration token control.

Summary

Public Constructors
RegTokenControl(DERUTF8String token)
Basic constructor - build from a UTF-8 string representing the token.
RegTokenControl(String token)
Basic constructor - build from a string representing the token.
Public Methods
ASN1ObjectIdentifier getType()
Return the type of this control.
ASN1Encodable getValue()
Return the token associated with this control (a UTF8String).
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.cert.crmf.Control

Public Constructors

public RegTokenControl (DERUTF8String token)

Basic constructor - build from a UTF-8 string representing the token.

Parameters
token UTF-8 string representing the token.

public RegTokenControl (String token)

Basic constructor - build from a string representing the token.

Parameters
token string representing the token.

Public Methods

public ASN1ObjectIdentifier getType ()

Return the type of this control.

Returns
  • CRMFObjectIdentifiers.id_regCtrl_regToken

public ASN1Encodable getValue ()

Return the token associated with this control (a UTF8String).

Returns
  • a UTF8String.