Functions |
| int | R_CM_sign (R_CM *msg, R_CM_INDEX index) |
| | Generates a signature for each signer of the message. More...
|
| int | R_CM_signer_verify (R_CM *msg, R_CERT_STORE_CTX *store_ctx, R_VERIFY_CTX *vfy_ctx, R_CM_INDEX index, int *is_verified) |
| | Checks the certificate chain verification of the specified signer at the specified index. More...
|
| int | R_CM_signature_verify (R_CM *msg, R_CM_INDEX index, R_CM *data_msg, int *is_verified) |
| | Verifies that the signer specified by the index signed the data in the cryptographic message. More...
|
| int | R_CM_get_signer_count (R_CM *msg, int *count) |
| | Retrieves a count of signers from a cryptographic message. More...
|
| int | R_CM_signer_add (R_CM *msg, R_CERT *cert, R_PKEY *key, R_CR_ALG_ID dgst, R_CM_INDEX *index) |
| | Creates a new signer and returns the index for future reference. More...
|
| int | R_CM_signer_delete (R_CM *msg, R_CM_INDEX index) |
| | Removes the signer at the index index from the list of signers. More...
|
| int | R_CM_signer_is_attribute_present (R_CM *msg, R_CM_INDEX index, R_CM_INFO info_id) |
| | Checks a signer in the cryptographic message for the specified attribute. More...
|
| int | R_CM_signer_get_attribute (R_CM *msg, R_CM_INDEX index, R_CM_INFO info_id, R_CM_ATTR *attr) |
| | Obtains the details of the attribute of the signer at the specified index with the specified attribute type from the cryptographic message. More...
|
| int | R_CM_signer_set_attribute (R_CM *msg, R_CM_INDEX index, R_CM_INFO info_id, R_CM_ATTR *attr) |
| | Sets the details of the attribute of the signer at the specified index with the specified attribute type from the cryptographic message. More...
|
| int | R_CM_get_verified_signer (R_CM *msg, R_CERT_STORE_CTX *store_ctx, R_VERIFY_CTX *vfy_ctx, R_CM_INDEX start_index, R_CM_INDEX *index) |
| | Returns the index of the next signer that passes a certificate chain verification. More...
|
| int | R_CM_verify (R_CM *msg, R_CERT_STORE_CTX *store_ctx, R_VERIFY_CTX *vfy_ctx, R_CM_INDEX index, R_CM *data_msg, int *is_verified) |
| | Verifies that the signer specified by the index can be used to create a valid certificate chain and to verify the data in this cryptographic message or the one supplied. More...
|
| int | R_CM_signer_get_R_VERIFY_STATE (R_CM *msg, R_CM_INDEX index, R_VERIFY_STATE **vfy_state) |
| | Returns the verification state vfy_state for the specified signer identified by index. More...
|
| void | R_CM_ATTR_msg_dgst_set_data (R_CM_ATTR *attr, unsigned char *buf, unsigned int len) |
| | Fills in the data fields of an attribute as required for the message digest attribute. More...
|
| void | R_CM_ATTR_signing_time_set_data (R_CM_ATTR *attr, int format, unsigned char *buf, unsigned int len) |
| | Fills in the data fields of an attribute as required for the signing time attribute. More...
|
| void | R_CM_ATTR_counter_sig_set_data (R_CM_ATTR *attr, unsigned char *buf, unsigned int len) |
| | Fills in the data fields of an attribute as required for the counter signature attribute. More...
|
| void | R_CM_ATTR_content_type_set_data (R_CM_ATTR *attr, unsigned char *buf, unsigned int len) |
| | Fills in the data fields of an attribute as required for the content type attribute. More...
|