diff options
author | Hans Nilsson <[email protected]> | 2017-11-10 12:28:34 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2017-11-10 12:28:34 +0100 |
commit | 4d9d6776aadee9e0d27b34460fa5269a6b6988aa (patch) | |
tree | 43b1b9394e75b19fb12124234505deb3841748c1 /lib/crypto/doc/src | |
parent | 1d0bd5f30cfd95d0977061618a5e483a8606deca (diff) | |
parent | 82a47ae5c388030d6e13b44cc23b6c1639812ad5 (diff) | |
download | otp-4d9d6776aadee9e0d27b34460fa5269a6b6988aa.tar.gz otp-4d9d6776aadee9e0d27b34460fa5269a6b6988aa.tar.bz2 otp-4d9d6776aadee9e0d27b34460fa5269a6b6988aa.zip |
Merge branch 'hans/ssh/hostkey_in_engine/OTP-14757' into 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 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> |