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       asn1_retCode  asn1_expand_octet_string(ASN1_TYPE definitions, ASN1_TYPE
12       * element, const char * octetName, const char * objectName);
13

ARGUMENTS

15       ASN1_TYPE definitions
16                   ASN1 definitions
17
18       ASN1_TYPE * 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
30       decoding 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,  2007,  2008,  2009, 2010 Free Software Foundation,
42       Inc..
43       Copying and distribution of this file, with  or  without  modification,
44       are  permitted  in  any  medium  without royalty provided the copyright
45       notice and this notice are preserved.
46

SEE ALSO

48       The full documentation for libtasn1 is maintained as a Texinfo  manual.
49       If  the info and libtasn1 programs are properly installed at your site,
50       the command
51
52              info libtasn1
53
54       should give you access to the complete manual.
55
56
57
58libtasn1                              2.7          asn1_expand_octet_string(3)
Impressum