public static class ChangeNumberControlPlugin.ChangeNumberControl extends Control
Control.RemoveOnceControlIsMigrated
Constructor and Description |
---|
ChangeNumberControl(boolean isCritical,
CSN csn)
Constructs a new change number control.
|
Modifier and Type | Method and Description |
---|---|
CSN |
getCSN()
Retrieves the CSN.
|
ByteString |
getValue()
Returns the value, if any, associated with this control.
|
boolean |
hasValue()
Returns
true if this control has a value. |
protected void |
writeValue(Asn1Writer writer)
Writes this control's value to an ASN.1 writer.
|
getOid, getValueAdapter, isCritical, toString, toString, write
public ChangeNumberControl(boolean isCritical, CSN csn)
isCritical
- Indicates whether support for this control should be considered a critical part of the server
processing.csn
- The CSN.public boolean hasValue()
Control
true
if this control has a value. In some circumstances
it may be useful to determine if a control has a value, without actually
calculating the value and incurring any performance costs.true
if this control has a value, or false
if
there is no value.public ByteString getValue()
Control
protected void writeValue(Asn1Writer writer) throws IOException
Control
writeValue
in class Control
writer
- The ASN.1 writer to use.IOException
- If a problem occurs while writing to the stream.public CSN getCSN()
Copyright 2010-2018 ForgeRock AS.