Initialize Tizen 2.3
[external/libtasn1.git] / doc / texi / asn1_expand_any_defined_by.texi
1 @subheading asn1_expand_any_defined_by
2 @anchor{asn1_expand_any_defined_by}
3 @deftypefun {asn1_retCode} {asn1_expand_any_defined_by} (ASN1_TYPE @var{definitions}, ASN1_TYPE * @var{element})
4 @var{definitions}: ASN1 definitions
5
6 @var{element}: pointer to an ASN1 structure
7
8 Expands every "ANY DEFINED BY" element of a structure created from
9 a DER decoding process (asn1_der_decoding function). The element
10 ANY must be defined by an OBJECT IDENTIFIER. The type used to
11 expand the element ANY is the first one following the definition of
12 the actual value of the OBJECT IDENTIFIER.
13
14 @strong{Returns:} @code{ASN1_SUCCESS} if Substitution OK, @code{ASN1_ERROR_TYPE_ANY} if
15 some "ANY DEFINED BY" element couldn't be expanded due to a
16 problem in OBJECT_ID -> TYPE association, or other error codes
17 depending on DER decoding.
18 @end deftypefun
19