diff options
author | Hans Nilsson <[email protected]> | 2017-11-10 12:29:29 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-11-10 12:29:29 +0100 |
commit | 3d0f90bfea2c64c7809c036fb2d569f04aad95e3 (patch) | |
tree | da99534108f24dbb4a0574bbc727c54e16debca9 /lib/crypto/doc/src | |
parent | 30147b18b7837034adb94bd2ee2eda3ae2a177bf (diff) | |
parent | 4d9d6776aadee9e0d27b34460fa5269a6b6988aa (diff) | |
download | otp-3d0f90bfea2c64c7809c036fb2d569f04aad95e3.tar.gz otp-3d0f90bfea2c64c7809c036fb2d569f04aad95e3.tar.bz2 otp-3d0f90bfea2c64c7809c036fb2d569f04aad95e3.zip |
Merge branch 'maint'
Diffstat (limited to 'lib/crypto/doc/src')
-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 72351f1fe5..3ab8f9c832 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> |