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

Represents a Security Operation produced by a policy provider to inform the security context. More...

#include <backend/SecOperation.h>

+ Collaboration diagram for BSL_SecOper_t:

Data Fields

int64_t context_id
 Security context ID.
 
uint64_t target_block_num
 Bundle's block ID over which the security operation is applied.
 
uint64_t sec_block_num
 Bundle's block ID which contains the security parameters and results for this operation.
 
BSL_PolicyAction_e policy_action
 Policy for handing what to do to the block or bundle if security processing fails.
 
BSL_SecOper_ConclusionState_e conclusion
 Conclusion state of security operation processing.
 
BSL_ReasonCode_t reason_code
 Reason code for any reporting about this security operation.
 
BSL_SecRole_e _role
 Private enumeration indicating the role (e.g., acceptor vs verifier)
 
BSL_SecBlockType_e _service_type
 
BSLB_IdValPairPtrDict_t _options
 Options set by the policy provider.
 
Existing security verifier/acceptor.

These fields apply when this operation is on an existing operation.

size_t _target_index
 Index of the existing target block in the ASB if the _role is not source.
 
BSLB_IdValPairPtrDict_t _params_in
 Parameters from the ASB if the _role is not source.
 
BSLB_IdValPairPtrDict_t _results_in
 Results from the ASB if the _role is not source.
 

Detailed Description

Represents a Security Operation produced by a policy provider to inform the security context.

Field Documentation

◆ _options

BSLB_IdValPairPtrDict_t BSL_SecOper_t::_options

Options set by the policy provider.

◆ _params_in

BSLB_IdValPairPtrDict_t BSL_SecOper_t::_params_in

Parameters from the ASB if the _role is not source.

◆ _results_in

BSLB_IdValPairPtrDict_t BSL_SecOper_t::_results_in

Results from the ASB if the _role is not source.

◆ _role

BSL_SecRole_e BSL_SecOper_t::_role

Private enumeration indicating the role (e.g., acceptor vs verifier)

◆ _service_type

BSL_SecBlockType_e BSL_SecOper_t::_service_type

◆ _target_index

size_t BSL_SecOper_t::_target_index

Index of the existing target block in the ASB if the _role is not source.

This will be distinct because the same source+function can only target each block no more than once.

◆ conclusion

BSL_SecOper_ConclusionState_e BSL_SecOper_t::conclusion

Conclusion state of security operation processing.

◆ context_id

int64_t BSL_SecOper_t::context_id

Security context ID.

◆ policy_action

BSL_PolicyAction_e BSL_SecOper_t::policy_action

Policy for handing what to do to the block or bundle if security processing fails.

Note
Currently the implementation is for the Policy Provider to use the policy action on failure to determine and execute course of action (e.g., remove block, etc.)

◆ reason_code

BSL_ReasonCode_t BSL_SecOper_t::reason_code

Reason code for any reporting about this security operation.

◆ sec_block_num

uint64_t BSL_SecOper_t::sec_block_num

Bundle's block ID which contains the security parameters and results for this operation.

◆ target_block_num

uint64_t BSL_SecOper_t::target_block_num

Bundle's block ID over which the security operation is applied.


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