4 * @brief String mappings for asn1.h
9 * Copyright (C) 2006 Martin Willi
10 * Hochschule fuer Technik Rapperswil
12 * This program is free software; you can redistribute it and/or modify it
13 * under the terms of the GNU General Public License as published by the
14 * Free Software Foundation; either version 2 of the License, or (at your
15 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
25 mapping_t asn1_type_m
[] = {
26 {ASN1_END
, "ASN1_END"},
27 {ASN1_BOOLEAN
, "ASN1_BOOLEAN"},
28 {ASN1_INTEGER
, "ASN1_INTEGER"},
29 {ASN1_BITSTRING
, "ASN1_BITSTRING"},
30 {ASN1_OCTETSTRING
, "ASN1_OCTETSTRING"},
31 {ASN1_NULL
, "ASN1_NULL"},
32 {ASN1_OID
, "ASN1_OID"},
33 {ASN1_ENUMERATED
, "ASN1_ENUMERATED"},
34 {ASN1_UTF8STRING
, "ASN1_UTF8STRING"},
35 {ASN1_NUMERICSTRING
, "ASN1_NUMERICSTRING"},
36 {ASN1_PRINTABLESTRING
, "ASN1_PRINTABLESTRING"},
37 {ASN1_T61STRING
, "ASN1_T61STRING"},
38 {ASN1_VIDEOTEXSTRING
, "ASN1_VIDEOTEXSTRING"},
39 {ASN1_IA5STRING
, "ASN1_IA5STRING"},
40 {ASN1_UTCTIME
, "ASN1_UTCTIME"},
41 {ASN1_GENERALIZEDTIME
, "ASN1_GENERALIZEDTIME"},
42 {ASN1_GRAPHICSTRING
, "ASN1_GRAPHICSTRING"},
43 {ASN1_VISIBLESTRING
, "ASN1_VISIBLESTRING"},
44 {ASN1_GENERALSTRING
, "ASN1_GENERALSTRING"},
45 {ASN1_UNIVERSALSTRING
, "ASN1_UNIVERSALSTRING"},
46 {ASN1_BMPSTRING
, "ASN1_BMPSTRING"},
47 {ASN1_CONSTRUCTED
, "ASN1_CONSTRUCTED"},
48 {ASN1_SEQUENCE
, "ASN1_SEQUENCE"},
49 {ASN1_SET
, "ASN1_SET"},
50 {ASN1_TAG_E_0
, "ASN1_TAG_E_0"},
51 {ASN1_TAG_E_1
, "ASN1_TAG_E_1"},
52 {ASN1_TAG_E_2
, "ASN1_TAG_E_2"},
53 {ASN1_TAG_E_3
, "ASN1_TAG_E_3"},
54 {ASN1_TAG_E_4
, "ASN1_TAG_E_4"},
55 {ASN1_TAG_E_5
, "ASN1_TAG_E_5"},
56 {ASN1_TAG_E_6
, "ASN1_TAG_E_6"},
57 {ASN1_TAG_E_7
, "ASN1_TAG_E_7"},
58 {ASN1_TAG_I_0
, "ASN1_TAG_I_0"},
59 {ASN1_TAG_I_1
, "ASN1_TAG_I_1"},
60 {ASN1_TAG_I_2
, "ASN1_TAG_I_2"},
61 {ASN1_TAG_I_3
, "ASN1_TAG_I_3"},
62 {ASN1_TAG_I_4
, "ASN1_TAG_I_4"},
63 {ASN1_TAG_I_5
, "ASN1_TAG_I_5"},
64 {ASN1_TAG_I_6
, "ASN1_TAG_I_6"},
65 {ASN1_TAG_I_7
, "ASN1_TAG_I_7"},
66 {ASN1_CHOICE
, "ASN1_CHOICE"},
69 mapping_t asn1_flag_m
[] = {
70 {ASN1_OPTIONAL
, "ASN1_OPTIONAL"},
71 {ASN1_DEFAULT
, "ASN1_DEFAULT"},
72 {ASN1_MPZ
, "ASN1_MPZ"},