#include <asterisk/channel.h>
#include <asterisk/file.h>
Include dependency graph for crypto.h:
Go to the source code of this file.
Defines | |
#define | AST_KEY_PUBLIC (1 << 0) |
#define | AST_KEY_PRIVATE (1 << 1) |
Functions | |
ast_key * | ast_key_get (char *key, int type) |
Retrieve a key. | |
int | ast_key_init (int fd) |
Initialize keys (that is, retrieve pass codes for all private keys). | |
int | ast_check_signature (struct ast_key *key, char *msg, char *sig) |
Check the authenticity of a message signature using a given public key. | |
int | ast_sign (struct ast_key *key, char *msg, char *sig) |
|
|
|
|
|
Check the authenticity of a message signature using a given public key.
|
|
Retrieve a key.
|
|
Initialize keys (that is, retrieve pass codes for all private keys).
|
|
|