BSL v0.0.0 - 0.geda3e66
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BSL_SecParam_t Struct Reference

Represents a security parameter in an ASB as defined in RFC9172. More...

+ Collaboration diagram for BSL_SecParam_t:

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

Represents a security parameter in an ASB as defined in RFC9172.

In an encoded ASB, these are tuples of (param-id, param-val)

Field Documentation

◆ _bytelen

size_t BSL_SecParam_t::_bytelen

Private.

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


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