BSL v0.0.0
AMMOS Bundle Protocol Security Library (BSL)
Loading...
Searching...
No Matches
SecurityResultSet.c File Reference

SecurityResultSet implementation for result after application of security operations. More...

+ Include dependency graph for SecurityResultSet.c:

Go to the source code of this file.

Functions

size_t BSL_SecurityResponseSet_Sizeof ()
 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, size_t noperations, size_t nfailed)
 Initialize with the given count of operations and nailures.
 
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)
 

Detailed Description

SecurityResultSet implementation for result after application of security operations.

Definition in file SecurityResultSet.c.

Function Documentation

◆ BSL_SecurityResponseSet_CountResponses()

size_t BSL_SecurityResponseSet_CountResponses ( const BSL_SecurityResponseSet_t self)

Return number of responses (operations acted upon)

Parameters
selfThis response set.

Definition at line 55 of file SecurityResultSet.c.

References BSL_SecurityResponseSet_IsConsistent().

◆ BSL_SecurityResponseSet_Deinit()

void BSL_SecurityResponseSet_Deinit ( BSL_SecurityResponseSet_t self)

Zeroize itself and release any owned resources.

Parameters
[in,out]selfThis response set.

Definition at line 49 of file SecurityResultSet.c.

References BSL_SecurityResponseSet_IsConsistent().

◆ BSL_SecurityResponseSet_Init()

void BSL_SecurityResponseSet_Init ( BSL_SecurityResponseSet_t self,
size_t  noperations,
size_t  nfailed 
)

Initialize with the given count of operations and nailures.

Todo:
This is still undefined.

Definition at line 41 of file SecurityResultSet.c.

Referenced by BSL_SecCtx_ExecutePolicyActionSet().

◆ BSL_SecurityResponseSet_IsConsistent()

bool BSL_SecurityResponseSet_IsConsistent ( const BSL_SecurityResponseSet_t self)

Return true if internal consistency checks pass.

Parameters
[in]selfThis response set.

Definition at line 33 of file SecurityResultSet.c.

Referenced by BSL_SecurityResponseSet_CountResponses(), and BSL_SecurityResponseSet_Deinit().

◆ BSL_SecurityResponseSet_Sizeof()

size_t BSL_SecurityResponseSet_Sizeof ( void  )

Returns size of this struct type.

Definition at line 28 of file SecurityResultSet.c.