1asn1_read_tag(3)                   libtasn1                   asn1_read_tag(3)
2
3
4

NAME

6       asn1_read_tag - API function
7

SYNOPSIS

9       #include <libtasn1.h>
10
11       int  asn1_read_tag(asn1_node  root,  const char * name, int * tagValue,
12       int * classValue);
13

ARGUMENTS

15       asn1_node root
16                   pointer to a structure
17
18       const char * name
19                   the name of the element inside a structure.
20
21       int * tagValue
22                   variable that will contain the TAG value.
23
24       int * classValue
25                   variable that will specify the TAG type.
26

DESCRIPTION

28       Returns the TAG and the CLASS of one element inside a structure.  CLASS
29       can    have    one    of   these   constants:   ASN1_CLASS_APPLICATION,
30       ASN1_CLASS_UNIVERSAL,  ASN1_CLASS_PRIVATE  or   ASN1_CLASS_CONTEXT_SPE‐
31       CIFIC.
32

RETURNS

34       ASN1_SUCCESS if successful, ASN1_ELEMENT_NOT_FOUND if
35        name is not a valid element.
36
38       Copyright © 2006-2015 Free Software Foundation, Inc..
39       Copying  and  distribution  of this file, with or without modification,
40       are permitted in any medium  without  royalty  provided  the  copyright
41       notice and this notice are preserved.
42

SEE ALSO

44       The  full documentation for libtasn1 is maintained as a Texinfo manual.
45       If the info and libtasn1 programs are properly installed at your  site,
46       the command
47
48              info libtasn1
49
50       should  give  you access to the complete manual.  As an alternative you
51       may obtain the manual from:
52
53              http://www.gnu.org/software/libtasn1/manual/
54
55libtasn1                             4.13                     asn1_read_tag(3)
Impressum