BSL v1.1.1 - 19.g31939de
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BSL_IdValPair_t Struct Reference

Represents a security option, parameter, or result within in an ASB. More...

#include <backend/IdValPair.h>

+ Collaboration diagram for BSL_IdValPair_t:

Data Fields

uint64_t id
 Identifier for the pair.
 
enum BSL_IdValPair_Type_e _type
 Indicates how _val needs to be used.
 
union { 
 
   int64_t   as_int 
 Valid when _type is BSL_IDVALPAIR_TYPE_INT64. More...
 
   m_bstring_t   as_bytes 
 Valid when _type is BSL_IDVALPAIR_TYPE_BYTESTR or BSL_IDVALPAIR_TYPE_TEXTSTR or BSL_IDVALPAIR_TYPE_RAW. More...
 
_val 
 The value storage based on _type.
 

Detailed Description

Represents a security option, parameter, or result within in an ASB.

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

Field Documentation

◆ _type

enum BSL_IdValPair_Type_e BSL_IdValPair_t::_type

Indicates how _val needs to be used.

◆ [union]

union { ... } BSL_IdValPair_t::_val

The value storage based on _type.

◆ as_bytes

m_bstring_t BSL_IdValPair_t::as_bytes

◆ as_int

int64_t BSL_IdValPair_t::as_int

◆ id

uint64_t BSL_IdValPair_t::id

Identifier for the pair.


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