| RSA BSAFE Micro Edition Suite |
Streamlined security for mobile and embedded devices |
 
![]() |
The attributes structure can be added/retrieved to/from signed cryptographic messages via calls to R_CM_signer_set_attribute() and R_CM_signer_get_attribute() respectively.
This structure provides access to:
#include <r_cm.h>
struct r_cm_attr_st { R_CM_INDEX entity_index; R_CM_INDEX attr_index; R_CM_ATTR_SECURITY security; unsigned char *oid; unsigned int oid_len; int data_type; unsigned char *data; unsigned int data_len; };
Data Fields | |
| R_CM_INDEX | entity_index |
| The index to the entity holding attributes - for example, signer or recipient. | |
| R_CM_INDEX | attr_index |
| The index of the attribute in the list in the entity. | |
| R_CM_ATTR_SECURITY | security |
| Indicates the security type of the attribute. More... | |
| unsigned char* | oid |
| The Object Identifier (OID) value that identifies the attribute. | |
| unsigned int | oid_len |
| The length of the identifying Object Identifier (OID) value. | |
| int | data_type |
| The type of the data. | |
| unsigned char* | data |
| The attribute data. | |
| unsigned int | data_len |
| The length of the attribute data. | |
|
|
Indicates the security type of the attribute. See Attribute Security for valid values. |