diff options
author | Hans Nilsson <[email protected]> | 2017-11-08 11:58:24 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-11-10 12:27:47 +0100 |
commit | c1179c3b152b7b31f56aebf2a6d21b3fa2e9366f (patch) | |
tree | c526522e27c2ae90e525e1dc2b29f4131564694b /lib/crypto/doc | |
parent | 646f2984a2c18972bfc9374dee364b0a25db7f4a (diff) | |
download | otp-c1179c3b152b7b31f56aebf2a6d21b3fa2e9366f.tar.gz otp-c1179c3b152b7b31f56aebf2a6d21b3fa2e9366f.tar.bz2 otp-c1179c3b152b7b31f56aebf2a6d21b3fa2e9366f.zip |
crypto: Doc privkey_to_pubkey/2
Diffstat (limited to 'lib/crypto/doc')
-rw-r--r-- | lib/crypto/doc/src/crypto.xml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index 36295c84cd..8e2d33c928 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -617,6 +617,21 @@ </func> <func> + <name>privkey_to_pubkey(Type, EnginePrivateKeyRef) -> PublicKey</name> + <fsummary>Fetches a public key from an Engine stored private key.</fsummary> + <type> + <v>Type = rsa | dss</v> + <v>EnginePrivateKeyRef = engine_key_ref()</v> + <v>PublicKey = rsa_public() | dss_public()</v> + </type> + <desc> + <p>Fetches the corresponding public key from a private key stored in an Engine. + The key must be of the type indicated by the Type parameter. + </p> + </desc> + </func> + + <func> <name>private_encrypt(Type, PlainText, PrivateKey, Padding) -> CipherText</name> <fsummary>Encrypts PlainText using the private Key.</fsummary> <type> |