summaryrefslogtreecommitdiff
path: root/src/p11tool-args.def
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-26 00:00:42 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-02-26 00:05:05 +0100
commitde235d84bb5005cd936dac581229964f9465b69c (patch)
tree1965780a3238804fb3b686af4c78bfcb248d22b7 /src/p11tool-args.def
parent3c3b03ec397a535057b45c094facae280f7fd686 (diff)
downloadgnutls-de235d84bb5005cd936dac581229964f9465b69c.tar.gz
properly break lines.
Diffstat (limited to 'src/p11tool-args.def')
-rw-r--r--src/p11tool-args.def26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/p11tool-args.def b/src/p11tool-args.def
index 5a058e4431..b45d0442c9 100644
--- a/src/p11tool-args.def
+++ b/src/p11tool-args.def
@@ -85,19 +85,19 @@ flag = {
flag = {
name = generate-rsa;
- descrip = "Generates an RSA private-public key pair on the specified token";
- doc = "";
+ descrip = "Generate an RSA private-public key pair";
+ doc = "Generates an RSA private-public key pair on the specified token.";
};
flag = {
name = generate-dsa;
- descrip = "Generates an RSA private-public key pair on the specified token";
- doc = "";
+ descrip = "Generate an RSA private-public key pair";
+ doc = "Generates an RSA private-public key pair on the specified token.";
};
flag = {
name = generate-ecc;
- descrip = "Generates an RSA private-public key pair on the specified token";
- doc = "";
+ descrip = "Generate an RSA private-public key pair";
+ doc = "Generates an RSA private-public key pair on the specified token.";
};
flag = {
@@ -188,17 +188,17 @@ flag = {
name = sec-param;
arg-type = string;
arg-name = "Security parameter";
- descrip = "Specify the security level [low|legacy|normal|high|ultra].";
- doc = "This is alternative to the bits option.";
+ descrip = "Specify the security level";
+ doc = "This is alternative to the bits option. Available options are [low|legacy|normal|high|ultra].";
};
flag = {
name = inder;
- descrip = "Use DER/RAW format for input certificates and private keys";
+ descrip = "Use DER/RAW format for input";
disabled;
disable = "no";
- doc = "";
+ doc = "Use DER/RAW format for input certificates and private keys.";
};
flag = {
@@ -239,8 +239,10 @@ $ p11tool --login --list-all "pkcs11:TOKEN-URL"
To store a private key and a certificate in a token run:
@example
-$ p11tool --login --write "pkcs11:URL" --load-privkey key.pem --label "Mykey"
-$ p11tool --login --write "pkcs11:URL" --load-certificate cert.pem --label "MyCert"
+$ p11tool --login --write "pkcs11:URL" --load-privkey key.pem \
+ --label "Mykey"
+$ p11tool --login --write "pkcs11:URL" --load-certificate cert.pem \
+ --label "MyCert"
@end example
_EOT_;
};