RSA Security logo

RSA BSAFE Cert-C
API Reference

EXTENSION_INFO Reference

Retrieves extension-entry information from an opaque EXTENSIONS_OBJ object, by calling the C_GetExtensionInfo() function.

Data Fields
type A pointer to an unsigned char array that specifies the extension type.
typeLen An unsigned int value that indicates the length of the extension type. See the tables for the type member.
criticalFlag An unsigned int value that indicates the extension entry's criticality.

Extension Criticality Description
NON_CRITICAL Extension is not critical.
CRITICAL Extension is critical.

valueCount An unsigned int value that indicates the number of value entries in the extension entry's value list.
  • If the extension type can have only one value at a time, the valueCount is 0 (zero) or 1 (one).
  • If the extension type can have multiple values at the same time, the valueCount is the current number of value entries in the extension's value list.
reserved Set this field to NULL_PTR; it is reserved for future use.

#include <certext.h>

00471 typedef struct EXTENSION_INFO {
00472   unsigned char *type;         /* extension's OID */
00473   unsigned int   typeLen;      /* extension's OID length */
00474   unsigned int   criticalFlag; /* extension criticality */
00475   unsigned int   valueCount;   /* extension value entries count */
00476   POINTER reserved;            /* reserved for future use */
00477 } EXTENSION_INFO;

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


RSA BSAFE® Cert-C 2.7 API Reference