BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
|
Defines the RFC 9172 Security Result. More...
Go to the source code of this file.
Data Structures | |
struct | BSL_SecResult_s |
Defines the RFC 9172 Security Result.
Implementation of a RFC9172 Result.
This represents the Security Result field of the Abstract Security Block. As defined in RFC 9172.
An individual result is represented as a CBOR array comprising a 2-tuple of a result Id and a result value, defined as follows.
Result Id:
- This field identifies which security result is being specified.
- Some security results capture the primary output of a cipher suite.
- Other security results contain additional annotative information from cipher suite processing.
- This field SHALL be represented as a CBOR unsigned integer.
- Security result Ids will be as specified in Section 3.10.
Result Value:
- This field captures the value associated with the result.
- This field SHALL be represented by the applicable CBOR representation of the result value, in accordance with Section 3.10.
RFC 9172 Section 3.10
- Each security context MUST define its own context parameters and results.
- Each defined parameter and result is represented as the tuple of an identifier and a value.
- Identifiers are always represented as a CBOR unsigned integer.
- The CBOR encoding of values is as defined by the security context specification.
- Identifiers MUST be unique for a given security context but do not need to be unique amongst all security contexts.
https://www.rfc-editor.org/rfc/rfc9172.html#section-3.6-3.12.1
Definition in file SecResult.h.