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

NAME

6       asn1_read_tag - Returns the TAG of one element inside a structure
7

SYNOPSIS

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

ARGUMENTS

15       ASN1_TYPE 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.
29

CLASS CAN HAVE ONE OF THESE CONSTANTS

31       ASN1_CLASS_APPLICATION,  ASN1_CLASS_UNIVERSAL,  ASN1_CLASS_PRIVATE   or
32       ASN1_CLASS_CONTEXT_SPECIFIC.
33

RETURNS

ASN1_SUCCESS

36       Set value OK.
37

ASN1_ELEMENT_NOT_FOUND

39       NAME is not a valid element.
40
42       Copyright © 2006, 2007, 2008, 2009 Free Software Foundation, Inc..
43       Copying  and  distribution  of this file, with or without modification,
44       are permitted in any medium  without  royalty  provided  the  copyright
45       notice and this notice are preserved.
46

SEE ALSO

48       The  full documentation for libtasn1 is maintained as a Texinfo manual.
49       If the info and libtasn1 programs are properly installed at your  site,
50       the command
51
52              info libtasn1
53
54       should give you access to the complete manual.
55
56
57
58libtasn1                              2.3                     asn1_read_tag(3)
Impressum