|
Virgil Security Crypto library
2.4.6
|
Define proxy interface for the Diffie-Hellman functionality. More...
#include <VirgilOperationDH.h>
Public Member Functions | |
| template<class Impl > | |
| VirgilOperationDH (Impl impl) | |
| Captures implementation object. More... | |
| VirgilByteArray | calculate (const VirgilByteArray &publicKey, const VirgilByteArray &privateKey, const VirgilByteArray &privateKeyPassword=VirgilByteArray()) const |
| Compute shared key by using Diffie-Hellman algorithm. More... | |
Static Public Member Functions | |
| static VirgilOperationDH | getDefault () |
| Return default implementation. | |
Define proxy interface for the Diffie-Hellman functionality.
|
inline |
Captures implementation object.
| Impl | - class that contains functions that has identical signature to this class functions. |
| impl | - object that implements interface. |
|
inline |
Compute shared key by using Diffie-Hellman algorithm.
| publicKey | - public key of the side 1. |
| privateKey | - private key of the side 2. |
| privateKeyPassword | - private key password of the side 2. |
1.8.6