docs: private void checkProxyBasicOptions(ProxyInfoParams params,
      List<VOMSAttribute> listVOMSAttributes, File proxyFilePath,
      X509Certificate[] proxyChain) {
  
      if (params.containsOption(PrintOption.TYPE)
        && !params.containsOption(PrintOption.ALL_OPTIONS)) {
  
        logger.printMessage(proxyTypeAsString(proxyChain[0]));
      }
  
      if (params.containsOption(PrintOption.SUBJECT)
        && !params.containsOption(PrintOption.ALL_OPTIONS)) {
  
        logger.printMessage(OpensslNameUtilities
          .getOpensslSubjectString(proxyChain[0].getSubjectX500Principal()));
      }
  
      if (params.containsOption(PrintOption.ISSUER)
        || params.containsOption(PrintOption.IDENTITY)
        && !params.containsOption(PrintOption.ALL_OPTIONS)) {
  
        logger.printMessage(OpensslNameUtilities
          .getOpensslSubjectString(proxyChain[0].getIssuerX500Principal()));
      }
  
      if (params.containsOption(PrintOption.PROXY_PATH)
        && !params.containsOption(PrintOption.ALL_OPTIONS)) {
        logger.printMessage(proxyFilePath.getAbsolutePath());
      }
  
      if (params.containsOption(PrintOption.CHAIN)) {
  
        printProxyChain(proxyChain);
  
        logger.printMessage("=== Proxy Information ===");
        printProxyStandardInfo(proxyFilePath);
  
        if (params.containsOption(PrintOption.ALL_OPTIONS)) {
          printAC(listVOMSAttributes);
        }
  
        logger.printMessage("");
      }
  
      if (params.containsOption(PrintOption.TEXT)) {
        if (!params.containsOption(PrintOption.ALL_OPTIONS)
          && !params.containsOption(PrintOption.CHAIN)) {
          printProxyStandardInfo(proxyFilePath);
          logger.printMessage("");
        }
  
        int chainLength = 1;
        if (params.containsOption(PrintOption.CHAIN))
          chainLength = proxyChain.length;
        for (int i = chainLength - 1; i >= 0; i--) {
          logger.printMessage("Certificate:");
          logger.printMessage(CertificateUtils.format(proxyChain[i],
            FormatMode.FULL));
          logger.printMessage("");
        }
      }
  
      if (params.containsOption(PrintOption.KEYSIZE)
        && !params.containsOption(PrintOption.ALL_OPTIONS)) {
        logger.printMessage(getKeySize(proxyChain[0]));
      }
  
      if (params.containsOption(PrintOption.KEYUSAGE)
        && !params.containsOption(PrintOption.ALL_OPTIONS)) {
        tabularFormatted("key usage", getProxyKeyUsages());
      }
  
      if (params.containsOption(PrintOption.TIMELEFT)
        && !params.containsOption(PrintOption.ALL_OPTIONS)) {
  
        Date notAfter = proxyCredential.getCertificate().getNotAfter();
  
        long notAfterinMSec = TimeUtils.getTimeLeft(notAfter);
  
        long notAfterInSec = TimeUnit.MILLISECONDS.toSeconds(notAfterinMSec);
  
        logger.printMessage(String.valueOf(notAfterInSec));
      }
  
    }