servnest/pg-view/ns/tlsa.php

45 lines
1.5 KiB
PHP

<form method="post">
<?php require ROOT_PATH . '/pg-view/ns/form.ns.php'; ?>
<label for="use"><?= _('Use') ?></label>
<br>
<select required="" name="use" id="use">
<option value="" selected="" disabled="">-</option>
<option value="0">0 (PKIX-TA, <abbr title="also known as">aka<abbr> CA constraint)</option>
<option value="1">1 (PKIX-EE, <abbr title="also known as">aka<abbr> Service certificate constraint)</option>
<option value="2">2 (DANE-TA, <abbr title="also known as">aka<abbr> Trust Anchor Assertion)</option>
<option value="3">3 (DANE-EE, <abbr title="also known as">aka<abbr> Domain issued certificate)</option>
</select>
<br>
<label for="selector"><?= _('Selector') ?></label>
<br>
<select required="" name="selector" id="selector">
<option value="" selected="" disabled="">-</option>
<option value="0">0 (<?= _('the full certificate must match') ?>)</option>
<option value="1">1 (<?= _('the certificate public key must match') ?>)</option>
</select>
<br>
<label for="type"><?= _('Match type') ?></label>
<br>
<select required="" name="type" id="type">
<option value="" selected="" disabled="">-</option>
<option value="0">0 (<?= _('full certificate') ?>)</option>
<option value="1">1 (SHA-256)</option>
<option value="2">2 (SHA-512)</option>
</select>
<br>
<label for="content"><?= _('Value') ?></label>
<br>
<input id="content" minlenght="3" maxlength="1024" pattern="^[a-zA-Z0-9.-]{3,1024}$" name="content" type="text">
<br>
<input type="submit" value="<?= _('Apply') ?>">
</form>