public class SubentriesControl extends AbstractControl
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTROL_OID
Ths control OID
|
decoder, value, valueLengthparent| Constructor and Description |
|---|
SubentriesControl()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Compute the SubEntryControl length 0x01 0x01 [0x00|0xFF]
|
ByteBuffer |
encode(ByteBuffer buffer)
Encodes the Subentries control.
|
byte[] |
getValue()
Get the control value
|
boolean |
isVisible()
Check if the subEntry is visible
|
void |
setVisibility(boolean visibility)
Set the visibility flag
|
String |
toString()
Return a String representing this EntryChangeControl.
|
computeLength, getDecoder, getOid, hasValue, isCritical, setCritical, setValueaddLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParentpublic static final String CONTROL_OID
public boolean isVisible()
public void setVisibility(boolean visibility)
visibility - The visibility flag : true or falsepublic int computeLength()
computeLength in interface Asn1ObjectcomputeLength in interface CodecControlcomputeLength in class AbstractControlpublic ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode in interface Asn1Objectencode in interface CodecControlencode in class AbstractControlbuffer - The encoded sinkEncoderException - If anything goes wrong.public byte[] getValue()
getValue in interface ControlgetValue in class AbstractControlpublic String toString()
toString in class AbstractControlCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.