RSA BSAFE Cert-C

Certificate Components for C

Crypto-C 6.2.1 Developer's Guide
Search

EXTENSION_INFO Reference

Retrieves extension entry information from an opaque EXTENSIONS_OBJ by calling C_GetExtensionInfo().

Samples:

extnutil.c, myprint.c, and saltname.c.

#include <certext.h>

typedef struct EXTENSION_INFO {

  unsigned char *type;

  unsigned int   typeLen;

  unsigned int   criticalFlag;

  unsigned int   valueCount;

  POINTER reserved;
} EXTENSION_INFO;

Data Fields

unsigned char* type
 A pointer to an unsigned char array that specifies the extension type.

unsigned int typeLen
 An unsigned int value that indicates the length of the extension type. More...

unsigned int criticalFlag
 An unsigned int value that indicates the extension entry's criticality.
. More...

unsigned int valueCount
 An unsigned int value that indicates the number of value entries in the extension entry's value list. More...

POINTER reserved
 Set this field to NULL_PTR. More...


Field Documentation

unsigned int 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.

POINTER reserved
 

Set this field to NULL_PTR. Reserved for future use.

unsigned int typeLen
 

An unsigned int value that indicates the length of the extension type. See the tables for the type member.

unsigned int 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.


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