Class BasicControlDecorator

    • Method Detail

      • decode

        public Asn1Object decode​(byte[] controlBytes)
                          throws DecoderException
        Decodes raw ASN.1 encoded bytes into an Asn1Object for the control.
        Parameters:
        controlBytes - the encoded control bytes
        Returns:
        the decoded Asn1Object for the control
        Throws:
        DecoderException - if anything goes wrong
      • computeLength

        public int computeLength()
        Compute the object length, which is the sum of all inner length.
        Returns:
        The object's computed length