1asn1_expand_octet_string(3)        libtasn1        asn1_expand_octet_string(3)
2
3
4

NAME

6       asn1_expand_octet_string - API function
7

SYNOPSIS

9       #include <libtasn1.h>
10
11       int  asn1_expand_octet_string(asn1_node_const  definitions, asn1_node *
12       element, const char * octetName, const char * objectName);
13

ARGUMENTS

15       asn1_node_const definitions
16                   ASN1 definitions
17
18       asn1_node * element
19                   pointer to an ASN1 structure
20
21       const char * octetName
22                   name of the OCTECT STRING field to expand.
23
24       const char * objectName
25                   name of the OBJECT IDENTIFIER field to use  to  define  the
26                   type for expansion.
27

DESCRIPTION

29       Expands an "OCTET STRING" element of a structure created from a DER de‐
30       coding process (the asn1_der_decoding() function).  The type  used  for
31       expansion is the first one following the definition of the actual value
32       of the OBJECT IDENTIFIER indicated by OBJECTNAME.
33

RETURNS

35       ASN1_SUCCESS if substitution OK, ASN1_ELEMENT_NOT_FOUND if   objectName
36       or  octetName are not correct, ASN1_VALUE_NOT_VALID if it wasn't possi‐
37       ble to find the type to use for expansion, or other errors depending on
38       DER decoding.
39
41       Copyright © 2006-2022 Free Software Foundation, Inc..
42       Copying  and  distribution  of this file, with or without modification,
43       are permitted in any medium without royalty provided the copyright  no‐
44       tice and this notice are preserved.
45

SEE ALSO

47       The  full documentation for libtasn1 is maintained as a Texinfo manual.
48       If the info and libtasn1 programs are properly installed at your  site,
49       the command
50
51              info libtasn1
52
53       should  give  you access to the complete manual.  As an alternative you
54       may obtain the manual from:
55
56              https://www.gnu.org/software/libtasn1/manual/
57
58libtasn1                            4.19.0         asn1_expand_octet_string(3)
Impressum