Class AbstractReadBitString<C extends Asn1Container>

    • Constructor Detail

      • AbstractReadBitString

        public AbstractReadBitString​(String name)
        Instantiates a new AbstractReadByteArray action.
        Parameters:
        name - the action's name
    • Method Detail

      • setBitString

        protected abstract void setBitString​(byte[] data,
                                             C container)
        Gives a byte array to be set to the appropriate field of the ASN.1 object present in the container
        Parameters:
        data - the data of the read TLV present in byte array format
        container - the container holding the ASN.1 object
      • action

        public final void action​(C container)
                          throws DecoderException
        The action to be executed.
        Parameters:
        container - The container which stores the current data
        Throws:
        DecoderException - Thrown if something went wrong.