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 asn1_retCode asn1_expand_any_defined_by(ASN1_TYPE definitions,
12 ASN1_TYPE * element);
13
15 ASN1_TYPE definitions
16 ASN1 definitions
17
18 ASN1_TYPE * 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, 2007, 2008, 2009, 2010 Free Software Foundation,
35 Inc..
36 Copying and distribution of this file, with or without modification,
37 are permitted in any medium without royalty provided the copyright
38 notice and this notice are preserved.
39
41 The full documentation for libtasn1 is maintained as a Texinfo manual.
42 If the info and libtasn1 programs are properly installed at your site,
43 the command
44
45 info libtasn1
46
47 should give you access to the complete manual.
48
49
50
51libtasn1 2.7 asn1_expand_any_defined_by(3)