Rechercher une page de manuel
sc_put_data
Langue: en
Version: 02/26/2009 (fedora - 05/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
sc_put_data - Store a primitive data object on a cardSYNOPSIS
-
#include <opensc.h> int sc_put_data(sc_card_t *card, unsigned int tag, const unsigned char *buf, size_t len);
DESCRIPTION
This function is used to store a primitive data object on card. It corresponds to the PUT DATA command in the ISO 7816 standard. The data to be sent to the card is stored in buf, which is buflen bytes long.
The tag parameter specifies the object to be stored. Refer to the standard for the correct values to use.
RETURN VALUE
Returns 0 if successful, or a negative value in case of error.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre