Function SILC_ASN1_GENERAL_STRING
SYNOPSIS
Encoding:
SILC_ASN1_GENERAL_STRING(str, str_len)
SILC_ASN1_GENERAL_STRING_T(opts, tag, str, str_len)
Decoding:
SILC_ASN1_GENERAL_STRING(&str, &str_len)
SILC_ASN1_GENERAL_STRING_T(opts, tag, &str, &str_len)
DESCRIPTION
Macro used to encode or decode general string. The string type is
unsigned char and string length SilcUInt32.
The `opts' is SilcAsn1Options. The `tag' is a tag number.
NOTES
The string must be in UTF-8 encoding when encoding. The decoded
string will be in UTF-8 encoding. The actual data is encoded to
or decoded from general. NOTE: this implementation use 8-b MG SRC="index_pic.gif" BORDER="0" ALT="">SILC_ASN1_BOOLEAN
SILC_ASN1_INT
SILC_ASN1_SHORT_INT
SILC_ASN1_ENUM
SILC_ASN1_BIT_STRING
SILC_ASN1_NULL
SILC_ASN1_OID
SILC_ASN1_OCTET_STRING
SILC_ASN1_UTF8_STRING
SILC_ASN1_NUMERIC_STRING
SILC_ASN1_PRINTABLE_STRING
SILC_ASN1_TELETEX_STRING
SILC_ASN1_IA5_STRING
SILC_ASN1_VISIBLE_STRING
SILC_ASN1_UNIVERSAL_STRING
SILC_ASN1_BMP_STRING
SILC_ASN1_UNRESTRICTED_STRING
SILC_ASN1_GENERAL_STRING
SILC_ASN1_UTC_TIME
SILC_ASN1_GEN_TIME
SILC_ASN1_END
|