public class ManageDsaITDecorator extends ControlDecorator<ManageDsaIT> implements ManageDsaIT
value, valueLengthOID| Constructor and Description |
|---|
ManageDsaITDecorator(LdapApiService codec,
ManageDsaIT control)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
int |
computeLength()
Returns 0 every time.
|
Asn1Object |
decode(byte[] controlBytes)
Decodes raw ASN.1 encoded bytes into an Asn1Object for the control.
|
ByteBuffer |
encode(ByteBuffer buffer)
Encode the object to a PDU.
|
equals, getCodecService, getDecorated, getOid, getValue, hashCode, hasValue, isCritical, setCritical, setDecorated, setValue, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetOid, isCritical, setCriticalpublic ManageDsaITDecorator(LdapApiService codec, ManageDsaIT control)
public int computeLength()
computeLength in interface Asn1ObjectcomputeLength in interface Decorator<ManageDsaIT>computeLength in class ControlDecorator<ManageDsaIT>public Asn1Object decode(byte[] controlBytes) throws DecoderException
CodecControldecode in interface CodecControl<ManageDsaIT>controlBytes - the encoded control bytesDecoderException - if anything goes wrongpublic ByteBuffer encode(ByteBuffer buffer) throws EncoderException
Decoratorencode in interface Asn1Objectencode in interface Decorator<ManageDsaIT>buffer - The buffer where to put the PDUEncoderException - if the buffer can't be encodedCopyright © 2021. All rights reserved.