diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-10-07 10:06:09 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-10-09 11:48:35 +0200 |
commit | 7b1fbfefe466a8761190805ded6c2fd1d2466662 (patch) | |
tree | 1ba92eac6eeca4187ed78c1a2fd352f073fae073 /doc | |
parent | 376eeb9a9539d39c3cd45106b1a138fd36529a8e (diff) | |
download | gnutls-7b1fbfefe466a8761190805ded6c2fd1d2466662.tar.gz |
doc: improve documentation on provable private keys
Resolves #301
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/cha-crypto.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/cha-crypto.texi b/doc/cha-crypto.texi index 80a9e072ab..dc28a42a94 100644 --- a/doc/cha-crypto.texi +++ b/doc/cha-crypto.texi @@ -61,6 +61,15 @@ either by setting the global PIN function (@funcref{gnutls_pkcs11_set_pin_function}), or better with the targetted to structures functions such as @funcref{gnutls_privkey_set_pin_function}. + +@subsection Key generation + +All supported key types (including RSA, DSA, ECDSA, Ed25519) can be generated +with GnuTLS. They can be generated with the simpler @funcref{gnutls_privkey_generate} +or with the more advanced @funcref{gnutls_privkey_generate2}. + +@showfuncdesc{gnutls_privkey_generate2} + @node Cryptographic Message Syntax / PKCS#7 @section Cryptographic Message Syntax / PKCS#7 @cindex public key algorithms |