BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BSL_CanonicalBlock_s Struct Reference

Structure containing parsed Canonical Block fields. More...

#include <BPSecLib_Public.h>

+ Collaboration diagram for BSL_CanonicalBlock_s:

Data Fields

uint64_t block_num
 CBOR-decoded block number (should always be > 0)
 
uint64_t type_code
 CBOR-decoded block type code (should be > 0)
 
uint64_t flags
 CBOR-decoded flags field.
 
uint64_t crc
 CBOR-decoded block CRC.
 
void * btsd
 Pointer to BTSD owned by the host BPA.
 
size_t btsd_len
 Length in bytes of the BTSD pointer.
 

Detailed Description

Structure containing parsed Canonical Block fields.

Note
This contains a snapshot of the fields at the time it was queried. It is not a pointer.

Definition at line 145 of file BPSecLib_Public.h.

Field Documentation

◆ block_num

uint64_t BSL_CanonicalBlock_s::block_num

CBOR-decoded block number (should always be > 0)

Definition at line 147 of file BPSecLib_Public.h.

Referenced by BSL_API_QuerySecurity(), and BSLX_BIB_GenIPPT().

◆ btsd

void* BSL_CanonicalBlock_s::btsd

Pointer to BTSD owned by the host BPA.

Definition at line 151 of file BPSecLib_Public.h.

Referenced by BSL_API_QuerySecurity(), and BSLX_BIB_GenIPPT().

◆ btsd_len

size_t BSL_CanonicalBlock_s::btsd_len

Length in bytes of the BTSD pointer.

Definition at line 152 of file BPSecLib_Public.h.

Referenced by BSL_API_QuerySecurity(), and BSLX_BIB_GenIPPT().

◆ crc

uint64_t BSL_CanonicalBlock_s::crc

CBOR-decoded block CRC.

Definition at line 150 of file BPSecLib_Public.h.

◆ flags

uint64_t BSL_CanonicalBlock_s::flags

CBOR-decoded flags field.

Definition at line 149 of file BPSecLib_Public.h.

◆ type_code

uint64_t BSL_CanonicalBlock_s::type_code

CBOR-decoded block type code (should be > 0)

Definition at line 148 of file BPSecLib_Public.h.

Referenced by BSL_API_QuerySecurity().


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