BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BSL_SecParam_s Struct Reference
+ Collaboration diagram for BSL_SecParam_s:

Data Fields

uint64_t param_id
 Parameter ID.
 
enum BSL_SecParam_Types_e _type
 Private. Indicates whether this is an integer or bytestring.
 
uint64_t _uint_value
 Private. When an integer, this field is populated with the correct value.
 
uint8_t _bytes [BSL_DEFAULT_BYTESTR_LEN+1]
 Private. When a bytestring, this field is set, with the _bytelen set accordingly.
 
size_t _bytelen
 Private.
 

Detailed Description

Definition at line 67 of file SecParam.h.

Field Documentation

◆ _bytelen

size_t BSL_SecParam_s::_bytelen

Private.

When a bytestring, this field is the length of param, and always less than BSL_DEFAULT_BYTESTR_LEN.

Definition at line 83 of file SecParam.h.

Referenced by BSL_SecParam_GetAsBytestr(), BSL_SecParam_InitBytestr(), and BSL_SecParam_IsConsistent().

◆ _bytes

uint8_t BSL_SecParam_s::_bytes[BSL_DEFAULT_BYTESTR_LEN+1]

Private. When a bytestring, this field is set, with the _bytelen set accordingly.

Definition at line 79 of file SecParam.h.

Referenced by BSL_SecParam_GetAsBytestr(), BSL_SecParam_InitBytestr(), and BSL_SecParam_IsConsistent().

◆ _type

enum BSL_SecParam_Types_e BSL_SecParam_s::_type

Private. Indicates whether this is an integer or bytestring.

Definition at line 73 of file SecParam.h.

Referenced by BSL_SecParam_GetAsUInt64(), BSL_SecParam_InitBytestr(), BSL_SecParam_InitInt64(), BSL_SecParam_IsConsistent(), and BSL_SecParam_IsInt64().

◆ _uint_value

uint64_t BSL_SecParam_s::_uint_value

Private. When an integer, this field is populated with the correct value.

Definition at line 76 of file SecParam.h.

Referenced by BSL_SecParam_GetAsUInt64(), BSL_SecParam_InitInt64(), and BSL_SecParam_IsConsistent().

◆ param_id

uint64_t BSL_SecParam_s::param_id

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