1asn1_expand_any_defined_by(3) libtasn1 asn1_expand_any_defined_by(3)
2
3
4
6 asn1_expand_any_defined_by - API function
7
9 #include <libtasn1.h>
10
11 int asn1_expand_any_defined_by(asn1_node_const definitions, asn1_node *
12 element);
13
15 asn1_node_const definitions
16 ASN1 definitions
17
18 asn1_node * element
19 pointer to an ASN1 structure
20
22 Expands every "ANY DEFINED BY" element of a structure created from a
23 DER decoding process (asn1_der_decoding function). The element ANY must
24 be defined by an OBJECT IDENTIFIER. The type used to expand the element
25 ANY is the first one following the definition of the actual value of
26 the OBJECT IDENTIFIER.
27
29 ASN1_SUCCESS if Substitution OK, ASN1_ERROR_TYPE_ANY if some "ANY
30 DEFINED BY" element couldn't be expanded due to a problem in OBJECT_ID
31 -> TYPE association, or other error codes depending on DER decoding.
32
34 Copyright © 2006-2015 Free Software Foundation, Inc..
35 Copying and distribution of this file, with or without modification,
36 are permitted in any medium without royalty provided the copyright
37 notice and this notice are preserved.
38
40 The full documentation for libtasn1 is maintained as a Texinfo manual.
41 If the info and libtasn1 programs are properly installed at your site,
42 the command
43
44 info libtasn1
45
46 should give you access to the complete manual. As an alternative you
47 may obtain the manual from:
48
49 http://www.gnu.org/software/libtasn1/manual/
50
51libtasn1 4.16.0 asn1_expand_any_defined_by(3)