blob: 08b316987dfa43fdd91ed1b7e1986efcf2768dd0 [file] [log] [blame]
vlmfa67ddc2004-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 */
26};
27