SEcube open-source SDK
Public Attributes | List of all members
userdata_ Struct Reference

Structure used to enclose all elements required by the APIs to initialize a user device inside SEkey. More...

#include <SEkey.h>

Public Attributes

std::string sn
 
std::string uid
 
std::string uname
 
uint32_t k1
 
uint32_t k2
 
uint32_t algo
 
uint32_t klen
 
std::string query
 
std::unique_ptr< uint8_t[]> k1_data
 
std::unique_ptr< uint8_t[]> k2_data
 
std::unique_ptr< uint8_t[]> wcard_key
 

Detailed Description

Structure used to enclose all elements required by the APIs to initialize a user device inside SEkey.

Member Data Documentation

◆ algo

uint32_t userdata_::algo

algorithm for encryption of updates

◆ k1

uint32_t userdata_::k1

ID of symmetric key to encrypt user updates

◆ k1_data

std::unique_ptr<uint8_t[]> userdata_::k1_data

content of k1

◆ k2

uint32_t userdata_::k2

ID of symmetric key for key wrapping inside updates

◆ k2_data

std::unique_ptr<uint8_t[]> userdata_::k2_data

content of k2

◆ klen

uint32_t userdata_::klen

length of keys

◆ query

std::string userdata_::query

SQL query to be executed by the user

◆ sn

std::string userdata_::sn

SEcube serial number

◆ uid

std::string userdata_::uid

user id

◆ uname

std::string userdata_::uname

username

◆ wcard_key

std::unique_ptr<uint8_t[]> userdata_::wcard_key

content of wildcard key (used to send an update to a former member of SEkey)


The documentation for this struct was generated from the following file: