Literal Mapping

This procedure only applies when invoked by another procedure.

This procedure is used to map a literal bit string (a sequence of one or more literal bits). It will only be invoked when a literal string is not otherwise incorporated into the encoding. For example, it is not invoked to map the strings that act as alternative determinants in an Alternation.

  1. This mapping restricts the literal to being 32 bits or less. The literal is mapped to the ASN.1 type INTEGER(k) where k is the integer interpretation of the literal.

  2. When a component is created for this type, it shall be given a DEFAULT of k. However, the component must be present in the encoding. The DEFAULT is added due to the inner workings of our code generator.

  3. The encoding of this type is the literal bit string.