ObjectDescriptor.c
Go to the documentation of this file.
1 /*-
2  * Copyright (c) 2003, 2004 Lev Walkin <vlm@lionet.info>. All rights reserved.
3  * Redistribution and modifications are permitted subject to BSD license.
4  */
7 
8 /*
9  * ObjectDescriptor basic type description.
10  */
12  (ASN_TAG_CLASS_UNIVERSAL | (7 << 2)), /* [UNIVERSAL 7] IMPLICIT ... */
13  (ASN_TAG_CLASS_UNIVERSAL | (4 << 2)) /* ... OCTET STRING */
14 };
17 #if !defined(ASN_DISABLE_PRINT_SUPPORT)
18  OCTET_STRING_print_utf8, /* Treat as ASCII subset (it's not) */
19 #else
20  0,
21 #endif /* !defined(ASN_DISABLE_PRINT_SUPPORT) */
24 #if !defined(ASN_DISABLE_BER_SUPPORT)
25  OCTET_STRING_decode_ber, /* Implemented in terms of OCTET STRING */
27 #else
28  0,
29  0,
30 #endif /* !defined(ASN_DISABLE_BER_SUPPORT) */
31 #if !defined(ASN_DISABLE_XER_SUPPORT)
34 #else
35  0,
36  0,
37 #endif /* !defined(ASN_DISABLE_XER_SUPPORT) */
38 #if !defined(ASN_DISABLE_JER_SUPPORT)
41 #else
42  0,
43  0,
44 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
45 #if !defined(ASN_DISABLE_OER_SUPPORT)
46  0,
47  0,
48 #else
49  0,
50  0,
51 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
52 #if !defined(ASN_DISABLE_UPER_SUPPORT)
55 #else
56  0,
57  0,
58 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) */
59 #if !defined(ASN_DISABLE_APER_SUPPORT)
62 #else
63  0,
64  0,
65 #endif /* !defined(ASN_DISABLE_APER_SUPPORT) */
66 #if !defined(ASN_DISABLE_RFILL_SUPPORT)
67  0, /* Not supported for ObjectDescriptor */
68 #else
69  0,
70 #endif /* !defined(ASN_DISABLE_RFILL_SUPPORT) */
71  0 /* Use generic outmost tag fetcher */
72 };
74  "ObjectDescriptor",
75  "ObjectDescriptor",
79  / sizeof(asn_DEF_ObjectDescriptor_tags[0]) - 1,
82  / sizeof(asn_DEF_ObjectDescriptor_tags[0]),
83  {
84 #if !defined(ASN_DISABLE_OER_SUPPORT)
85  0,
86 #endif /* !defined(ASN_DISABLE_OER_SUPPORT) */
87 #if !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT)
88  0,
89 #endif /* !defined(ASN_DISABLE_UPER_SUPPORT) || !defined(ASN_DISABLE_APER_SUPPORT) */
90 #if !defined(ASN_DISABLE_JER_SUPPORT)
91  0,
92 #endif /* !defined(ASN_DISABLE_JER_SUPPORT) */
94  },
95  0, 0, /* No members */
96  0 /* No specifics */
97 };
ObjectDescriptor.h
asn_TYPE_operation_s
Definition: constr_TYPE.h:184
OCTET_STRING_free
asn_struct_free_f OCTET_STRING_free
Definition: OCTET_STRING.h:24
ber_tlv_tag_t
unsigned ber_tlv_tag_t
Definition: ber_tlv_tag.h:18
asn_OP_ObjectDescriptor
asn_TYPE_operation_t asn_OP_ObjectDescriptor
Definition: ObjectDescriptor.c:15
OCTET_STRING_encode_der
der_type_encoder_f OCTET_STRING_encode_der
Definition: OCTET_STRING.h:38
ASN_TAG_CLASS_UNIVERSAL
@ ASN_TAG_CLASS_UNIVERSAL
Definition: ber_tlv_tag.h:13
OCTET_STRING_encode_aper
per_type_encoder_f OCTET_STRING_encode_aper
Definition: OCTET_STRING.h:67
asn_TYPE_descriptor_s
Definition: constr_TYPE.h:224
OCTET_STRING_decode_aper
per_type_decoder_f OCTET_STRING_decode_aper
Definition: OCTET_STRING.h:66
OCTET_STRING_encode_xer_utf8
xer_type_encoder_f OCTET_STRING_encode_xer_utf8
Definition: OCTET_STRING.h:46
asn_DEF_ObjectDescriptor
asn_TYPE_descriptor_t asn_DEF_ObjectDescriptor
Definition: ObjectDescriptor.c:73
OCTET_STRING_print_utf8
asn_struct_print_f OCTET_STRING_print_utf8
Definition: OCTET_STRING.h:28
asn_internal.h
asn_DEF_ObjectDescriptor_tags
static const ber_tlv_tag_t asn_DEF_ObjectDescriptor_tags[]
Definition: ObjectDescriptor.c:11
OCTET_STRING_decode_ber
ber_type_decoder_f OCTET_STRING_decode_ber
Definition: OCTET_STRING.h:37
OCTET_STRING_decode_uper
per_type_decoder_f OCTET_STRING_decode_uper
Definition: OCTET_STRING.h:62
OCTET_STRING_copy
asn_struct_copy_f OCTET_STRING_copy
Definition: OCTET_STRING.h:32
OCTET_STRING_decode_xer_utf8
xer_type_decoder_f OCTET_STRING_decode_xer_utf8
Definition: OCTET_STRING.h:44
OCTET_STRING_decode_jer_utf8
jer_type_decoder_f OCTET_STRING_decode_jer_utf8
Definition: OCTET_STRING.h:51
OCTET_STRING_encode_uper
per_type_encoder_f OCTET_STRING_encode_uper
Definition: OCTET_STRING.h:63
OCTET_STRING_encode_jer_utf8
jer_type_encoder_f OCTET_STRING_encode_jer_utf8
Definition: OCTET_STRING.h:53
asn_generic_unknown_constraint
asn_constr_check_f asn_generic_unknown_constraint
Definition: constraints.h:52
OCTET_STRING_compare
asn_struct_compare_f OCTET_STRING_compare
Definition: OCTET_STRING.h:31


etsi_its_cpm_ts_coding
Author(s): Jean-Pierre Busch , Guido Küppers , Lennart Reiher
autogenerated on Sun May 18 2025 02:22:38