BSL v0.0.0 - 0.g33cf081
AMMOS Bundle Protocol Security Library (BSL)
|
Definitions for permutations of policy configurations. More...
#include <inttypes.h>
#include <stdio.h>
#include <jansson.h>
#include <BPSecLib_Private.h>
#include <policy_provider/SamplePolicyProvider.h>
#include <security_context/rfc9173.h>
#include <CryptoInterface.h>
#include "policy_registry.h"
Typedefs | |
typedef uint32_t | bsl_mock_policy_configuration_t |
Bitwise Diagram of the mock bpa config data structure: | |
Functions | |
int | mock_bpa_handle_policy_config (const char *policies, BSLP_PolicyProvider_t *policy, mock_bpa_policy_registry_t *reg) |
int | mock_bpa_register_policy_from_json (const char *pp_cfg_file_path, BSLP_PolicyProvider_t *policy, mock_bpa_policy_registry_t *reg) |
int | mock_bpa_key_registry_init (const char *pp_cfg_file_path) |
int | mock_bpa_rfc9173_bcb_cek (unsigned char *buf, int len) |
Definitions for permutations of policy configurations.
typedef uint32_t bsl_mock_policy_configuration_t |
Bitwise Diagram of the mock bpa config data structure:
int mock_bpa_register_policy_from_json | ( | const char * | pp_cfg_file_path, |
BSLP_PolicyProvider_t * | policy, | ||
mock_bpa_policy_registry_t * | reg | ||
) |
References BSL_Crypto_SetRngGenerator(), BSL_LOG_CRIT, BSL_LOG_DEBUG, BSL_LOG_ERR, BSL_POLICYACTION_DROP_BLOCK, BSL_POLICYACTION_DROP_BUNDLE, BSL_POLICYACTION_NOTHING, BSL_POLICYLOCATION_APPIN, BSL_POLICYLOCATION_APPOUT, BSL_POLICYLOCATION_CLIN, BSL_POLICYLOCATION_CLOUT, BSL_SECBLOCKTYPE_BCB, BSL_SECBLOCKTYPE_BIB, BSL_SecParam_InitInt64(), BSL_SecParam_InitTextstr(), BSL_SECPARAM_TYPE_KEY_ID, BSL_SECPARAM_USE_KEY_WRAP, BSL_SECROLE_ACCEPTOR, BSL_SECROLE_SOURCE, BSL_SECROLE_VERIFIER, BSLP_PolicyPredicate_Init(), BSLP_PolicyRule_CopyParam(), and BSLP_PolicyRule_Init().
Referenced by main().