Overview
Comment: | Updated documentation for cackey_get_data |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | piv |
Files: | files | file ages | folders |
SHA1: | a02a88154785b1c23a8a5f9a8f0bc36672a14481 |
User & Date: | rkeene on 2013-01-14 17:56:16 |
Other Links: | manifest | tags |
Context
2013-01-15
| ||
04:48 | Updated code so that information on accessing each certificate for different kinds of cards is not shared check-in: dc6044978a user: rkeene tags: piv | |
2013-01-14
| ||
17:56 | Updated documentation for cackey_get_data check-in: a02a881547 user: rkeene tags: piv | |
17:53 | Updated extended modes to use BER encoding and added some basic comments check-in: de23309dd3 user: rkeene tags: piv | |
Changes
Modified cackey.c from [d345cec881] to [f720f246a4].
1658 1658 CACKEY_DEBUG_PRINTF("APDU Returned an error, returning in failure"); 1659 1659 1660 1660 return(CACKEY_PCSC_E_GENERIC); 1661 1661 } 1662 1662 1663 1663 /* 1664 1664 * SYNPOSIS 1665 - * ssize_t cackey_get_data(struct cackey_slot *slot, unsigned char *buffer, size_t count, .... 1665 + * ssize_t cackey_get_data(struct cackey_slot *slot, unsigned char *buffer, size_t count, unsigned char oid[3]); 1666 1666 * 1667 1667 * ARGUMENTS 1668 1668 * struct cackey_slot *slot 1669 1669 * Slot to send commands to 1670 1670 * 1671 1671 * unsigned char *buffer 1672 1672 * [OUT] Buffer 1673 1673 * 1674 1674 * size_t count 1675 1675 * Number of bytes to attempt to read 1676 1676 * 1677 - * size_t initial_offset 1678 - * Specify the offset to begin the read from 1677 + * unsigned char oid[3] 1678 + * 3-byte OID to read 1679 1679 * 1680 1680 * 1681 1681 * RETURN VALUE 1682 1682 * This function returns the number of bytes actually read, or -1 on error. 1683 1683 * 1684 1684 * NOTES 1685 1685 * None