[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
2.3 Library Notes
The header file of this library is ‘libtasn1.h’.
The main type used in it is ASN1_TYPE
, and it's used to store
the ASN.1 definitions and structures (instances).
The constant ASN1_TYPE_EMPTY can be used for the variable initialization. For example:
ASN1_TYPE definitions=ASN1_TYPE_EMPTY; |
Some functions require a parameter named errorDescription of char*
type. The array must be already allocated and must have at least
ASN1_MAX_ERROR_DESCRIPTION_SIZE
bytes (E.g, as in char
Description[ASN1_MAX_ERROR_DESCRIPTION_SIZE];
).
ASN1_MAX_NAME_SIZE
indicates the maximum number of characters of a
name inside a file with ASN1 definitions.