OnixS C++ FIX Engine 4.13.0
API Documentation
Loading...
Searching...
No Matches
Cryptograph Class Reference

Static Public Member Functions

static void calculateHmacSha256 (const ByteArray &key, const std::string &data, ByteArray &result)

Detailed Description

Definition at line 30 of file Cryptograph.h.

Member Function Documentation

◆ calculateHmacSha256()

void calculateHmacSha256 ( const ByteArray & key,
const std::string & data,
ByteArray & result )
static

Produces the signature using HMAC-SHA256.

Parameters
keySecret key bytes to produce the signature.
dataThe user data to produce the signature.
resultThe resulting HMAC-SHA256 signature.
Exceptions
Anexception in case of any issues during the calculation of the signature.