code: private void encodeThis() throws IOException {
          if (require == -1 && inhibit == -1) {
              this.extensionValue = null;
              return;
          }
          DerOutputStream tagged = new DerOutputStream();
          DerOutputStream seq = new DerOutputStream();
  
          if (require != -1) {
              DerOutputStream tmp = new DerOutputStream();
              tmp.putInteger(require);
              tagged.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT,
                           false, TAG_REQUIRE), tmp);
          }
          if (inhibit != -1) {
              DerOutputStream tmp = new DerOutputStream();
              tmp.putInteger(inhibit);
              tagged.writeImplicit(DerValue.createTag(DerValue.TAG_CONTEXT,
                           false, TAG_INHIBIT), tmp);
          }
          seq.write(DerValue.tag_Sequence, tagged);
          this.extensionValue = seq.toByteArray();
      }
docs: Encode this extension value.