1asn1_get_tag_der(3)                libtasn1                asn1_get_tag_der(3)
2
3
4

NAME

6       asn1_get_tag_der - API function
7

SYNOPSIS

9       #include <libtasn1.h>
10
11       int  asn1_get_tag_der(const  unsigned char * der, int der_len, unsigned
12       char * cls, int * len, unsigned long * tag);
13

ARGUMENTS

15       const unsigned char * der
16                   DER data to decode.
17
18       int der_len Length of DER data to decode.
19
20       unsigned char * cls
21                   Output variable containing decoded class.
22
23       int * len   Output variable containing the length of the DER TAG data.
24
25       unsigned long * tag
26                   Output variable containing the decoded tag.
27

DESCRIPTION

29       Decode the class and TAG from DER code.
30

RETURN VALUE

32       Returns ASN1_SUCCESS on success, or an error.
33
35       Copyright © 2006 Free Software Foundation, Inc..
36       Permission is granted to make and distribute verbatim  copies  of  this
37       manual  provided  the  copyright  notice and this permission notice are
38       preserved on all copies.
39

SEE ALSO

41       The full documentation for libtasn1 is maintained as a Texinfo  manual.
42       If  the info and libtasn1 programs are properly installed at your site,
43       the command
44
45              info libtasn1
46
47       should give you access to the complete manual.
48
49
50
51libtasn1                             0.3.9                 asn1_get_tag_der(3)
Impressum