RSA Security logo

RSA BSAFE Cert-C
API Reference

PKI_ENTITY_ID Struct Reference

Identifies a PKI entity by its certificate issuer name and serial number (ISSUER_SERIAL_NUMBER) or by its general name and key identifier (GENERAL_NAME_KEYID).

Use PKI_ENTITY_ID in the PKI_KEY_TRANSPORT_INFO and PKI_SENDER_INFO data structures.

Data Fields
type A int value that identifies the type of data structure in the id union. Cert-C supports the following PKI entity identifier types:

PKI Entity Identifier Type Description
PKI_ENTITY_ISSUER_SERIAL</td PKI entity identified by certificate issuer name and certificate serial number.
PKI_ENTITY_GENERALNAME_KEYID PKI entity identified by general name and key identifier.

id A union that contains a PKI entity identifier in the format specified by type.

#include <pkimsg.h>

01058 typedef struct {
01059   int  type;                /* one of PKI_ENTITY_* */
01060   union {
01061     ISSUER_SERIAL_NUMBER issuerSerialNumber;
01062     GENERAL_NAME_KEYID   generalNameKeyId;
01063   } id;
01064 } PKI_ENTITY_ID;

The documentation for this struct was generated from the following file:


RSA BSAFE® Cert-C 2.7 API Reference