KeyGenDistributedClient.
More...
#include <qryptsecurity.h>
KeyGenDistributedClient.
Use cases:
- Generate same symmetric keys for two devices (via BLAST API)
- Generate symmetric keys for single device (via BLAST API)
◆ IKeyGenDistributedClient()
QryptSecurity::IKeyGenDistributedClient::IKeyGenDistributedClient |
( |
| ) |
|
|
inline |
◆ ~IKeyGenDistributedClient()
virtual QryptSecurity::IKeyGenDistributedClient::~IKeyGenDistributedClient |
( |
| ) |
|
|
inlinevirtual |
◆ create()
Factory function for creating objects.
- Returns
- An unique pointer to the constructed object
◆ genInit() [1/2]
Generate symmetric key for this client and metadata for other client.
- Parameters
-
mode | Symmetric key algorithm |
- Returns
- Symmetric key and metadata
◆ genInit() [2/2]
Generate symmetric key for this client and metadata for other client.
The input argument keySize is ignored for SYMMETRIC_KEY_MODE_AES_256 mode.
- Parameters
-
mode | Symmetric key algorithm |
keySize | Symmetric key size when using OTP mode |
- Returns
- Symmetric key and metadata
◆ genSync()
virtual std::vector< uint8_t > QryptSecurity::IKeyGenDistributedClient::genSync |
( |
std::vector< uint8_t > |
metadata | ) |
|
|
pure virtual |
Generate symmetric key for this client from metadata.
- Parameters
-
metadata | Symmetric key metadata |
- Returns
- Symmetric key
◆ initialize() [1/2]
virtual void QryptSecurity::IKeyGenDistributedClient::initialize |
( |
std::string |
qryptToken | ) |
|
|
pure virtual |
Initializes the client.
- Parameters
-
qryptToken | Qrypt token to access Qrypt services |
◆ initialize() [2/2]
virtual void QryptSecurity::IKeyGenDistributedClient::initialize |
( |
std::string |
qryptToken, |
|
|
std::string |
caCertPath |
|
) |
| |
|
pure virtual |
Initializes the client.
- Parameters
-
qryptToken | Qrypt token to access Qrypt services |
caCertPath | Absolute path to a CA Root Certificate for use with libCurl |