public interface CodecControl<E extends Control> extends Control, Decorator<E>
Modifier and Type | Method and Description |
---|---|
Asn1Object |
decode(byte[] controlBytes)
Decodes raw ASN.1 encoded bytes into an Asn1Object for the control.
|
byte[] |
getValue()
Gets the binary ASN.1 BER encoded representation of the control.
|
boolean |
hasValue()
Checks to see if a value is set for this
CodecControl . |
void |
setValue(byte[] value)
Set the Control's encoded control value.
|
getOid, isCritical, setCritical
computeLength, encode, getCodecService, getDecorated
Asn1Object decode(byte[] controlBytes) throws DecoderException
controlBytes
- the encoded control bytesDecoderException
- if anything goes wrongboolean hasValue()
CodecControl
.byte[] getValue()
void setValue(byte[] value)
value
- The encoded control value to store.Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.