code: public static String generateSwidFileName(final String regId, final String productName,
              final String uniqueSoftwareId, final String extension) {
          StringBuilder res = new StringBuilder()
                  .append(regId)
                  .append("_")
                  .append(productName)
                  .append("-")
                  .append(uniqueSoftwareId).append(".");
          if (StringUtils.isNotBlank(extension)) {
              res.append(extension);
          } else {
              res.append(SWIDTAG_FILE_EXTENSION);
          }
  
          return res.toString();
      }
docs: <p>
  Generate SWID tag file name.
  </p>
  <p>
  Example: <code>&lt;regid&gt;_&lt;product_name&gt;‐&lt;unique_software_identifier&gt;.swidtag</code>
  </p>
  
  @param regId
  the regid value
  @param productName
  the product name
  @param uniqueSoftwareId
  the unique software identifier
  @param extension
  file extension; if not defined the default file extension will be used: <i>.swidtag</i>
  @return SWID tag file name