Asterisk - The Open Source Telephony Project GIT-master-f36a736
|
#include "asterisk/res_stir_shaken.h"
#include "common_config.h"
#include "crypto_utils.h"
#include "curl_utils.h"
#include "attestation.h"
#include "verification.h"
Go to the source code of this file.
Data Structures | |
struct | trusted_cert_store |
Macros | |
#define | STIR_SHAKEN_ENCRYPTION_ALGORITHM "ES256" |
#define | STIR_SHAKEN_PPT "shaken" |
#define | STIR_SHAKEN_TYPE "passport" |
Functions | |
const char * | as_response_code_to_str (enum ast_stir_shaken_as_response_code as_rc) |
Return string version of AS response code. More... | |
struct ast_sorcery * | get_sorcery (void) |
Retrieve the stir/shaken sorcery context. More... | |
int | get_tn_auth_nid (void) |
Retrieves the OpenSSL NID for the TN Auth list extension. More... | |
struct trusted_cert_store * | get_trusted_cert_store (void) |
Retrieves the OpenSSL trusted cert store. More... | |
const char * | vs_response_code_to_str (enum ast_stir_shaken_vs_response_code vs_rc) |
Return string version of VS response code. More... | |
#define STIR_SHAKEN_ENCRYPTION_ALGORITHM "ES256" |
Definition at line 28 of file stir_shaken.h.
#define STIR_SHAKEN_PPT "shaken" |
Definition at line 29 of file stir_shaken.h.
#define STIR_SHAKEN_TYPE "passport" |
Definition at line 30 of file stir_shaken.h.
const char * as_response_code_to_str | ( | enum ast_stir_shaken_as_response_code | as_rc | ) |
Return string version of AS response code.
as_rc |
Definition at line 47 of file attestation.c.
References ARRAY_IN_BOUNDS, as_rc_map, and NULL.
struct ast_sorcery * get_sorcery | ( | void | ) |
Retrieve the stir/shaken sorcery context.
The | stir/shaken sorcery context |
Definition at line 34 of file common_config.c.
References sorcery.
Referenced by as_config_load(), as_config_reload(), as_get_cfg(), as_is_config_loaded(), config_object_cli_show(), create_effective_profile(), eprofile_get_all(), eprofile_get_cfg(), get_tn_all(), profile_get_all(), profile_get_cfg(), profile_load(), profile_reload(), tn_config_load(), tn_config_reload(), tn_get_cfg(), tn_get_etn(), vs_config_load(), vs_config_reload(), vs_get_cfg(), and vs_is_config_loaded().
int get_tn_auth_nid | ( | void | ) |
Retrieves the OpenSSL NID for the TN Auth list extension.
The | NID |
Definition at line 41 of file res_stir_shaken.c.
References tn_auth_list_nid.
Referenced by check_tn_auth_list().
struct trusted_cert_store * get_trusted_cert_store | ( | void | ) |
Retrieves the OpenSSL trusted cert store.
The | store |
const char * vs_response_code_to_str | ( | enum ast_stir_shaken_vs_response_code | vs_rc | ) |
Return string version of VS response code.
vs_rc |
Definition at line 89 of file verification.c.
References ARRAY_IN_BOUNDS, NULL, and vs_rc_map.
Referenced by ast_stir_shaken_vs_verify(), and func_read().