public class RegTokenRegControl extends RegistrationControl
decoded, encoded| Constructor and Description |
|---|
RegTokenRegControl()
Creates a new, empty
RegTokenRegControl instance. |
RegTokenRegControl(java.io.InputStream is) |
RegTokenRegControl(java.lang.String regToken) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decodeValue()
Decodes the superclass
AttributeTypeAndValue's
ASN1Object value to populate this control's fields. |
protected void |
encodeValue()
Encodes this control's fields as an
ASN1Object
for the superclass AttributeTypeAndValue's value. |
java.lang.String |
getToken() |
input, inputInstance, length, output, setValuegetType, getValue, readExternal, writeExternalpublic RegTokenRegControl()
RegTokenRegControl instance.
Note, the created object is not valid, and is intended primarily
for use in conjunction with the RegistrationControl.input(java.io.InputStream) method.public RegTokenRegControl(java.lang.String regToken)
public RegTokenRegControl(java.io.InputStream is)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getToken()
protected void encodeValue()
RegistrationControlASN1Object
for the superclass AttributeTypeAndValue's value.
Subclasses must override this method to properly test and
set the RegistrationControl.encoded field, and invoke the superclass
RegistrationControl.setValue(ASN1Object) method to set the encoded structure.
encodeValue in class RegistrationControlprotected void decodeValue()
RegistrationControlAttributeTypeAndValue's
ASN1Object value to populate this control's fields.
Subclasses must override this method to invoke the superclass
AttributeTypeAndValue.getValue() method to get the structure to decode, and
properly test and set the RegistrationControl.decoded field.
decodeValue in class RegistrationControl