blob: 4a6ad4756e76efa0fec5ae3743814bb44986ea5e [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 <T61String.h>
7
8/*
9 * T61String basic type description.
10 */
Wim Lewis18c2ec92014-07-29 11:30:10 -070011static const ber_tlv_tag_t asn_DEF_T61String_tags[] = {
Lev Walkin188ed2c2004-09-13 08:31:01 +000012 (ASN_TAG_CLASS_UNIVERSAL | (20 << 2)), /* [UNIVERSAL 20] IMPLICIT ...*/
13 (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) /* ... OCTET STRING */
Lev Walkinf15320b2004-06-03 03:38:44 +000014};
Lev Walkin5e033762004-09-29 13:26:15 +000015asn_TYPE_descriptor_t asn_DEF_T61String = {
Lev Walkinf15320b2004-06-03 03:38:44 +000016 "T61String",
Lev Walkindc06f6b2004-10-20 15:50:55 +000017 "T61String",
Lev Walkina9cc46e2004-09-22 16:06:28 +000018 OCTET_STRING_free,
19 OCTET_STRING_print, /* non-ascii string */
Lev Walkinf15320b2004-06-03 03:38:44 +000020 asn_generic_unknown_constraint,
21 OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */
Lev Walkindc06f6b2004-10-20 15:50:55 +000022 OCTET_STRING_encode_der,
23 OCTET_STRING_decode_xer_hex,
24 OCTET_STRING_encode_xer,
Lev Walkin725883b2006-10-09 12:07:58 +000025 OCTET_STRING_decode_uper,
26 OCTET_STRING_encode_uper,
Harald Welte0b57b082015-08-30 16:33:07 +020027 OCTET_STRING_decode_aper,
28 OCTET_STRING_encode_aper,
Lev Walkinf15320b2004-06-03 03:38:44 +000029 0, /* Use generic outmost tag fetcher */
Lev Walkin5e033762004-09-29 13:26:15 +000030 asn_DEF_T61String_tags,
31 sizeof(asn_DEF_T61String_tags)
32 / sizeof(asn_DEF_T61String_tags[0]) - 1,
33 asn_DEF_T61String_tags,
34 sizeof(asn_DEF_T61String_tags)
35 / sizeof(asn_DEF_T61String_tags[0]),
Lev Walkin59b176e2005-11-26 11:25:14 +000036 0, /* No PER visible constraints */
Lev Walkin449f8322004-08-20 13:23:42 +000037 0, 0, /* No members */
Lev Walkind9bd7752004-06-05 08:17:50 +000038 0 /* No specifics */
Lev Walkinf15320b2004-06-03 03:38:44 +000039};
40