From 9a6b0809ceae80bfb542ee8bab2e8fcd12087467 Mon Sep 17 00:00:00 2001 From: Ingela Anderton Andin Date: Thu, 7 May 2015 13:37:16 +0200 Subject: public_key: Align to alphabetical order --- lib/public_key/doc/src/public_key.xml | 54 +++++++++++++++++------------------ 1 file changed, 27 insertions(+), 27 deletions(-) (limited to 'lib/public_key/doc/src/public_key.xml') diff --git a/lib/public_key/doc/src/public_key.xml b/lib/public_key/doc/src/public_key.xml index 8a81593341..6d220c9b69 100644 --- a/lib/public_key/doc/src/public_key.xml +++ b/lib/public_key/doc/src/public_key.xml @@ -292,6 +292,33 @@ + + encrypt_private(PlainText, Key) -> binary() + Public-key encryption using the private key. + + PlainText = binary() + Key = rsa_private_key() + + +

Public-key encryption using the private key. + See also crypto:private_encrypt/4.

+
+
+ + + encrypt_public(PlainText, Key) -> binary() + Public-key encryption using the public key. + + PlainText = binary() + Key = rsa_public_key() + + +

Public-key encryption using the public key. See also crypto:public_encrypt/4.

+
+
+ generate_key(Params) -> {Public::binary(), Private::binary()} | #'ECPrivateKey'{} Generates a new keypair. @@ -364,33 +391,6 @@

Creates a PEM entry that can be feed to pem_encode/1.

- - - encrypt_private(PlainText, Key) -> binary() - Public-key encryption using the private key. - - PlainText = binary() - Key = rsa_private_key() - - -

Public-key encryption using the private key. - See also crypto:private_encrypt/4.

-
-
- - - encrypt_public(PlainText, Key) -> binary() - Public-key encryption using the public key. - - PlainText = binary() - Key = rsa_public_key() - - -

Public-key encryption using the public key. See also crypto:public_encrypt/4.

-
-
pkix_decode_cert(Cert, otp|plain) -> #'Certificate'{} | #'OTPCertificate'{} -- cgit v1.2.3