Mobile Device Management
 
Native SDK
ddar::secret Class Reference

Pair of alias/data pair created by the platform. More...

#include <ddar.h>

List of all members.

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

Detailed Description

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.

See also:
secret *context::get_secret(const char *alias)

The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations