|
Classes |
struct | soap_smd_data |
| The smdevp engine context data, which is hooked up to soap->data[0]. More...
|
Defines |
#define | SOAP_SMD_KEY_TYPE EVP_PKEY |
#define | SOAP_SMD_MAX_SIZE EVP_MAX_MD_SIZE |
#define | SOAP_SMD_MD5_SIZE (16) |
#define | SOAP_SMD_SHA1_SIZE (20) |
#define | SOAP_SMD_NONE (0) |
#define | SOAP_SMD_DGST_MD5 (0x1) |
#define | SOAP_SMD_DGST_SHA1 (0x2) |
#define | SOAP_SMD_HMAC_SHA1 (0x3) |
#define | SOAP_SMD_SIGN_DSA_SHA1 (0x4) |
#define | SOAP_SMD_SIGN_RSA_SHA1 (0x5) |
#define | SOAP_SMD_VRFY_DSA_SHA1 (0x6) |
#define | SOAP_SMD_VRFY_RSA_SHA1 (0x7) |
#define | SOAP_SMD_PASSTHRU (0x8) |
Functions |
size_t | soap_smd_size (int alg, const void *key) |
| Returns the number of octets needed to store the digest or signature returned by soap_smd_end.
|
int | soap_smd_begin (struct soap *soap, int alg, const void *key, int keylen) |
| Initiates a digest or signature computation.
|
int | soap_smd_end (struct soap *soap, char *buf, int *len) |
| Completes a digest or signature computation. Also deallocates temporary storage allocated by soap_smd_begin(), so MUST be called after soap_smd_begin().
|
int | soap_smd_init (struct soap *soap, struct soap_smd_data *data, int alg, const void *key, int keylen) |
| Initiates a (signed) digest computation.
|
int | soap_smd_update (struct soap *soap, struct soap_smd_data *data, const char *buf, size_t len) |
| Updates (signed) digest computation with message part.
|
int | soap_smd_final (struct soap *soap, struct soap_smd_data *data, char *buf, int *len) |
| Finalizes (signed) digest computation and returns digest or signature.
|