|
BSL v1.0.0 - 4.g1b6a605
AMMOS Bundle Protocol Security Library (BSL)
|
Implementations for permutations of policy configurations. More...
Include dependency graph for policy_config.c:Functions | |
| static BSL_HostEIDPattern_t | mock_bpa_util_get_eid_pattern_from_text (const char *text) |
| int | mock_bpa_rfc9173_bcb_cek (unsigned char *buf, int len) |
| int | mock_bpa_register_policy_from_json (const char *pp_cfg_file_path, BSLP_PolicyProvider_t *policy, mock_bpa_policy_registry_t *reg) |
| static void | mock_bpa_register_policy (const bsl_mock_policy_configuration_t policy_bits, BSLP_PolicyProvider_t *policy, mock_bpa_policy_params_t *params) |
| int | mock_bpa_handle_policy_config (const char *policies, BSLP_PolicyProvider_t *policy, mock_bpa_policy_registry_t *reg) |
| int | mock_bpa_key_registry_init (const char *pp_cfg_file_path) |
Implementations for permutations of policy configurations.
| 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().