Rechercher une page de manuel
sc_asn1_read_tag
Langue: en
Version: 02/26/2009 (fedora - 06/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
sc_asn1_read_tag - Extract a tag from an ASN.1 entrySYNOPSIS
-
#include <opensc.h> int sc_asn1_read_tag(const unsigned char **buf, size_t buflen, unsigned int *cla_out, unsigned int *tag_out, size_t *taglen);
DESCRIPTION
This function extracts a tag from an ASN.1 entry at the buffer pointed to by the pointer in buf. The buffer is buflen bytes long. The tag class will be stored in cla_out, the tag itself in tag_out, and the length of the extracted tag in tag_len.
RETURN VALUE
Returns 1 if successful, or -1 in case of error.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre