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

NAME

6       asn1_expand_octet_string - Expand "OCTET STRING" fields in structure.
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 (asn1_der_decoding function). The type used for expan‐
31       sion  is  the first one following the definition of the actual value of
32       the OBJECT IDENTIFIER indicated by OBJECTNAME.
33

RETURNS

ASN1_SUCCESS

36       Substitution OK.
37

ASN1_ELEMENT_NOT_FOUND

39       OBJECTNAME or OCTETNAME are not correct.
40

ASN1_VALUE_NOT_VALID

42       Wasn't possible to find the type to use for expansion.
43
44       other errors: result of der decoding process.
45
47       Copyright © 2006, 2007, 2008, 2009 Free Software Foundation, Inc..
48       Copying and distribution of this file, with  or  without  modification,
49       are  permitted  in  any  medium  without royalty provided the copyright
50       notice and this notice are preserved.
51

SEE ALSO

53       The full documentation for libtasn1 is maintained as a Texinfo  manual.
54       If  the info and libtasn1 programs are properly installed at your site,
55       the command
56
57              info libtasn1
58
59       should give you access to the complete manual.
60
61
62
63libtasn1                              2.3          asn1_expand_octet_string(3)
Impressum