SilcAsn1Tag
NAME
typedef enum { ... } SilcAsn1Tag;
DESCRIPTION
Universal ASN.1 tags. Usually these tags are given automatically
to the silc_asn1_encode and silc_asn1_decode by using the various
macros (such as SILC_ASN1_BOOLEAN). Some macros may take the tag
as additional argument.
SOURCE
typedef enum {
SILC_ASN1_TAG_BOOLEAN = 1, /* SILC_ASN1_BOOLEAN */
SILC_ASN1_TAG_INTEGER = 2, /* SILC_ASN1_INT */
SILC_ASN1_TAG_BIT_STRING = 3, /* SILC_ASN1_BIT_STRING */
SILC_ASN1_TAG_OCTET_STRING = 4, /* SILC_ASN1_OCTET_STRING */
SILC_ASN1_TAG_NULL = 5, /* SILC_ASN1_NULL */
SILC_ASN1_TAG_OID = 6, /* SILC_ASN1_OID */
SILC_ASN1_TAG_ODE = 7, /* not supported */
SILC_ASN1_TAG_ETI = 8, /* not supported */
SILC_ASN1_TAG_REAL = 9, /* not supported */
SILC_ASN1_TAG_ENUM = 10, /* SILC_ASN1_ENUM */
SILC_ASN1_TAG_EMBEDDED = 11, /* not supported */
SILC_ASN1_TAG_UTF8_STRING = 12, /* SILC_ASN1_UTF8_STRING */
SILC_ASN1_TAG_ROI = 13, /* not supported */
SILC_ASN1_TAG_SEQUENCE = 16, /* SILC_ASN1_SEQUENCE */
SILC_ASN1_TAG_SET = 17, /* SILC_ASN1_SET */
SILC_ASN1_TAG_NUMERIC_STRING = 18, /* SILC_ASN1_NUMERIC_STRING */
SILC_ASN1_TAG_PRINTABLE_STRING = 19, /* SILC_ASN1_PRINTABLE_STRING */
SILC_ASN1_TAG_TELETEX_STRING = 20, /* SILC_ASN1_TELETEX_STRING */
SILC_ASN1_TAG_VIDEOTEX_STRING = 21, /* not supported */
SILC_ASN1_TAG_IA5_STRING = 22, /* SILC_ASN1_IA5_STRING */
SILC_ASN1_TAG_UTC_TIME = 23, /* SILC_ASN1_UTC_TIME */
SILC_ASN1_TAG_GENERALIZED_TIME = 24, /* SILC_ASN1_GENERAL_STRING */
SILC_ASN1_TAG_GRAPHIC_STRING = 25, /* not supported */
SILC_ASN1_TAG_VISIBLE_STRING = 26, /* SILC_ASN1_VISIBLE_STRING */
SILC_ASN1_TAG_GENERAL_STRING = 27, /* SILC_ASN1_GENERAL_STRING */
SILC_ASN1_TAG_UNIVERSAL_STRING = 28, /* SILC_ASN1_UNIVERSAL_STRING */
SILC_ASN1_TAG_UNRESTRICTED_STRING = 29, /* SILC_ASN1_UNRESTRICTED_STRING */
SILC_ASN1_TAG_BMP_STRING = 30, /* SILC_ASN1_BMP_STRING */
} SilcAsn1Tag;
|