Thu Oct 11 06:50:23 2012

Asterisk developer's documentation


ast_key Struct Reference

Collaboration diagram for ast_key:

Collaboration graph
[legend]

Data Fields

int delme
unsigned char digest [16]
char fn [256]
int infd
int ktype
struct {
   struct ast_key *   next
list
char name [80]
int outfd
RSA * rsa

Detailed Description

Definition at line 65 of file res_crypto.c.


Field Documentation

int delme

Whether we should be deleted

Definition at line 75 of file res_crypto.c.

Referenced by crypto_load(), and try_load_key().

unsigned char digest[16]

Last MD5 Digest

Definition at line 81 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 69 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 77 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 71 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().

struct { ... } list

char name[80]

struct ast_key* next [read]

Definition at line 82 of file res_crypto.c.

int outfd

FD for output

Definition at line 79 of file res_crypto.c.

Referenced by pw_cb(), and try_load_key().

RSA* rsa

RSA structure (if successfully loaded)

Definition at line 73 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:

Generated on Thu Oct 11 06:50:23 2012 for Asterisk - the Open Source PBX by  doxygen 1.5.6