summaryrefslogtreecommitdiff
path: root/src/p11tool-args.def
diff options
context:
space:
mode:
authorWolfgang Meyer zu Bergsten <w.bergsten@sirrix.com>2014-08-06 13:20:24 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-08-06 14:51:30 +0200
commit0864654caf7e57a4c53803474ee747bf4c7960ce (patch)
tree891b9e6534acef0a9591135d90a58f89a790caf6 /src/p11tool-args.def
parent40e4ec9540fd14f731c0295323044e36c4266413 (diff)
downloadgnutls-0864654caf7e57a4c53803474ee747bf4c7960ce.tar.gz
add public key export to p11tool
Signed-off-by: Wolfgang Meyer zu Bergsten <w.bergsten@sirrix.com>
Diffstat (limited to 'src/p11tool-args.def')
-rw-r--r--src/p11tool-args.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/p11tool-args.def b/src/p11tool-args.def
index a20d2ef8e4..807be43686 100644
--- a/src/p11tool-args.def
+++ b/src/p11tool-args.def
@@ -122,6 +122,13 @@ flag = {
doc = "Generates an RSA private-public key pair on the specified token.";
};
+
+flag = {
+ name = export-pubkey;
+ descrip = "Export the public key for a private key";
+ doc = "Exports the public key for the specified private key";
+};
+
flag = {
name = label;
arg-type = string;