Functions |
| int | R_CM_new (R_CM_CTX *ctx, R_CM_TYPE type, R_CM **msg) |
| | Creates a new cryptographic message msg. More...
|
| int | R_CM_free (R_CM *msg) |
| | Deallocates the cryptographic message msg and all associated data. More...
|
| int | R_CM_from_binary (R_CM_CTX *ctx, R_FLAG_SHARE flag, R_CM_TYPE type, R_CM_ENCODING encoding_format, unsigned int max_buf_len, unsigned char *buf, unsigned int *consumed_len, R_CM **msg) |
| | Creates a cryptographic message from the specified binary data. More...
|
| int | R_CM_to_binary (R_CM *msg, R_CM_ENCODING encoding_format, unsigned int max_buf_len, unsigned char *buf, unsigned int *out_len) |
| | Creates a binary cryptographic message from the specified cryptographic message. More...
|
| int | R_CM_get_info (R_CM *msg, R_CM_INFO info_id, void *value) |
| | Retrieves information from the cryptographic message. More...
|
| int | R_CM_set_info (R_CM *msg, R_CM_INFO info_id, void *value) |
| | Sets information into the cryptographic message. More...
|
| int | R_CM_write (R_CM *msg, BIO *bio, R_FORMAT format, void *format_arg, R_CM_ENCODING encoding_format) |
| | Writes the cryptographic message to a BIO in the specified format. More...
|
| int | R_CM_write_file (R_CM *msg, char *filename, R_FORMAT format, void *format_arg, R_CM_ENCODING encoding_format) |
| | Writes the cryptographic message to a file in the specified format. More...
|
| int | R_CM_read (R_CM_CTX *ctx, BIO *bio, R_FORMAT format, R_CM_ENCODING encoding_format, R_CM **msg) |
| | Creates a new cryptographic message object from data read in from a BIO. More...
|
| int | R_CM_read_file (R_CM_CTX *ctx, char *filename, R_FORMAT format, R_CM_ENCODING encoding_format, R_CM **msg) |
| | Creates a new cryptographic message object from data read in from a file. More...
|
| int | R_CM_TYPE_from_string (char *str, R_CM_TYPE *type) |
| | Converts a cryptographic message type string into a cryptographic message type value. More...
|
| int | R_CM_TYPE_to_string (R_CM_TYPE type, unsigned int max_str_len, char *str) |
| | Converts a cryptographic message type value into a cryptographic message type string. More...
|
| int | R_CM_content_to_R_CM (R_CM *msg, R_FLAG_SHARE flag, R_CM **new_msg) |
| | Retrieves the ContentInfo block from the cryptographic message and creates a new cryptographic message from its contents. More...
|
| int | R_CM_content_from_R_CM (R_CM *msg, R_FLAG_SHARE flag, R_CM *in_msg) |
| | Sets the cryptographic message in_msg into the ContentInfo block of the cryptographic message msg. More...
|
| int | R_CM_get_index (R_CM *msg, R_CERT *cert, R_CM_INDEX *index) |
| | Finds the first signer or recipient in a cryptographic message that matches the subject certificate. More...
|
| int | R_CM_to_BIO (R_CM *msg, int flag, BIO **bio) |
| | Creates a BIO filter from the cryptographic message object. More...
|