1asn1_get_length_der(3) libtasn1 asn1_get_length_der(3)
2
3
4
6 asn1_get_length_der - API function
7
9 #include <libtasn1.h>
10
11 signed long asn1_get_length_der(const unsigned char * der, int der_len,
12 int * len);
13
15 const unsigned char * der
16 DER data to decode.
17
18 int der_len Length of DER data to decode.
19
20 int * len Output variable containing the length of the DER length
21 field.
22
24 Extract a length field from DER data.
25
27 Return the decoded length value, or -1 on indefinite length, or -2 when
28 the value was too big.
29
31 Copyright © 2006 Free Software Foundation, Inc..
32 Permission is granted to make and distribute verbatim copies of this
33 manual provided the copyright notice and this permission notice are
34 preserved on all copies.
35
37 The full documentation for libtasn1 is maintained as a Texinfo manual.
38 If the info and libtasn1 programs are properly installed at your site,
39 the command
40
41 info libtasn1
42
43 should give you access to the complete manual.
44
45
46
47libtasn1 0.3.9 asn1_get_length_der(3)