tlsa.php 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php declare(strict_types=1); ?>
  2. <form method="post">
  3. <?php require ROOT_PATH . '/pg-view/ns/form.ns.php'; ?>
  4. <label for="use"><?= _('Use') ?></label>
  5. <br>
  6. <select required="" name="use" id="use">
  7. <option value="" selected="" disabled="">-</option>
  8. <option value="0">0 (PKIX-TA, <abbr title="also known as">aka<abbr> CA constraint)</option>
  9. <option value="1">1 (PKIX-EE, <abbr title="also known as">aka<abbr> Service certificate constraint)</option>
  10. <option value="2">2 (DANE-TA, <abbr title="also known as">aka<abbr> Trust Anchor Assertion)</option>
  11. <option value="3">3 (DANE-EE, <abbr title="also known as">aka<abbr> Domain issued certificate)</option>
  12. </select>
  13. <br>
  14. <label for="selector"><?= _('Selector') ?></label>
  15. <br>
  16. <select required="" name="selector" id="selector">
  17. <option value="" selected="" disabled="">-</option>
  18. <option value="0">0 (<?= _('the full certificate must match') ?>)</option>
  19. <option value="1">1 (<?= _('the certificate public key must match') ?>)</option>
  20. </select>
  21. <br>
  22. <label for="type"><?= _('Match type') ?></label>
  23. <br>
  24. <select required="" name="type" id="type">
  25. <option value="" selected="" disabled="">-</option>
  26. <option value="0">0 (<?= _('full certificate') ?>)</option>
  27. <option value="1">1 (SHA-256)</option>
  28. <option value="2">2 (SHA-512)</option>
  29. </select>
  30. <br>
  31. <label for="content"><?= _('Value') ?></label>
  32. <br>
  33. <input id="content" minlenght="3" maxlength="1024" pattern="^[a-zA-Z0-9.-]{3,1024}$" name="content" type="text">
  34. <br>
  35. <input type="submit" value="<?= _('Apply') ?>">
  36. </form>