1asn1_der_decoding(3)               libtasn1               asn1_der_decoding(3)
2
3
4

NAME

6       asn1_der_decoding  -  Fill  the structure *ELEMENT with values of a DER
7       encoding string.
8

SYNOPSIS

10       #include <libtasn1.h>
11
12       asn1_retCode asn1_der_decoding(ASN1_TYPE * element, const void *  ider,
13       int len, char * errorDescription);
14

ARGUMENTS

16       ASN1_TYPE * element
17                   pointer to an ASN1 structure.
18
19       const void * ider
20                   vector that contains the DER encoding.
21
22       int len     number of bytes of *ider: ider[0]..ider[len-1].
23
24       char * errorDescription
25                   null-terminated  string  contains  details  when  an  error
26                   occurred.
27

DESCRIPTION

29       Fill the structure *ELEMENT with values of a DER encoding  string.  The
30       sructure  must just be created with function procedure, the *ELEMENT is
31       deleted and set equal to ASN1_TYPE_EMPTY.
32

RETURNS

ASN1_SUCCESS

35       DER encoding OK.
36

ASN1_ELEMENT_NOT_FOUND

38       ELEMENT is ASN1_TYPE_EMPTY.
39
40       ASN1_TAG_ERROR,ASN1_DER_ERROR:  The  der  encoding  doesn't  match  the
41       structure NAME. *ELEMENT deleted.
42
44       Copyright © 2006 Free Software Foundation, Inc..
45       Permission  is  granted  to make and distribute verbatim copies of this
46       manual provided the copyright notice and  this  permission  notice  are
47       preserved on all copies.
48

SEE ALSO

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