18 #ifndef _STIR_SHAKEN_CERTIFICATE_H 19 #define _STIR_SHAKEN_CERTIFICATE_H 21 #include <openssl/evp.h> EVP_PKEY * stir_shaken_certificate_get_private_key(struct stir_shaken_certificate *cert)
Get the private key associated with a certificate.
Full structure for sorcery.
int stir_shaken_certificate_unload(void)
Unload time cleanup for the stir/shaken 'certificate' configuration.
struct stir_shaken_certificate * stir_shaken_certificate_get_by_caller_id_number(const char *caller_id_number)
Get a STIR/SHAKEN certificate by caller ID number.
const char * stir_shaken_certificate_get_attestation(struct stir_shaken_certificate *cert)
Get the attestation level associated with a certificate.
const char * stir_shaken_certificate_get_public_cert_url(struct stir_shaken_certificate *cert)
Get the public key URL associated with a certificate.
int test_stir_shaken_create_cert(const char *caller_id_number, const char *file_path)
int test_stir_shaken_cleanup_cert(const char *caller_id_number)
const ast_string_field caller_id_number
int stir_shaken_certificate_load(void)
Load time initialization for the stir/shaken 'certificate' configuration.