RSA BSAFE Cert-C Micro Edition

The power of PKI for the smallest of devices

ber_type.h File Reference

This file contains the ASN.1 types used when performing BER (Basic Encoding Rules) encoding and decoding operations.

Go to the source code of this file.

Defines

#define BER_EOC
 End of content for encoded items with unspecified length.

#define BER_BOOLEAN
 Either "true" or "false" as per the ASN.1 boolean values, BER_TRUE and BER_FALSE.

#define BER_INTEGER
 Effectively unbounded but commonly used to hold values that will fit into a long.

#define BER_BIT_STRING
 An array of bytes in which the first byte is the number of bits to discard from the end.

#define BER_OCTET_STRING
 An 8-bit (hexadecimal byte) array or byte array.

#define BER_NULL
 A BER object that has no data, used when data is specified for the general case but none is required in a specific case.

#define BER_OBJECT
 A BER object used to hold an ASN.1 identifier that describes the make-up of the rest of the constructed elements.

#define BER_OBJECT_DESCRIPTOR
 An indefinitely long string of characters (plus space) used to describe an object.

#define BER_EXTERNAL
 Embedded material that is not defined using ASN.1 (for example, a GIF image). More...

#define BER_REAL
 A comma-separated list of three integers for the mantissa, the base (2 or 10), and the exponent. More...

#define BER_ENUMERATED
 A comma-separated list of names.

#define BER_EMBEDDED_PDV
 Embedded material that is not defined using ASN.1 (for example, a GIF image). More...

#define BER_UTF8STRING
 A character string which may contain characters from any language.

#define BER_SEQUENCE
 A constructed type that is used to hold an ordered list of elements.

#define BER_SET
 A constructed type that is used to hold a list of repeating elements.

#define BER_NUMERICSTRING
 A string of characters containing the digits zero to 9 and space.

#define BER_PRINTABLESTRING
 A character array that only allows a small subset of values, namely [A-Z] [a-z] [0-9] and [ '()+,-./:=?].

#define BER_T61STRING
 A deprecated synonym for BER_TELETEXSTRING.

#define BER_TELETEXSTRING
 A character string that allows register entries 6, 87, 102, 103, 106, 107, 126, 144, 150, 153, 156, 164, 165 and 168 (plus space and delete) of the International Register of Coded Character Sets.

#define BER_VIDEOTEXSTRING
 A character string that allows gives access to the "characters" used to build crude pictures on videotext systems.

#define BER_IA5STRING
 A character string that allows register entries 1 and 6 (plus space and delete) of the International Register of Coded Character Sets to be used with Escape Sequences.

#define BER_UTCTIME
 A character string representing the date and time in the format:
ddmmyyhhmmssZ.

#define BER_GENERALIZEDTIME
 A character string representing the date and time in the format:
ddmmyyyyhhmmssZ.

#define BER_GRAPHICSTRING
 A character string that allows any of the Register Entries in the International Register for printable characters other than the control character entries.

#define BER_ISO64STRING
 A deprecated synonym for BER_VISIBLESTRING.

#define BER_VISIBLESTRING
 A character string that allows register entry 6 of the International Register of Coded Character Sets to be used with Escape Sequences.

#define BER_GENERALSTRING
 A character string that allows any of the Register Entries in the International Register for printable characters.

#define BER_UNIVERSALSTRING
 A character string which may contain characters from any language without using combining characters.

#define BER_BMPSTRING
 A character string which may contain characters from any living language.

#define BER_FALSE
 The boolean value "false" for the BER_BOOLEAN ASN.1 type.

#define BER_TRUE
 The boolean value "true" for the BER_BOOLEAN ASN.1 type.


Define Documentation

#define BER_EMBEDDED_PDV