RSA BSAFE Cert-C

Certificate Components for C

Crypto-C 6.2.1 Developer's Guide
Search

RECIPIENT_INFO Struct Reference

Holds message recipient information associated with a single recipient of a CMS message (supported) or a PKI message (deprecated).

The subordinate KEY_TRANSPORT_INFO structure is used to determine or obtain the key used to encrypt an internal content encryption key.

Samples:

cms.c, datamsg.c, and p7stream.c.

#include <cms.h>

typedef struct {

  int type;

  union {
    KEY_TRANSPORT_INFO keyTrans;
  } info;
} RECIPIENT_INFO;

Data Fields

int type
 An int value that identifies the type of data structure in the info union. More...

union RECIPIENT_INFO::@9 info
 A union that contains recipient information in the format specified by type. More...


Field Documentation

union { ... } info
 

A union that contains recipient information in the format specified by type. keyTrans is a KEY_TRANSPORT_INFO structure.

int type
 

An int value that identifies the type of data structure in the info union. Cert-C supports the following recipient information type:

Recipient Information Type Description
KEY_TRANSPORT Contains a KEY_TRANSPORT_INFO data structure.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 067-001001-2720-001-000 - 2.7.2