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

RETURNS

32       Returns ASN1_SUCCESS on success, or an error.
33
35       Copyright © 2006, 2007, 2008,  2009,  2010  Free  Software  Foundation,
36       Inc..
37       Copying  and  distribution  of this file, with or without modification,
38       are permitted in any medium  without  royalty  provided  the  copyright
39       notice and this notice are preserved.
40

SEE ALSO

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