RSA Security logo

RSA BSAFE Cert-C
API Reference

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.

Data Fields
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

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.

#include <certext.h>

01482 typedef struct EXTENSION_ATTRIBUTE {
01483   unsigned int type;
01484   POINTER      value;    /* Pointer to value defined by "type" */
01485 } EXTENSION_ATTRIBUTE;

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


RSA BSAFE® Cert-C 2.7 API Reference