code: private void encodeThis() throws IOException {
          DerOutputStream os = new DerOutputStream();
          os.putTruncatedUnalignedBitString(new BitArray(this.bitString));
          this.extensionValue = os.toByteArray();
      }
docs: Encode this extension value