From 60c7d23ec8d2a811d4649704c51a12f4fa1fa58d Mon Sep 17 00:00:00 2001 From: Hans Nilsson Date: Wed, 8 Mar 2017 16:09:32 +0100 Subject: public_key: RSA key gen documentation --- lib/public_key/doc/src/public_key.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/public_key/doc/src/public_key.xml b/lib/public_key/doc/src/public_key.xml index c503230d70..75ae7ecb7b 100644 --- a/lib/public_key/doc/src/public_key.xml +++ b/lib/public_key/doc/src/public_key.xml @@ -331,13 +331,16 @@ - generate_key(Params) -> {Public::binary(), Private::binary()} | #'ECPrivateKey'{} + generate_key(Params) -> {Public::binary(), Private::binary()} | #'ECPrivateKey'{} | {#'RSAPublicKey'{}, #'RSAPrivateKey'{}} Generates a new keypair. - Params = #'DHParameter'{} | {namedCurve, oid()} | #'ECParameters'{} + Params = #'DHParameter'{} | {namedCurve, oid()} | #'ECParameters'{} + | {rsa, Size::integer(), PubExp::integer} -

Generates a new keypair.

+

Generates a new keypair. See also + crypto:generate_key/2 +

-- cgit v1.2.3