RSA BSAFE Cert-C

Certificate Components for C

Crypto-C 6.2.1 Developer's Guide
Search

TYPED_STRING Reference

Holds a typed string.

It can be used as either a standard attribute or an extension attribute in an OR_ADDRESS structure (which can be used as the alternate name in an ALTERNATE_NAME structure).

#include <certext.h>

typedef struct TYPED_STRING {

  unsigned int  type;

  ITEM          value;
} TYPED_STRING;

Data Fields

unsigned int type
 An unsigned int value that indicates the character type of the string in value. More...

ITEM value
 An ITEM structure whose data member points to the string value and whose len member is the string length in Bytes.


Field Documentation

unsigned int type
 

An unsigned int value that indicates the character type of the string in value. Set one of the following ASN.1 Value Tags, defined in the asn1pub.h header file, to identify the character type:

ASN.1 Value Tag Character Type
VT_UTF8_STRING UTF-8 string
VT_NUMERIC_STRING Numeric string
VT_PRINTABLE_STRING Printable string
VT_T61_STRING Teletex 61 string
VT_IA5_STRING IA5 string
VT_BMP_STRING BMP string
VT_UNIVERSAL_STRING Universal string


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