RSA BSAFE Cert-C

Certificate Components for C

Crypto-C 6.2.1 Developer's Guide
Search

DEFINED_ATTRIBUTE Reference

Stores a domain-defined attribute of the O/R address.

Use this structure to fill the array of attributes in one of the following:

#include <certext.h>

typedef struct DEFINED_ATTRIBUTE {

  ITEM type;

  ITEM value;
} DEFINED_ATTRIBUTE;

Data Fields

ITEM type
 An ITEM structure that specifies the type of defined attribute in value. More...

ITEM value
 An ITEM structure that specifies a defined-attribute value. More...


Field Documentation

ITEM type
 

An ITEM structure that specifies the type of defined attribute in value. The data member points to one of the following defined-attribute types:

Defined-Attribute Type Description
printablestring A printable string; a member of a DEFINED_ATTRIBUTES structure
teletexstring A teletex string; a member of a TELETEX_DOMAIN_DEFINED_ATTRS structure (in an EXTENSION_ATTRIBUTE structure)

The maximum length is UB_DefinedAttributeTypeLength.

ITEM value
 

An ITEM structure that specifies a defined-attribute value. The data member points to a printable string or a teletex string, depending on the attribute type. The maximum length is UB_DefinedAttributeValueLength.


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