docs: private static Reason getReasonFromX509Entry(final X509CRLEntry entry) {
          if (entry.hasExtensions()) {
              try {
                  val code = Integer.parseInt(
                      new String(entry.getExtensionValue(CRL_REASON_OID), "ASCII"));
                  if (code < Reason.values().length) {
                      return Reason.fromCode(code);
                  }
              } catch (final Exception e) {
                  LOGGER.trace("An exception occurred when resolving extension value: [{}]", e.getMessage());
              }
          }
          return null;
      }