Fri Apr 29 2011 07:59:24

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


Field Documentation

int delme

Whether we should be deleted

Definition at line 78 of file res_crypto.c.

Referenced by crypto_load(), and try_load_key().

unsigned char digest[16]

Last MD5 Digest

Definition at line 84 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 72 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 80 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 74 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 70 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 82 of file res_crypto.c.

Referenced by pw_cb(), and try_load_key().

RSA* rsa

RSA structure (if successfully loaded)

Definition at line 76 of file res_crypto.c.

Referenced by crypto_load(), and try_load_key().


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