Skip to content

Commit

Permalink
doc(pkcs11-tool): Clarify --key-type cli switch documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
b-ori authored and Jakuje committed Jul 26, 2024
1 parent e4a4046 commit 6186ab0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions doc/tools/pkcs11-tool.1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@
<term>
<option>--key-type</option> <replaceable>specification</replaceable>
</term>
<listitem><para>Specify the type and length (bytes if symmetric) of the key to create,
for example RSA:1024, EC:prime256v1, GOSTR3410-2012-256:B,
DES:8, DES3:24, AES:16 or GENERIC:64. If the key type was incompletely specified, possible values are listed.</para></listitem>
<listitem><para>Specify the type and (not always compulsory) flavour (byte-wise symmetric key length, bit-wise asymmetric key length,
elliptic curve identifier, etc.) of the key to create, for example RSA:2048, EC:prime256v1, GOSTR3410-2012-256:B,
DES:8, DES3:24, AES:16, AES: or GENERIC:64. If the key type was incompletely specified, possible values are listed.</para></listitem>
</varlistentry>

<varlistentry>
Expand Down
6 changes: 3 additions & 3 deletions doc/tools/tools.html
Original file line number Diff line number Diff line change
Expand Up @@ -1489,9 +1489,9 @@
<code class="option">--keygen</code>
</span></dt><dd><p>Generate a new key.</p></dd><dt><span class="term">
<code class="option">--key-type</code> <em class="replaceable"><code>specification</code></em>
</span></dt><dd><p>Specify the type and length (bytes if symmetric) of the key to create,
for example RSA:1024, EC:prime256v1, GOSTR3410-2012-256:B,
DES:8, DES3:24, AES:16 or GENERIC:64. If the key type was incompletely specified, possible values are listed.</p></dd><dt><span class="term">
</span></dt><dd><p>Specify the type and (not always compulsory) flavour (byte-wise symmetric key length, bit-wise asymmetric key length,
elliptic curve identifier, etc.) of the key to create, for example RSA:2048, EC:prime256v1, GOSTR3410-2012-256:B,
DES:8, DES3:24, AES:16, AES: or GENERIC:64. If the key type was incompletely specified, possible values are listed.</p></dd><dt><span class="term">
<code class="option">--usage-sign</code>
</span></dt><dd><p>Specify 'sign' key usage flag (sets SIGN in privkey, sets VERIFY in pubkey).</p></dd><dt><span class="term">
<code class="option">--usage-decrypt</code>
Expand Down

0 comments on commit 6186ab0

Please sign in to comment.