Wed Jan 8 2020 09:50:23

Asterisk developer's documentation


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 69 of file res_crypto.c.

Field Documentation

int delme

Whether we should be deleted

Definition at line 79 of file res_crypto.c.

Referenced by crypto_load(), and try_load_key().

unsigned char digest[16]

Last MD5 Digest

Definition at line 85 of file res_crypto.c.

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

char fn[256]

File name

Definition at line 73 of file res_crypto.c.

Referenced by handle_cli_keys_init(), and try_load_key().

int infd

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

Definition at line 81 of file res_crypto.c.

Referenced by pw_cb(), and try_load_key().

int ktype

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

Definition at line 75 of file res_crypto.c.

Referenced by ast_key_get(), crypto_load(), handle_cli_keys_init(), handle_cli_keys_show(), pw_cb(), and try_load_key().

char name[80]

Name of entity

Definition at line 71 of file res_crypto.c.

Referenced by ast_key_get(), crypto_load(), handle_cli_keys_show(), pw_cb(), and try_load_key().

int outfd

FD for output

Definition at line 83 of file res_crypto.c.

Referenced by pw_cb(), and try_load_key().

RSA* rsa

RSA structure (if successfully loaded)

Definition at line 77 of file res_crypto.c.

Referenced by crypto_load(), and try_load_key().


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