Asterisk - The Open Source Telephony Project GIT-master-a358458
Data Fields
ast_key Struct Reference

Data Fields

int delme
 
unsigned char digest [MD5_DIGEST_LENGTH]
 
char fn [256]
 
int infd
 
int ktype
 
char name [80]
 
int outfd
 
EVP_PKEY * pkey
 

Detailed Description

Definition at line 80 of file res_crypto.c.

Field Documentation

◆ delme

int delme

Whether we should be deleted

Definition at line 90 of file res_crypto.c.

Referenced by crypto_load(), and try_load_key().

◆ digest

unsigned char digest[MD5_DIGEST_LENGTH]

Last MD5 Digest

Definition at line 96 of file res_crypto.c.

Referenced by ast_check_signature_bin(), ast_sign_bin(), handle_cli_keys_show(), and try_load_key().

◆ fn

char fn[256]

File name

Definition at line 84 of file res_crypto.c.

Referenced by handle_cli_keys_init(), and try_load_key().

◆ infd

int infd

FD for input (or -1 if no input allowed, or -2 if we needed input)

Definition at line 92 of file res_crypto.c.

Referenced by pw_cb(), and try_load_key().

◆ ktype

int ktype

Key type (AST_KEY_PUB or AST_KEY_PRIV, along with flags from above)

Definition at line 86 of file res_crypto.c.

Referenced by ast_check_signature_bin(), ast_decrypt_bin(), ast_encrypt_bin(), ast_key_get(), ast_sign_bin(), crypto_load(), handle_cli_keys_init(), handle_cli_keys_show(), pw_cb(), and try_load_key().

◆ name

char name[80]

◆ outfd

int outfd

FD for output

Definition at line 94 of file res_crypto.c.

Referenced by pw_cb(), and try_load_key().

◆ pkey

EVP_PKEY* pkey

The documentation for this struct was generated from the following file: