|
BSL v1.0.0 - 4.g1b6a605
AMMOS Bundle Protocol Security Library (BSL)
|
Security Result Set implementation for result after application of security operations. More...
#include "SecurityResultSet.h"
Include dependency graph for SecurityResultSet.c:Functions | |
| size_t | BSL_SecurityResponseSet_Sizeof (void) |
| Returns size of this struct type. | |
| bool | BSL_SecurityResponseSet_IsConsistent (const BSL_SecurityResponseSet_t *self) |
| Return true if internal consistency checks pass. | |
| void | BSL_SecurityResponseSet_Init (BSL_SecurityResponseSet_t *self) |
| Initialize with the given count of operations and failures. | |
| void | BSL_SecurityResponseSet_Deinit (BSL_SecurityResponseSet_t *self) |
| Zeroize itself and release any owned resources. | |
| size_t | BSL_SecurityResponseSet_CountResponses (const BSL_SecurityResponseSet_t *self) |
| Return number of responses (operations acted upon) | |
| void | BSL_SecurityResponseSet_AppendResult (BSL_SecurityResponseSet_t *self, int64_t result, BSL_PolicyAction_e policy_action) |
| Append a result code to the security response set. | |
Security Result Set implementation for result after application of security operations.
| void BSL_SecurityResponseSet_AppendResult | ( | BSL_SecurityResponseSet_t * | self, |
| int64_t | result, | ||
| BSL_PolicyAction_e | policy_action | ||
| ) |
Append a result code to the security response set.
| [in,out] | self | the response set to append result to |
| [in] | result | the result code to append |
| [in] | policy_action | the on-failure policy action associated with the response |
Referenced by BSL_SecCtx_ExecutePolicyActionSet().
| size_t BSL_SecurityResponseSet_CountResponses | ( | const BSL_SecurityResponseSet_t * | self | ) |
Return number of responses (operations acted upon)
| [in] | self | This response set. |
References BSL_SecurityResponseSet_IsConsistent().
| void BSL_SecurityResponseSet_Deinit | ( | BSL_SecurityResponseSet_t * | self | ) |
Zeroize itself and release any owned resources.
| [in,out] | self | This response set. |
References BSL_SecurityResponseSet_IsConsistent().
Referenced by BSL_API_ApplySecurity(), test_SecurityContext_BIB_Acceptor(), test_SecurityContext_BIB_Source(), test_SecurityContext_BIB_Verifier(), and test_SecurityContext_BIB_Verifier_Failure().
| void BSL_SecurityResponseSet_Init | ( | BSL_SecurityResponseSet_t * | self | ) |
Initialize with the given count of operations and failures.
Referenced by BSL_API_ApplySecurity().
| bool BSL_SecurityResponseSet_IsConsistent | ( | const BSL_SecurityResponseSet_t * | self | ) |
Return true if internal consistency checks pass.
| [in] | self | This response set. |
Referenced by BSL_SecurityResponseSet_CountResponses(), and BSL_SecurityResponseSet_Deinit().