DistinguishedEncodingRulesElement.bitString

Decodes an array of bools representing a string of bits.

  1. bool[] bitString [@property getter]
    class DistinguishedEncodingRulesElement
    override @property const
    bool[]
    bitString
    ()
  2. bool[] bitString [@property setter]

Return Value

Type: bool[]

an array of bools, where each bool represents a bit in the encoded bit string

Throws

  • ASN1ValueSizeException if the any primitive contains 0 bytes
  • ASN1ValueException if the first byte has a value greater than seven, or if the first byte indicates the presence of padding bits when no subsequent bytes exist, or if any primitive but the last in a constructed BIT STRING uses padding bits, or if any of the padding bits are set
  • ASN1ConstructionException if the element is marked as "constructed"

Meta