blob: a86d0cec38f726233feec1c5fc1ee64091069874 [file] [log] [blame]
Lev Walkinf15320b2004-06-03 03:38:44 +00001/*-
2 * Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
3 * Redistribution and modifications are permitted subject to BSD license.
4 */
5#include <ISO646String.h>
6
7/*
8 * ISO646String basic type description.
9 */
10static ber_tlv_tag_t asn1_DEF_ISO646String_tags[] = {
11 (ASN_TAG_CLASS_UNIVERSAL | (26 << 2))
12};
13asn1_TYPE_descriptor_t asn1_DEF_ISO646String = {
14 "ISO646String",
15 VisibleString_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_ascii, /* ASCII subset */
19 OCTET_STRING_free,
20 0, /* Use generic outmost tag fetcher */
21 asn1_DEF_ISO646String_tags,
22 sizeof(asn1_DEF_ISO646String_tags)
23 / sizeof(asn1_DEF_ISO646String_tags[0]),
24 1, /* Single UNIVERSAL tag may be implicitly overriden */
25 -1, /* Both ways are fine */
Lev Walkin449f8322004-08-20 13:23:42 +000026 0, 0, /* No members */
Lev Walkind9bd7752004-06-05 08:17:50 +000027 0 /* No specifics */
Lev Walkinf15320b2004-06-03 03:38:44 +000028};
29