GeneralString support in mini-ASN1 compiler
This commit is contained in:
parent
33075f229e
commit
a8f5b2ed50
@ -578,6 +578,8 @@ static int asn1_str2tag(const char *tagstr, int len)
|
|||||||
ASN1_GEN_STR("T61", V_ASN1_T61STRING),
|
ASN1_GEN_STR("T61", V_ASN1_T61STRING),
|
||||||
ASN1_GEN_STR("T61STRING", V_ASN1_T61STRING),
|
ASN1_GEN_STR("T61STRING", V_ASN1_T61STRING),
|
||||||
ASN1_GEN_STR("TELETEXSTRING", V_ASN1_T61STRING),
|
ASN1_GEN_STR("TELETEXSTRING", V_ASN1_T61STRING),
|
||||||
|
ASN1_GEN_STR("GeneralString", V_ASN1_GENERALSTRING),
|
||||||
|
ASN1_GEN_STR("GENSTR", V_ASN1_GENERALSTRING),
|
||||||
|
|
||||||
/* Special cases */
|
/* Special cases */
|
||||||
ASN1_GEN_STR("SEQUENCE", V_ASN1_SEQUENCE),
|
ASN1_GEN_STR("SEQUENCE", V_ASN1_SEQUENCE),
|
||||||
|
@ -97,7 +97,7 @@ bits is set to zero.
|
|||||||
=item B<UNIVERSALSTRING>, B<UNIV>, B<IA5>, B<IA5STRING>, B<UTF8>,
|
=item B<UNIVERSALSTRING>, B<UNIV>, B<IA5>, B<IA5STRING>, B<UTF8>,
|
||||||
B<UTF8String>, B<BMP>, B<BMPSTRING>, B<VISIBLESTRING>,
|
B<UTF8String>, B<BMP>, B<BMPSTRING>, B<VISIBLESTRING>,
|
||||||
B<VISIBLE>, B<PRINTABLESTRING>, B<PRINTABLE>, B<T61>,
|
B<VISIBLE>, B<PRINTABLESTRING>, B<PRINTABLE>, B<T61>,
|
||||||
B<T61STRING>, B<TELETEXSTRING>
|
B<T61STRING>, B<TELETEXSTRING>, B<GeneralString>
|
||||||
|
|
||||||
These encode the corresponding string types. B<value> represents the
|
These encode the corresponding string types. B<value> represents the
|
||||||
contents of this structure. The format can be B<ASCII> or B<UTF8>.
|
contents of this structure. The format can be B<ASCII> or B<UTF8>.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user