Top Description Fields Constructors Methods
org.bouncycastle.cert.crmf

public Class AuthenticatorControl

extends Object
implements Control
Class Inheritance
All Implemented Interfaces
org.bouncycastle.cert.crmf.Control
Imports
org.bouncycastle.asn1.ASN1Encodable, .ASN1ObjectIdentifier, .DERUTF8String, org.bouncycastle.asn1.crmf.CRMFObjectIdentifiers

Carrier for an authenticator control.

Field Summary

Modifier and TypeField and Description
private final DERUTF8String
private static final ASN1ObjectIdentifier

Constructor Summary

AccessConstructor and Description
public
AuthenticatorControl(DERUTF8String
UTF-8 string representing the token.
token
)

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

public
AuthenticatorControl(String
string representing the token.
token
)

Basic constructor - build from a string representing the token.

Method Summary

Modifier and TypeMethod and Description
public ASN1ObjectIdentifier

Returns:

CRMFObjectIdentifiers.id_regCtrl_authenticator
getType
()

Implements org.bouncycastle.cert.crmf.Control.getType.

Return the type of this control.
public ASN1Encodable

Returns:

a UTF8String.
getValue
()

Implements org.bouncycastle.cert.crmf.Control.getValue.

Return the token associated with this control (a UTF8String).
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

tokenback to summary
private final DERUTF8String token
typeback to summary
private static final ASN1ObjectIdentifier type

Constructor Detail

AuthenticatorControlback to summary
public AuthenticatorControl(DERUTF8String token)

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

Parameters
token:DERUTF8String

UTF-8 string representing the token.

AuthenticatorControlback to summary
public AuthenticatorControl(String token)

Basic constructor - build from a string representing the token.

Parameters
token:String

string representing the token.

Method Detail

getTypeback to summary
public ASN1ObjectIdentifier getType()

Implements org.bouncycastle.cert.crmf.Control.getType.

Return the type of this control.

Returns:ASN1ObjectIdentifier

CRMFObjectIdentifiers.id_regCtrl_authenticator

getValueback to summary
public ASN1Encodable getValue()

Implements org.bouncycastle.cert.crmf.Control.getValue.

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

Returns:ASN1Encodable

a UTF8String.