blob: db699ca02670c0dd19fee9029d90117345fca93e [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 <ObjectDescriptor.h>
6
7/*
8 * ObjectDescriptor basic type description.
9 */
10static ber_tlv_tag_t asn1_DEF_ObjectDescriptor_tags[] = {
11 (ASN_TAG_CLASS_UNIVERSAL | (7 << 2))
12};
13asn1_TYPE_descriptor_t asn1_DEF_ObjectDescriptor = {
14 "ObjectDescriptor",
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_ascii, /* Treat as ASCII subset (it's not) */
19 OCTET_STRING_free,
20 0, /* Use generic outmost tag fetcher */
21 asn1_DEF_ObjectDescriptor_tags,
22 sizeof(asn1_DEF_ObjectDescriptor_tags)
23 / sizeof(asn1_DEF_ObjectDescriptor_tags[0]),
24 1, /* Single UNIVERSAL tag may be implicitly overriden */
25 -1, /* Both ways are fine */
vlmb42843a2004-06-05 08:17:50 +000026 0 /* No specifics */
vlmfa67ddc2004-06-03 03:38:44 +000027};
28