#include "dinamo.h"
Data Fields | |
char | szTargetKeyName[MAX_OBJ_ID_FQN_LEN] |
DWORD | dwTargetKeyAlg |
DWORD | dwTargetKeyAttributes |
DBLOB | dbPubKey |
DBLOB | dbKDFData |
ECDH standard X9.63 key derivation structure.
char szTargetKeyName[MAX_OBJ_ID_FQN_LEN] |
Name of the key that will be derived and saved in the HSM. To save the derived key in the HSM, the definition of szTargetKeyName and dwTargetKeyAttributes is mandatory. To receive the generated material without saving the key in the HSM, fill in '\0' with zeros in the szTargetKeyName and dwTargetKeyAttributes options.
DWORD dwTargetKeyAlg |
Algorithm of the key to be derived. This parameter must always be defined.
DWORD dwTargetKeyAttributes |
Attributes of the key to be derived.
DBLOB dbPubKey |
Public key in DER format. The maximum size of the dbPubKey and dbKDFData buffers together must not exceed DN_ECDH_GEN_KEY_MAX_DATA.
DBLOB dbKDFData |
Data that will be used to derive the key. The maximum size of the dbPubKey and dbKDFData buffers together must not exceed DN_ECDH_GEN_KEY_MAX_DATA.