vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 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 <GraphicString.h> |
| 6 | |
| 7 | /* |
| 8 | * GraphicString basic type description. |
| 9 | */ |
| 10 | static ber_tlv_tag_t asn1_DEF_GraphicString_tags[] = { |
| 11 | (ASN_TAG_CLASS_UNIVERSAL | (25 << 2)) |
| 12 | }; |
| 13 | asn1_TYPE_descriptor_t asn1_DEF_GraphicString = { |
| 14 | "GraphicString", |
| 15 | asn_generic_unknown_constraint, |
| 16 | OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */ |
| 17 | OCTET_STRING_encode_der, /* Implemented in terms of OCTET STRING */ |
| 18 | OCTET_STRING_print, /* non-ascii string */ |
| 19 | OCTET_STRING_free, |
| 20 | 0, /* Use generic outmost tag fetcher */ |
| 21 | asn1_DEF_GraphicString_tags, |
| 22 | sizeof(asn1_DEF_GraphicString_tags) |
| 23 | / sizeof(asn1_DEF_GraphicString_tags[0]), |
| 24 | 1, /* Single UNIVERSAL tag may be implicitly overriden */ |
| 25 | -1, /* Both ways are fine */ |
vlm | b42843a | 2004-06-05 08:17:50 +0000 | [diff] [blame] | 26 | 0 /* No specifics */ |
vlm | fa67ddc | 2004-06-03 03:38:44 +0000 | [diff] [blame] | 27 | }; |
| 28 | |