public class SubentriesControl extends AbstractControl
Modifier and Type | Field and Description |
---|---|
static String |
CONTROL_OID
Ths control OID
|
decoder, value, valueLength
parent
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, setValue
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent
public 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 Asn1Object
computeLength
in interface CodecControl
computeLength
in class AbstractControl
public ByteBuffer encode(ByteBuffer buffer) throws EncoderException
encode
in interface Asn1Object
encode
in interface CodecControl
encode
in class AbstractControl
buffer
- The encoded sinkEncoderException
- If anything goes wrong.public byte[] getValue()
getValue
in interface Control
getValue
in class AbstractControl
public String toString()
toString
in class AbstractControl
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.