aboutsummaryrefslogtreecommitdiffstats
path: root/doc/gpgme.texi
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2011-05-12 12:42:18 +0000
committerMarcus Brinkmann <[email protected]>2011-05-12 12:42:18 +0000
commitf61abeb0cf9b820673cfecde6085cfc9e1a3ae58 (patch)
tree6d4585e146545bf8287475de531868b7c359ab74 /doc/gpgme.texi
parentClean up the tests correctly. (diff)
downloadgpgme-f61abeb0cf9b820673cfecde6085cfc9e1a3ae58.tar.gz
gpgme-f61abeb0cf9b820673cfecde6085cfc9e1a3ae58.zip
Correct key-gen example.
Diffstat (limited to 'doc/gpgme.texi')
-rw-r--r--doc/gpgme.texi12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/gpgme.texi b/doc/gpgme.texi
index c9bb708f..c2bb3092 100644
--- a/doc/gpgme.texi
+++ b/doc/gpgme.texi
@@ -3294,14 +3294,13 @@ used. GpgSM does not make the fingerprint available.
The argument @var{parms} specifies parameters for the key in an XML
string. The details about the format of @var{parms} are specific to
the crypto engine used by @var{ctx}. Here is an example for GnuPG as
-the crypto engine:
+the crypto engine (all parameters of OpenPGP key generation are
+documented in the GPG manual):
@example
<GnupgKeyParms format="internal">
-Key-Type: DSA
-Key-Length: 1024
-Subkey-Type: ELG-E
-Subkey-Length: 1024
+Key-Type: default
+Subkey-Type: default
Name-Real: Joe Tester
Name-Comment: with stupid passphrase
Name-Email: joe@@foo.bar
@@ -3310,7 +3309,8 @@ Passphrase: abc
</GnupgKeyParms>
@end example
-Here is an example for GpgSM as the crypto engine:
+Here is an example for GpgSM as the crypto engine (all parameters of
+OpenPGP key generation are documented in the GPGSM manual):
@example
<GnupgKeyParms format="internal">