code: public byte[] getBitString() throws IOException {
          if (buffer.read() != DerValue.tag_BitString)
              throw new IOException("DER input not an bit string");
  
          return buffer.getBitString(getLength(buffer));
      }
docs: Get a bit string from the input stream. Padded bits (if any)
  will be stripped off before the bit string is returned.