1asn1_expand_any_defined_by(3)      libtasn1      asn1_expand_any_defined_by(3)
2
3
4

NAME

6       asn1_expand_any_defined_by - API function
7

SYNOPSIS

9       #include <libtasn1.h>
10
11       int asn1_expand_any_defined_by(asn1_node_const definitions, asn1_node *
12       element);
13

ARGUMENTS

15       asn1_node_const definitions
16                   ASN1 definitions
17
18       asn1_node * element
19                   pointer to an ASN1 structure
20

DESCRIPTION

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

RETURNS

29       ASN1_SUCCESS if Substitution OK, ASN1_ERROR_TYPE_ANY if some  "ANY  DE‐
30       FINED 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-2022 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 no‐
37       tice and this notice are preserved.
38

SEE ALSO

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              https://www.gnu.org/software/libtasn1/manual/
50
51libtasn1                            4.19.0       asn1_expand_any_defined_by(3)
Impressum