BSL v1.1.1 - 39.g9f43410
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 <bsl/dynamic/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.
 
const BSL_HostEID_tsec_src_eid
 Either the local EID, for source, or the one from the ASB.
 
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_IdValPairPtrMap_t _options
 Options set by the policy provider.
 
size_t _target_index
 Index of the existing target block in the ASB if the _role is not source.
 
BSLB_IdValPairPtrMap_t _params
 Security parameters used or produced by this operation.
 
BSLB_IdValPairPtrMap_t _results
 Security results used or produced by this operation.
 

Detailed Description

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

Field Documentation

◆ _options

BSLB_IdValPairPtrMap_t BSL_SecOper_t::_options

Options set by the policy provider.

◆ _params

BSLB_IdValPairPtrMap_t BSL_SecOper_t::_params

Security parameters used or produced by this operation.

◆ _results

BSLB_IdValPairPtrMap_t BSL_SecOper_t::_results

Security results used or produced by this operation.

◆ _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.

◆ sec_src_eid

const BSL_HostEID_t* BSL_SecOper_t::sec_src_eid

Either the local EID, for source, or the one from the ASB.

This is set just before execution of 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: