summaryrefslogtreecommitdiff
path: root/src/certtool-args.def
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2017-07-26 14:43:15 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2017-08-04 09:38:27 +0200
commit7bfbbb9294c460b841ed6051727be2beb46028f4 (patch)
treede8b7fd20802c43a1f9e323835365fcc10f315f1 /src/certtool-args.def
parentc4ca8205b49289366b1d1722e79a45bd4dcb66e1 (diff)
downloadgnutls-7bfbbb9294c460b841ed6051727be2beb46028f4.tar.gz
certtool: allow specifying RSA-PSS parameters for key generation
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'src/certtool-args.def')
-rw-r--r--src/certtool-args.def11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/certtool-args.def b/src/certtool-args.def
index 2d045d1123..fcb895e829 100644
--- a/src/certtool-args.def
+++ b/src/certtool-args.def
@@ -181,7 +181,9 @@ flag = {
name = generate-privkey;
value = p;
descrip = "Generate a private key";
- doc = "";
+ doc = "When generating RSA-PSS private keys, the --hash option will
+restrict the allowed hash for the key; in the same keys the --salt-size
+option is also acceptable.";
};
flag = {
@@ -564,6 +566,13 @@ flag = {
};
flag = {
+ name = salt-size;
+ arg-type = number;
+ descrip = "Specify the RSA-PSS key default salt size";
+ doc = "Typical keys shouldn't set or restrict this option.";
+};
+
+flag = {
name = inder;
descrip = "Use DER format for input certificates, private keys, and DH parameters ";
disabled;