BSL v0.0.0 - 0.geda3e66
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
BSLP_PolicyRule_t Struct Reference

Represents a policy rule. More...

#include <SamplePolicyProvider.h>

+ Collaboration diagram for BSLP_PolicyRule_t:

Data Fields

BSL_StaticString_t description
 
BSLP_PolicyPredicate_tpredicate
 
BSL_SecRole_e role
 
BSL_BundleBlockTypeCode_e target_block_type
 
BSL_SecBlockType_e sec_block_type
 
uint64_t context_id
 
BSL_SecParam_t * params
 
size_t nparams
 
BSL_PolicyAction_e failure_action_code
 

Detailed Description

Represents a policy rule.

A policy rule contains parameters and other metadata necessary to create populated Security Operations for a given bundle.

It first contains a predicate, which is used to identify whether this rule applies to a given bundle.

It then uses the other fields to create and populate security operations with details (type, role, parameter values, etc.)


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