c39ca949723a6c94860151444cb80364ff889cd1
[platform/upstream/libtasn1.git] / doc / man / asn1_get_tag_der.3
1 .\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2 .TH "asn1_get_tag_der" 3 "4.8" "libtasn1" "libtasn1"
3 .SH NAME
4 asn1_get_tag_der \- API function
5 .SH SYNOPSIS
6 .B #include <libtasn1.h>
7 .sp
8 .BI "int asn1_get_tag_der(const unsigned char * " der ", int " der_len ", unsigned char * " cls ", int * " len ", unsigned long * " tag ");"
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 "unsigned char * cls" 12
15 Output variable containing decoded class.
16 .IP "int * len" 12
17 Output variable containing the length of the DER TAG data.
18 .IP "unsigned long * tag" 12
19 Output variable containing the decoded tag.
20 .SH "DESCRIPTION"
21 Decode the class and TAG from DER code.
22 .SH "RETURNS"
23 Returns \fBASN1_SUCCESS\fP on success, or an error.
24 .SH COPYRIGHT
25 Copyright \(co 2006-2015 Free Software Foundation, Inc..
26 .br
27 Copying and distribution of this file, with or without modification,
28 are permitted in any medium without royalty provided the copyright
29 notice and this notice are preserved.
30 .SH "SEE ALSO"
31 The full documentation for
32 .B libtasn1
33 is maintained as a Texinfo manual.  If the
34 .B info
35 and
36 .B libtasn1
37 programs are properly installed at your site, the command
38 .IP
39 .B info libtasn1
40 .PP
41 should give you access to the complete manual.
42 As an alternative you may obtain the manual from:
43 .IP
44 .B http://www.gnu.org/software/libtasn1/manual/
45 .PP