RSA BSAFE Micro Edition Suite

Streamlined security for mobile and embedded devices

Search  Print

R_TITEM Reference

This structure is used to hold generic data marked with a unique type.

Samples:

cm.c, cm_adv.c, cm_env.c, cm_open.c, cm_sign_sm.c, cm_smpl.c, ext.c, ocsp_req_create.c, and ocsp_resp_find_key.c.

#include <r_com.h>

typedef struct r_titem_st
{
    unsigned int type;

    unsigned int len;

    unsigned char *data;
} R_TITEM;

Data Fields

unsigned int type
 The type of the data stored in the array.

unsigned int len
 The length of the data array.

unsigned char* data
 The data array.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 072-001001-2100-001-000 - 2.1