OPTIGA Trust M  1.1.0
C++ library for Optiga Trust M Chip Security Controller
optiga_cmd Struct Reference

Command context. More...

Collaboration diagram for optiga_cmd:

Public Attributes

optiga_context_tp_optiga
 Pointer to OPTIGA context which holds the communication buffer, comms instance and other required. More...
 
optiga_cmd_handler_t cmd_hdlrs
 Internal handlers for prepare and process. More...
 
void * p_input
 Command execution input parameters. More...
 
void * caller_context
 Caller context. More...
 
callback_handler_t handler
 Callback handler. More...
 
uint16_t session_oid
 Holds a Session OID allotted to this instance. More...
 
optiga_cmd_state_t cmd_next_execution_state
 State of the command next execution state. More...
 
uint8_t chaining_ongoing
 Chaining flag. More...
 
uint8_t cmd_param
 Param value for the respective command to be processed. More...
 
uint8_t protection_level
 To provide the encryption and decryption need for command and response. More...
 
uint8_t protocol_version
 To provide the presentation layer protocol version to be used. More...
 
uint8_t manage_context_operation
 To provide the manage context options. More...
 
uint8_t device_error_status
 To provide error state. More...
 
uint8_t queue_id
 Assigned slot from execution queue. More...
 
optiga_lib_status_t exit_status
 Exit status value. More...
 
uint16_t optiga_context_datastore_id
 Datastore ID for optiga context. More...
 

Detailed Description

Command context.

Member Data Documentation

◆ caller_context

void* optiga_cmd::caller_context

Caller context.

◆ chaining_ongoing

uint8_t optiga_cmd::chaining_ongoing

Chaining flag.

◆ cmd_hdlrs

optiga_cmd_handler_t optiga_cmd::cmd_hdlrs

Internal handlers for prepare and process.

◆ cmd_next_execution_state

optiga_cmd_state_t optiga_cmd::cmd_next_execution_state

State of the command next execution state.

◆ cmd_param

uint8_t optiga_cmd::cmd_param

Param value for the respective command to be processed.

◆ device_error_status

uint8_t optiga_cmd::device_error_status

To provide error state.

◆ exit_status

optiga_lib_status_t optiga_cmd::exit_status

Exit status value.

◆ handler

callback_handler_t optiga_cmd::handler

Callback handler.

◆ manage_context_operation

uint8_t optiga_cmd::manage_context_operation

To provide the manage context options.

◆ optiga_context_datastore_id

uint16_t optiga_cmd::optiga_context_datastore_id

Datastore ID for optiga context.

◆ p_input

void* optiga_cmd::p_input

Command execution input parameters.

◆ p_optiga

optiga_context_t* optiga_cmd::p_optiga

Pointer to OPTIGA context which holds the communication buffer, comms instance and other required.

◆ protection_level

uint8_t optiga_cmd::protection_level

To provide the encryption and decryption need for command and response.

◆ protocol_version

uint8_t optiga_cmd::protocol_version

To provide the presentation layer protocol version to be used.

◆ queue_id

uint8_t optiga_cmd::queue_id

Assigned slot from execution queue.

◆ session_oid

uint16_t optiga_cmd::session_oid

Holds a Session OID allotted to this instance.


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