RSA BSAFE Cert-C

Certificate Components for C

Crypto-C 6.2.1 Developer's Guide
Search

EXTENSION_ATTRIBUTE Reference

Stores an extension attribute of the O/R address.

Use this structure to fill the array of attributes in an EXTENSION_ATTRIBUTES structure.

#include <certext.h>

typedef struct EXTENSION_ATTRIBUTE {

  unsigned int type;

  POINTER      value;
} EXTENSION_ATTRIBUTE;

Data Fields

unsigned int type
 An unsigned int value that indicates the extension attribute type. More...

POINTER value
 A pointer to the extension attribute value of the O/R address. More...


Field Documentation

unsigned int type
 

An unsigned int value that indicates the extension attribute type. The following types are defined:

Extension Attribute Type Description
EA_COMMON_NAME ITEM - Printable string
EA_TELETEX_COMMON_NAME ITEM - Teletex/T61 string
EA_TELETEX_ORG_NAME ITEM - Teletex/T61 string
EA_TELETEX_PERSONAL_NAME TELETEX_PERSONAL_NAME
EA_TELETEX_ORG_UNIT_NAME ORG_UNIT_NAMES
EA_TELETEX_DOMAIN_DEFINED_ATTRS TELETEX_DOMAIN_DEFINED_ATTRS
EA_PDS_NAME ITEM - Printable string
EA_PHYSICAL_DELIVERY_COUNTRY_NAME TYPED_STRING - Printable string or numeric string
EA_POSTAL_CODE TYPED_STRING - Printable string or numeric string
EA_PHYSICAL_DELIVERY_OFFICE_NAME PDS_PARAMETER
EA_PHYSICAL_DELIVERY_OFFICE _NUMBER PDS_PARAMETER
EA_EXTENSION_OR_ADDR_COMPONENTS PDS_PARAMETER
EA_PHYSICAL_DELIVERY_PERSONAL_NAME PDS_PARAMETER
EA_PHYSICAL_DELIVERY_ORG_NAME PDS_PARAMETER
EA_PHYSICAL_DELIVERY_ADDR_COMPONENTS PDS_PARAMETER
EA_UNFORMATTED_POSTAL_ADDR UNFORMATTED_POSTAL_ADDR
EA_STREET_ADDR PDS_PARAMETER
EA_PO_BOX PDS_PARAMETER
EA_POSTE_RESTANTE_ADDR PDS_PARAMETER
EA_UNIQUE_POSTAL_NAME PDS_PARAMETER
EA_LOCAL_POSTAL_ATTRS PDS_PARAMETER
EA_EXTENDED_NETWORK_ADDR EXTENDED_NETWORK_ADDR
EA_TERMINAL_TYPE Integer, defined as one of the following values:
EA_TT_TELEX 3:
EA_TT_TELETEX 4:
EA_TT_G3_FACSIMILE 5:
EA_TT_G4_FACSIMILE 6:
EA_TT_IA5_TERMINAL 7:
EA_TT_VIDEOTEX 8:

The maximum lengths for the string types are:

String Type Length
EA_COMMON_NAME UB_CommonNameLength
EA_TELETEX_COMMON_NAME UB_CommonNameLength
EA_TELETEX_ORG_NAME UB_OrganizationNameLength
EA_PDS_NAME UB_pdsNameLength
EA_PHYSICAL_DELIVERY_COUNTRY_NAME UB_CountryNameNumericLength for a numeric string, or
UB_CountryNameAlphaLength for a printable string
EA_POSTAL_CODE UB_postalCodeLength

POINTER value
 

A pointer to the extension attribute value of the O/R address. The structure that holds the attribute value is determined by the attribute type</ttm>.


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