~ubuntu-branches/ubuntu/precise/gnupg2/precise-proposed

« back to all changes in this revision

Viewing changes to scd/iso7816.h

  • Committer: Bazaar Package Importer
  • Author(s): Eric Dorland
  • Date: 2009-03-08 22:46:47 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20090308224647-gq17gatcl71lrc2k
Tags: 2.0.11-1
* New upstream release. (Closes: #496663)
* debian/control: Make the description a little more distinctive than
  gnupg v1's. Thanks Jari Aalto. (Closes: #496323)

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 * You should have received a copy of the GNU General Public License
17
17
 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18
18
 *
19
 
 * $Id: iso7816.h 4528 2007-07-04 19:49:40Z wk $
 
19
 * $Id: iso7816.h 4912 2009-01-08 19:56:30Z wk $
20
20
 */
21
21
 
22
22
#ifndef ISO7816_H
57
57
                                 unsigned char **result, size_t *resultlen);
58
58
gpg_error_t iso7816_list_directory (int slot, int list_dirs,
59
59
                                    unsigned char **result, size_t *resultlen);
 
60
gpg_error_t iso7816_apdu_direct (int slot,
 
61
                                 const void *apdudata, size_t apdudatalen, 
 
62
                                 int handle_more,
 
63
                                 unsigned char **result, size_t *resultlen);
60
64
gpg_error_t iso7816_check_keypad (int slot, int command,
61
65
                                  iso7816_pininfo_t *pininfo);
62
66
gpg_error_t iso7816_verify (int slot,
77
81
                                            const char *newchv,
78
82
                                            size_t newchvlen,
79
83
                                            iso7816_pininfo_t *pininfo);
 
84
gpg_error_t iso7816_reset_retry_counter_with_rc (int slot, int chvno,
 
85
                                                 const char *data,
 
86
                                                 size_t datalen);
80
87
gpg_error_t iso7816_get_data (int slot, int tag,
81
88
                              unsigned char **result, size_t *resultlen);
82
 
gpg_error_t iso7816_put_data (int slot, int tag,
 
89
gpg_error_t iso7816_put_data (int slot, int extended_mode, int tag,
83
90
                              const unsigned char *data, size_t datalen);
 
91
gpg_error_t iso7816_put_data_odd (int slot, int extended_mode, int tag,
 
92
                                  const unsigned char *data, size_t datalen);
84
93
gpg_error_t iso7816_manage_security_env (int slot, int p1, int p2,
85
94
                                         const unsigned char *data,
86
95
                                         size_t datalen);