xref: /freebsd/crypto/heimdal/lib/asn1/asn1_err.et (revision e6bfd18d21b225af6a0ed67ceeaf1293b7b9eba5)
1#
2# Error messages for the asn.1 library
3#
4# This might look like a com_err file, but is not
5#
6id "$Id$"
7
8error_table asn1
9prefix ASN1
10error_code BAD_TIMEFORMAT,	"ASN.1 failed call to system time library"
11error_code MISSING_FIELD,	"ASN.1 structure is missing a required field"
12error_code MISPLACED_FIELD,	"ASN.1 unexpected field number"
13error_code TYPE_MISMATCH,	"ASN.1 type numbers are inconsistent"
14error_code OVERFLOW,		"ASN.1 value too large"
15error_code OVERRUN,		"ASN.1 encoding ended unexpectedly"
16error_code BAD_ID,		"ASN.1 identifier doesn't match expected value"
17error_code BAD_LENGTH,		"ASN.1 length doesn't match expected value"
18error_code BAD_FORMAT,		"ASN.1 badly-formatted encoding"
19error_code PARSE_ERROR,		"ASN.1 parse error"
20error_code EXTRA_DATA,		"ASN.1 extra data past end of end structure"
21error_code BAD_CHARACTER,	"ASN.1 invalid character in string"
22error_code MIN_CONSTRAINT,	"ASN.1 too few elements"
23error_code MAX_CONSTRAINT,	"ASN.1 too many elements"
24error_code EXACT_CONSTRAINT,	"ASN.1 wrong number of elements"
25error_code INDEF_OVERRUN,   	"ASN.1 BER indefinte encoding overrun"
26error_code INDEF_UNDERRUN,   	"ASN.1 BER indefinte encoding underun"
27error_code GOT_BER,		"ASN.1 got BER encoded when expected DER"
28error_code INDEF_EXTRA_DATA,	"ASN.1 EoC tag contained data"
29end
30