Pair of alias/data pair created by the platform. More...
#include <ddar.h>
Public Attributes | |
char | alias [MAX_SECRET_ALIAS_LEN] |
Secret alias. | |
void * | data |
Secret data in unsigned char array. | |
int | size |
Secret size. | |
Static Public Attributes | |
static constexpr const int | MAX_SECRET_ALIAS_LEN = 32 |
static constexpr const int | MAX_SECRET_LEN = 128 |
Pair of alias/data pair created by the platform.
The platform will also determine when to securely destroy the object in such cases as data-lock state.
The secret object shall store sensitive information (e.g., master key) caller must be careful about copying it into another memory space or leaking this to untrusted entity can cause a security loophole.