NAME
asn1_read_tag - Returns the TAG of one element inside a structure
SYNOPSIS
#include <libtasn1.h>
I asn1_retCode asn1_read_tag(node_asn * root , const char * name , int * tagValue , int * classValue );
ARGUMENTS
"node_asn
pointer to a structure
"const
the name of the element inside a structure.
"int
variable that will contain the TAG value.
"int
variable that will specify the TAG type.
DESCRIPTION
Returns the TAG and the CLASS of one element inside a structure.
CLASS CAN HAVE ONE OF THESE CONSTANTS
ASN1_CLASS_APPLICATION,
ASN1_CLASS_UNIVERSAL, ASN1_CLASS_PRIVATE or
ASN1_CLASS_CONTEXT_SPECIFIC.
RETURNS
ASN1_SUCCESS
Set value OK.
ASN1_ELEMENT_NOT_FOUND
NAME is not a valid element.
COPYRIGHT
Copyright 2006 Free Software Foundation, Inc..
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
SEE ALSO
The full documentation for
libtasn1
is maintained as a Texinfo manual. If the
info
and
libtasn1
programs are properly installed at your site, the command
info libtasn1
should give you access to the complete manual.