Asterisk - The Open Source Telephony Project GIT-master-b023714
Loading...
Searching...
No Matches
verification.h
Go to the documentation of this file.
1/*
2 * Asterisk -- An open source telephony toolkit.
3 *
4 * Copyright (C) 2023, Sangoma Technologies Corporation
5 *
6 * George Joseph <gjoseph@sangoma.com>
7 *
8 * See http://www.asterisk.org for more information about
9 * the Asterisk project. Please do not directly contact
10 * any of the maintainers of this project for assistance;
11 * the project provides a web site, mailing lists and IRC
12 * channels for your use.
13 *
14 * This program is free software, distributed under the terms of
15 * the GNU General Public License Version 2. See the LICENSE file
16 * at the top of the source tree.
17 */
18
19#ifndef VERIFICATION_H_
20#define VERIFICATION_H_
21
22#include "common_config.h"
23
51
52/*!
53 * \brief Load the stir/shaken verification service
54 *
55 * \retval 0 on success
56 * \retval -1 on error
57 */
58int vs_load(void);
59
60/*!
61 * \brief Reload the stir/shaken verification service
62 *
63 * \retval 0 on success
64 * \retval -1 on error
65 */
66int vs_reload(void);
67
68/*!
69 * \brief Unload the stir/shaken verification service
70 *
71 * \retval 0 on success
72 * \retval -1 on error
73 */
74int vs_unload(void);
75
76#endif /* VERIFICATION_H_ */
ast_stir_shaken_vs_response_code
#define AST_DECLARE_STRING_FIELDS(field_list)
Declare the fields needed in a structure.
#define AST_STRING_FIELD(name)
Declare a string field.
Main Channel structure associated with a channel.
const ast_string_field public_url
const ast_string_field orig_tn
const ast_string_field hash
const ast_string_field hash_family
unsigned char * raw_key
const ast_string_field attestation
const ast_string_field tag
const ast_string_field date_hdr
struct profile_cfg * eprofile
const ast_string_field identity_hdr
struct ast_channel * chan
const ast_string_field filename
const ast_string_field url_family
const ast_string_field caller_id
STACK_OF(X509) *cert_chain
const ast_string_field cert_cn
const ast_string_field cert_spc
enum ast_stir_shaken_vs_response_code failure_reason
Profile configuration for stir/shaken.
int vs_reload(void)
Reload the stir/shaken verification service.
int vs_load(void)
Load the stir/shaken verification service.
int vs_unload(void)
Unload the stir/shaken verification service.