1 /*-
2  * Copyright (c) 2003 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
5 #include <asn_internal.h>
6 #include <GeneralString.h>
7 
8 /*
9  * GeneralString basic type description.
10  */
11 static ber_tlv_tag_t asn_DEF_GeneralString_tags[] = {
12 	(ASN_TAG_CLASS_UNIVERSAL | (27 << 2)),	/* [UNIVERSAL 27] IMPLICIT ...*/
13 	(ASN_TAG_CLASS_UNIVERSAL | (4 << 2))	/* ... OCTET STRING */
14 };
15 asn_TYPE_descriptor_t asn_DEF_GeneralString = {
16 	"GeneralString",
17 	"GeneralString",
18 	OCTET_STRING_free,
19 	OCTET_STRING_print,         /* non-ascii string */
20 	asn_generic_unknown_constraint,
21 	OCTET_STRING_decode_ber,    /* Implemented in terms of OCTET STRING */
22 	OCTET_STRING_encode_der,
23 	OCTET_STRING_decode_xer_hex,
24 	OCTET_STRING_encode_xer,
25 	0, 0,
26 	0, /* Use generic outmost tag fetcher */
27 	asn_DEF_GeneralString_tags,
28 	sizeof(asn_DEF_GeneralString_tags)
29 	  / sizeof(asn_DEF_GeneralString_tags[0]) - 1,
30 	asn_DEF_GeneralString_tags,
31 	sizeof(asn_DEF_GeneralString_tags)
32 	  / sizeof(asn_DEF_GeneralString_tags[0]),
33 	0,	/* No PER visible constraints */
34 	0, 0,	/* No members */
35 	0	/* No specifics */
36 };
37 
38