GeneralString support in mini-ASN1 compiler

This commit is contained in:
Dr. Stephen Henson 2003-02-11 14:06:27 +00:00
parent 33075f229e
commit a8f5b2ed50
2 changed files with 3 additions and 1 deletions

View File

@ -578,6 +578,8 @@ static int asn1_str2tag(const char *tagstr, int len)
ASN1_GEN_STR("T61", V_ASN1_T61STRING),
ASN1_GEN_STR("T61STRING", 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 */
ASN1_GEN_STR("SEQUENCE", V_ASN1_SEQUENCE),

View File

@ -97,7 +97,7 @@ bits is set to zero.
=item B<UNIVERSALSTRING>, B<UNIV>, B<IA5>, B<IA5STRING>, B<UTF8>,
B<UTF8String>, B<BMP>, B<BMPSTRING>, B<VISIBLESTRING>,
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
contents of this structure. The format can be B<ASCII> or B<UTF8>.