blob: 06fe4a7f73183cf70cd0058b77032b0189b4b41f [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001/*-
2 * Copyright (c) 2003 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
4 */
Lev Walkina9cc46e2004-09-22 16:06:28 +00005#include <asn_internal.h>
Lev Walkinf15320b2004-06-03 03:38:44 +00006#include <VideotexString.h>
7
8/*
9 * VideotexString basic type description.
10 */
Wim Lewis18c2ec92014-07-29 11:30:10 -070011static const ber_tlv_tag_t asn_DEF_VideotexString_tags[] = {
Lev Walkin188ed2c2004-09-13 08:31:01 +000012 (ASN_TAG_CLASS_UNIVERSAL | (21 << 2)), /* [UNIVERSAL 21] IMPLICIT */
13 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) /* ... OCTET STRING */
Lev Walkinf15320b2004-06-03 03:38:44 +000014};
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080015asn_TYPE_operation_t asn_OP_VideotexString = {
Lev Walkina9cc46e2004-09-22 16:06:28 +000016 OCTET_STRING_free,
17 OCTET_STRING_print, /* non-ascii string */
Lev Walkincd2f48e2017-08-10 02:14:59 -070018 OCTET_STRING_compare,
Lev Walkinf15320b2004-06-03 03:38:44 +000019 OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */
Lev Walkindc06f6b2004-10-20 15:50:55 +000020 OCTET_STRING_encode_der,
21 OCTET_STRING_decode_xer_hex,
22 OCTET_STRING_encode_xer,
Lev Walkincc159472017-07-06 08:26:36 -070023#ifdef ASN_DISABLE_OER_SUPPORT
24 0,
25 0,
26#else
Lev Walkin1d76f3c2017-07-25 07:58:05 -070027 OCTET_STRING_decode_oer,
28 OCTET_STRING_encode_oer,
Lev Walkincc159472017-07-06 08:26:36 -070029#endif /* ASN_DISABLE_OER_SUPPORT */
Lev Walkinb33425f2017-07-14 14:59:52 +040030#ifdef ASN_DISABLE_PER_SUPPORT
31 0,
32 0,
33#else
34 OCTET_STRING_decode_uper, /* Implemented in terms of OCTET STRING */
35 OCTET_STRING_encode_uper,
36#endif /* ASN_DISABLE_PER_SUPPORT */
Lev Walkina5972be2017-09-29 23:15:58 -070037 OCTET_STRING_random_fill,
Bi-Ruei, Chiu1f87ac02017-08-20 01:25:45 +080038 0 /* Use generic outmost tag fetcher */
39};
40asn_TYPE_descriptor_t asn_DEF_VideotexString = {
41 "VideotexString",
42 "VideotexString",
43 &asn_OP_VideotexString,
Lev Walkin5e033762004-09-29 13:26:15 +000044 asn_DEF_VideotexString_tags,
45 sizeof(asn_DEF_VideotexString_tags)
46 / sizeof(asn_DEF_VideotexString_tags[0]) - 1,
47 asn_DEF_VideotexString_tags,
48 sizeof(asn_DEF_VideotexString_tags)
49 / sizeof(asn_DEF_VideotexString_tags[0]),
Lev Walkina5972be2017-09-29 23:15:58 -070050 { 0, 0, asn_generic_unknown_constraint },
Lev Walkin449f8322004-08-20 13:23:42 +000051 0, 0, /* No members */
Lev Walkind9bd7752004-06-05 08:17:50 +000052 0 /* No specifics */
Lev Walkinf15320b2004-06-03 03:38:44 +000053};
54