|
Asterisk - The Open Source Telephony Project GIT-master-27fb039
|
#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 | stir_shaken_attestation_ds |
| struct | stir_shaken_verification_ds |
| struct | trusted_cert_store |
Macros | |
| #define | STIR_SHAKEN_ATTESTATION_DS "STIR/SHAKEN/ATTESTATION" |
| #define | STIR_SHAKEN_ENCRYPTION_ALGORITHM "ES256" |
| #define | STIR_SHAKEN_PPT "shaken" |
| #define | STIR_SHAKEN_TYPE "passport" |
| #define | STIR_SHAKEN_VERIFICATION_DS "STIR/SHAKEN/VERIFICATION" |
Functions | |
| const char * | as_response_code_to_str (enum ast_stir_shaken_as_response_code as_rc) |
| Return string version of AS response code. | |
| struct stir_shaken_attestation_ds * | ast_stir_shaken_get_attestation_datastore (struct ast_channel *chan) |
| struct ast_sorcery * | get_sorcery (void) |
| Retrieve the stir/shaken sorcery context. | |
| int | get_tn_auth_nid (void) |
| Retrieves the OpenSSL NID for the TN Auth list extension. | |
| struct trusted_cert_store * | get_trusted_cert_store (void) |
| Retrieves the OpenSSL trusted cert store. | |
| const char * | vs_response_code_to_str (enum ast_stir_shaken_vs_response_code vs_rc) |
| Return string version of VS response code. | |
| #define STIR_SHAKEN_ATTESTATION_DS "STIR/SHAKEN/ATTESTATION" |
Definition at line 42 of file stir_shaken.h.
| #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.
| #define STIR_SHAKEN_VERIFICATION_DS "STIR/SHAKEN/VERIFICATION" |
Definition at line 32 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 stir_shaken_attestation_ds * ast_stir_shaken_get_attestation_datastore | ( | struct ast_channel * | chan | ) |
Definition at line 314 of file res_stir_shaken.c.
References ast_channel_datastore_find(), attestation_ds_info, ast_datastore::data, and NULL.
Referenced by stir_shaken_outgoing_request().
| 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 44 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 90 of file verification.c.
References ARRAY_IN_BOUNDS, NULL, and vs_rc_map.
Referenced by ast_stir_shaken_vs_verify(), and func_read_verification().