Initialize Tizen 2.3
[external/libtasn1.git] / doc / man / asn1_get_length_der.3
1 .\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2 .TH "asn1_get_length_der" 3 "2.7" "libtasn1" "libtasn1"
3 .SH NAME
4 asn1_get_length_der \- API function
5 .SH SYNOPSIS
6 .B #include <libtasn1.h>
7 .sp
8 .BI "signed long asn1_get_length_der(const unsigned char * " der ", int " der_len ", int * " len ");"
9 .SH ARGUMENTS
10 .IP "const unsigned char * der" 12
11 DER data to decode.
12 .IP "int der_len" 12
13 Length of DER data to decode.
14 .IP "int * len" 12
15 Output variable containing the length of the DER length field.
16 .SH "DESCRIPTION"
17 Extract a length field from DER data.
18 .SH "RETURNS"
19 Return the decoded length value, or \-1 on indefinite
20 length, or \-2 when the value was too big.
21 .SH COPYRIGHT
22 Copyright \(co 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc..
23 .br
24 Copying and distribution of this file, with or without modification,
25 are permitted in any medium without royalty provided the copyright
26 notice and this notice are preserved.
27 .SH "SEE ALSO"
28 The full documentation for
29 .B libtasn1
30 is maintained as a Texinfo manual.  If the
31 .B info
32 and
33 .B libtasn1
34 programs are properly installed at your site, the command
35 .IP
36 .B info libtasn1
37 .PP
38 should give you access to the complete manual.