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, setCriticalcomputeLength, encode, getCodecService, getDecoratedAsn1Object 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 © 2021. All rights reserved.