Asterisk - The Open Source Telephony Project  18.5.0
Data Fields
ast_key Struct Reference

Data Fields

int delme
 
unsigned char digest [16]
 
char fn [256]
 
int infd
 
int ktype
 
char name [80]
 
int outfd
 
RSA * rsa
 

Detailed Description

Definition at line 74 of file res_crypto.c.

Field Documentation

◆ delme

int delme

Whether we should be deleted

Definition at line 84 of file res_crypto.c.

Referenced by crypto_load(), and try_load_key().

◆ digest

unsigned char digest[16]

Last MD5 Digest

Definition at line 90 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 78 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 86 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 80 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 88 of file res_crypto.c.

Referenced by pw_cb(), and try_load_key().

◆ rsa

RSA* rsa

RSA structure (if successfully loaded)

Definition at line 82 of file res_crypto.c.

Referenced by ast_check_signature_bin(), ast_decrypt_bin(), ast_encrypt_bin(), ast_sign_bin(), crypto_load(), and try_load_key().


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