[][src]Crate opensc_sys

Structs

_G_fpos64_t
_G_fpos_t
_IO_FILE
_IO_FILE_plus
_IO_jump_t
_IO_marker
__fsid_t
__mbstate_t
__pthread_cond_s
__pthread_cond_s__bindgen_ty_1__bindgen_ty_1
__pthread_cond_s__bindgen_ty_2__bindgen_ty_1
__pthread_internal_list
__pthread_mutex_s
__pthread_rwlock_arch_t
__sigset_t
__va_list_tag
_scconf_block
_scconf_item
_scconf_list
fd_set
imaxdiv_t
list_attributes_s
list_entry_s
list_t

list object

sc_acl_entry
sc_aid
sc_algorithm_id
sc_algorithm_info
sc_algorithm_info__bindgen_ty_1_sc_rsa_info
sc_algorithm_info__bindgen_ty_1_sc_ec_info
sc_apdu
sc_app_info
sc_atr
sc_atr_table
sc_card
sc_card_cache
sc_card_driver
sc_card_error
sc_card_operations
sc_context
sc_context_param_t

@struct sc_context_t initialization parameters Structure to supply additional parameters, for example mutex information, to the sc_context_t creation.

sc_cplc
sc_crt
sc_ddo
sc_ec_parameters
sc_ef_atr
sc_file
sc_iid
sc_iin
sc_lv_data
sc_object_id
sc_path
sc_pbes2_params
sc_pbkdf2_params
sc_pin_cmd_data
sc_pin_cmd_pin
sc_reader
sc_reader__atr_info
sc_reader_driver
sc_reader_operations
sc_remote_apdu
sc_remote_data

@struct sc_remote_data Frame for the list of the @c sc_remote_apdu data with the handlers to allocate and free.

sc_sec_env_param
sc_security_env
sc_serial_number
sc_supported_algo_info
sc_thread_context_t

@struct sc_thread_context_t Structure for the locking function to use when using libopensc in a multi-threaded application.

sc_tlv_data
sc_uid
sc_version
scconf_context
sm_card_operations
sm_card_response
sm_context
sm_cwa_keyset
sm_cwa_session
sm_cwa_token_data
sm_dh_session
sm_gp_keyset
sm_gp_session
sm_info
sm_module
sm_module_operations
sm_type_params_cwa
sm_type_params_gp
timespec
timeval

Constants

BIG_ENDIAN
BUFSIZ
BYTE_ORDER
E2BIG
EACCES
EADDRINUSE
EADDRNOTAVAIL
EADV
EAFNOSUPPORT
EAGAIN
EALREADY
EBADE
EBADF
EBADFD
EBADMSG
EBADR
EBADRQC
EBADSLT
EBFONT
EBUSY
ECANCELED
ECHILD
ECHRNG
ECOMM
ECONNABORTED
ECONNREFUSED
ECONNRESET
EDEADLK
EDEADLOCK
EDESTADDRREQ
EDOM
EDOTDOT
EDQUOT
EEXIST
EFAULT
EFBIG
EHOSTDOWN
EHOSTUNREACH
EHWPOISON
EIDRM
EILSEQ
EINPROGRESS
EINTR
EINVAL
EIO
EISCONN
EISDIR
EISNAM
EKEYEXPIRED
EKEYREJECTED
EKEYREVOKED
EL2NSYNC
EL2HLT
EL3HLT
EL3RST
ELIBACC
ELIBBAD
ELIBEXEC
ELIBMAX
ELIBSCN
ELNRNG
ELOOP
EMEDIUMTYPE
EMFILE
EMLINK
EMSGSIZE
EMULTIHOP
ENAMETOOLONG
ENAVAIL
ENETDOWN
ENETRESET
ENETUNREACH
ENFILE
ENOANO
ENOBUFS
ENOCSI
ENODATA
ENODEV
ENOENT
ENOEXEC
ENOKEY
ENOLCK
ENOLINK
ENOMEDIUM
ENOMEM
ENOMSG
ENONET
ENOPKG
ENOPROTOOPT
ENOSPC
ENOSR
ENOSTR
ENOSYS
ENOTBLK
ENOTCONN
ENOTDIR
ENOTEMPTY
ENOTNAM
ENOTRECOVERABLE
ENOTSOCK
ENOTSUP
ENOTTY
ENOTUNIQ
ENXIO
EOF
EOPNOTSUPP
EOVERFLOW
EOWNERDEAD
EPERM
EPFNOSUPPORT
EPIPE
EPROTO
EPROTONOSUPPORT
EPROTOTYPE
ERANGE
EREMCHG
EREMOTE
EREMOTEIO
ERESTART
ERFKILL
EROFS
ESHUTDOWN
ESOCKTNOSUPPORT
ESPIPE
ESRCH
ESRMNT
ESTALE
ESTRPIPE
ETIME
ETIMEDOUT
ETOOMANYREFS
ETXTBSY
EUCLEAN
EUNATCH
EUSERS
EWOULDBLOCK
EXDEV
EXFULL
FD_SETSIZE
FILENAME_MAX
FOPEN_MAX
INT8_MIN
INT8_MAX
INT16_MIN
INT16_MAX
INT32_MIN
INT32_MAX
INTPTR_MAX
INTPTR_MIN
INT_FAST8_MIN
INT_FAST8_MAX
INT_FAST16_MIN
INT_FAST16_MAX
INT_FAST32_MIN
INT_FAST32_MAX
INT_LEAST8_MIN
INT_LEAST8_MAX
INT_LEAST16_MIN
INT_LEAST16_MAX
INT_LEAST32_MIN
INT_LEAST32_MAX
LITTLE_ENDIAN
L_ctermid
L_tmpnam
MAX_FILE_SIZE
PDP_ENDIAN
PRIX8
PRIX16
PRIX32
PRIX64
PRIXFAST8
PRIXFAST16
PRIXFAST32
PRIXFAST64
PRIXLEAST8
PRIXLEAST16
PRIXLEAST32
PRIXLEAST64
PRIXMAX
PRIXPTR
PRId8
PRId16
PRId32
PRId64
PRIdFAST8
PRIdFAST16
PRIdFAST32
PRIdFAST64
PRIdLEAST8
PRIdLEAST16
PRIdLEAST32
PRIdLEAST64
PRIdMAX
PRIdPTR
PRIi8
PRIi16
PRIi32
PRIi64
PRIiFAST8
PRIiFAST16
PRIiFAST32
PRIiFAST64
PRIiLEAST8
PRIiLEAST16
PRIiLEAST32
PRIiLEAST64
PRIiMAX
PRIiPTR
PRIo8
PRIo16
PRIo32
PRIo64
PRIoFAST8
PRIoFAST16
PRIoFAST32
PRIoFAST64
PRIoLEAST8
PRIoLEAST16
PRIoLEAST32
PRIoLEAST64
PRIoMAX
PRIoPTR
PRIu8
PRIu16
PRIu32
PRIu64
PRIuFAST8
PRIuFAST16
PRIuFAST32
PRIuFAST64
PRIuLEAST8
PRIuLEAST16
PRIuLEAST32
PRIuLEAST64
PRIuMAX
PRIuPTR
PRIx8
PRIx16
PRIx32
PRIx64
PRIxFAST8
PRIxFAST16
PRIxFAST32
PRIxFAST64
PRIxLEAST8
PRIxLEAST16
PRIxLEAST32
PRIxLEAST64
PRIxMAX
PRIxPTR
PTRDIFF_MAX
PTRDIFF_MIN
P_tmpdir
SCCONF_BOOLEAN
SCCONF_INTEGER
SCCONF_ITEM_TYPE_BLOCK
SCCONF_ITEM_TYPE_COMMENT
SCCONF_ITEM_TYPE_VALUE
SCCONF_STRING
SCNd8
SCNd16
SCNd32
SCNd64
SCNdFAST8
SCNdFAST16
SCNdFAST32
SCNdFAST64
SCNdLEAST8
SCNdLEAST16
SCNdLEAST32
SCNdLEAST64
SCNdMAX
SCNdPTR
SCNi8
SCNi16
SCNi32
SCNi64
SCNiFAST8
SCNiFAST16
SCNiFAST32
SCNiFAST64
SCNiLEAST8
SCNiLEAST16
SCNiLEAST32
SCNiLEAST64
SCNiMAX
SCNiPTR
SCNo8
SCNo16
SCNo32
SCNo64
SCNoFAST8
SCNoFAST16
SCNoFAST32
SCNoFAST64
SCNoLEAST8
SCNoLEAST16
SCNoLEAST32
SCNoLEAST64
SCNoMAX
SCNoPTR
SCNu8
SCNu16
SCNu32
SCNu64
SCNuFAST8
SCNuFAST16
SCNuFAST32
SCNuFAST64
SCNuLEAST8
SCNuLEAST16
SCNuLEAST32
SCNuLEAST64
SCNuMAX
SCNuPTR
SCNx8
SCNx16
SCNx32
SCNx64
SCNxFAST8
SCNxFAST16
SCNxFAST32
SCNxFAST64
SCNxLEAST8
SCNxLEAST16
SCNxLEAST32
SCNxLEAST64
SCNxMAX
SCNxPTR
SC_AC_AUT
SC_AC_CHV
SC_AC_CONTEXT_SPECIFIC
SC_AC_IDA
SC_AC_KEY_REF_NONE
SC_AC_NEVER
SC_AC_NONE
SC_AC_OP_ACTIVATE
SC_AC_OP_ADMIN
SC_AC_OP_CREATE
SC_AC_OP_CREATE_DF
SC_AC_OP_CREATE_EF
SC_AC_OP_CRYPTO
SC_AC_OP_DEACTIVATE
SC_AC_OP_DELETE
SC_AC_OP_DELETE_SELF
SC_AC_OP_ERASE
SC_AC_OP_EXTERNAL_AUTHENTICATE
SC_AC_OP_GENERATE
SC_AC_OP_INTERNAL_AUTHENTICATE
SC_AC_OP_INVALIDATE
SC_AC_OP_LIST_FILES
SC_AC_OP_LOCK
SC_AC_OP_PIN_CHANGE
SC_AC_OP_PIN_DEFINE
SC_AC_OP_PIN_RESET
SC_AC_OP_PIN_USE
SC_AC_OP_PSO_COMPUTE_CHECKSUM
SC_AC_OP_PSO_COMPUTE_SIGNATURE
SC_AC_OP_PSO_DECRYPT
SC_AC_OP_PSO_ENCRYPT
SC_AC_OP_PSO_VERIFY_CHECKSUM
SC_AC_OP_PSO_VERIFY_SIGNATURE
SC_AC_OP_READ
SC_AC_OP_REHABILITATE
SC_AC_OP_RESIZE
SC_AC_OP_SELECT
SC_AC_OP_UPDATE
SC_AC_OP_WRITE
SC_AC_PRO
SC_AC_SCB
SC_AC_SEN
SC_AC_SESSION
SC_AC_SYMBOLIC
SC_AC_TERM
SC_AC_UNKNOWN
SC_ALGORITHM_3DES
SC_ALGORITHM_AES
SC_ALGORITHM_AES_CBC
SC_ALGORITHM_AES_CBC_PAD
SC_ALGORITHM_AES_ECB
SC_ALGORITHM_AES_FLAGS
SC_ALGORITHM_DES
SC_ALGORITHM_DSA
SC_ALGORITHM_EC
SC_ALGORITHM_ECDH_CDH_RAW
SC_ALGORITHM_ECDSA_HASHES
SC_ALGORITHM_ECDSA_HASH_NONE
SC_ALGORITHM_ECDSA_HASH_SHA1
SC_ALGORITHM_ECDSA_HASH_SHA224
SC_ALGORITHM_ECDSA_HASH_SHA256
SC_ALGORITHM_ECDSA_HASH_SHA384
SC_ALGORITHM_ECDSA_HASH_SHA512
SC_ALGORITHM_ECDSA_RAW
SC_ALGORITHM_EXT_EC_COMPRESS
SC_ALGORITHM_EXT_EC_ECPARAMETERS
SC_ALGORITHM_EXT_EC_F_2M
SC_ALGORITHM_EXT_EC_F_P
SC_ALGORITHM_EXT_EC_NAMEDCURVE
SC_ALGORITHM_EXT_EC_UNCOMPRESES
SC_ALGORITHM_GOST
SC_ALGORITHM_GOSTR3410
SC_ALGORITHM_GOSTR3410_RAW
SC_ALGORITHM_GOSTR3410_HASH_NONE
SC_ALGORITHM_GOSTR3410_HASHES
SC_ALGORITHM_GOSTR3411
SC_ALGORITHM_GOSTR3410_HASH_GOSTR3411
SC_ALGORITHM_MD5
SC_ALGORITHM_MGF1_HASHES
SC_ALGORITHM_MGF1_SHA1
SC_ALGORITHM_MGF1_SHA224
SC_ALGORITHM_MGF1_SHA256
SC_ALGORITHM_MGF1_SHA384
SC_ALGORITHM_MGF1_SHA512
SC_ALGORITHM_NEED_USAGE
SC_ALGORITHM_ONBOARD_KEY_GEN
SC_ALGORITHM_PBES2
SC_ALGORITHM_PBKDF2
SC_ALGORITHM_RAW_MASK
SC_ALGORITHM_RSA
SC_ALGORITHM_RSA_HASHES
SC_ALGORITHM_RSA_HASH_MD5
SC_ALGORITHM_RSA_HASH_MD5_SHA1
SC_ALGORITHM_RSA_HASH_NONE
SC_ALGORITHM_RSA_HASH_RIPEMD160
SC_ALGORITHM_RSA_HASH_SHA1
SC_ALGORITHM_RSA_HASH_SHA224
SC_ALGORITHM_RSA_HASH_SHA256
SC_ALGORITHM_RSA_HASH_SHA384
SC_ALGORITHM_RSA_HASH_SHA512
SC_ALGORITHM_RSA_PADS
SC_ALGORITHM_RSA_PAD_ANSI
SC_ALGORITHM_RSA_PAD_ISO9796
SC_ALGORITHM_RSA_PAD_NONE
SC_ALGORITHM_RSA_PAD_PKCS1
SC_ALGORITHM_RSA_PAD_PSS
SC_ALGORITHM_RSA_RAW
SC_ALGORITHM_SHA1
SC_ALGORITHM_SPECIFIC_FLAGS
SC_ALGORITHM_UNDEFINED
SC_APDU_ALLOCATE_FLAG
SC_APDU_ALLOCATE_FLAG_DATA
SC_APDU_ALLOCATE_FLAG_RESP
SC_APDU_CASE_1
SC_APDU_CASE_2_SHORT
SC_APDU_CASE_2_EXT
SC_APDU_CASE_2
SC_APDU_CASE_3_SHORT
SC_APDU_CASE_3_EXT
SC_APDU_CASE_3
SC_APDU_CASE_4_SHORT
SC_APDU_CASE_4_EXT
SC_APDU_CASE_4
SC_APDU_CASE_NONE
SC_APDU_EXT
SC_APDU_FLAGS_CHAINING
SC_APDU_FLAGS_NO_GET_RESP
SC_APDU_FLAGS_NO_RETRY_WL
SC_APDU_FLAGS_NO_SM
SC_APDU_SHORT_MASK
SC_CARD_CAP_APDU_EXT
SC_CARD_CAP_ISO7816_PIN_INFO
SC_CARD_CAP_ONCARD_SESSION_OBJECTS
SC_CARD_CAP_PROTECTED_AUTHENTICATION_PATH
SC_CARD_CAP_RNG
SC_CARD_CAP_SESSION_PIN
SC_CARD_CAP_UNWRAP_KEY
SC_CARD_CAP_USE_FCI_AC
SC_CARD_CAP_WRAP_KEY
SC_CARD_FLAG_KEEP_ALIVE
SC_CARD_FLAG_RNG
SC_CARD_FLAG_VENDOR_MASK
SC_CPLC_DER_SIZE
SC_CPLC_TAG
SC_CTX_FLAG_DEBUG_MEMORY
SC_CTX_FLAG_DISABLE_COLORS
SC_CTX_FLAG_DISABLE_POPUPS
SC_CTX_FLAG_ENABLE_DEFAULT_DRIVER
SC_CTX_FLAG_PARANOID_MEMORY
SC_CTX_FLAG_TERMINATE
SC_ERROR_ASN1_OBJECT_NOT_FOUND
SC_ERROR_ASN1_END_OF_CONTENTS
SC_ERROR_AUTH_METHOD_BLOCKED
SC_ERROR_BUFFER_TOO_SMALL
SC_ERROR_CANNOT_LOAD_KEY
SC_ERROR_CANNOT_LOAD_MODULE
SC_ERROR_CARD_CMD_FAILED
SC_ERROR_CARD_NOT_PRESENT
SC_ERROR_CARD_REMOVED
SC_ERROR_CARD_RESET
SC_ERROR_CARD_UNRESPONSIVE
SC_ERROR_CLASS_NOT_SUPPORTED
SC_ERROR_CORRUPTED_DATA
SC_ERROR_DATA_OBJECT_NOT_FOUND
SC_ERROR_DECRYPT_FAILED
SC_ERROR_EVENT_TIMEOUT
SC_ERROR_FILE_ALREADY_EXISTS
SC_ERROR_FILE_END_REACHED
SC_ERROR_FILE_NOT_FOUND
SC_ERROR_FILE_TOO_SMALL
SC_ERROR_INCOMPATIBLE_KEY
SC_ERROR_INCONSISTENT_CONFIGURATION
SC_ERROR_INCONSISTENT_PROFILE
SC_ERROR_INCORRECT_PARAMETERS
SC_ERROR_INS_NOT_SUPPORTED
SC_ERROR_INTERNAL
SC_ERROR_INVALID_ARGUMENTS
SC_ERROR_INVALID_ASN1_OBJECT
SC_ERROR_INVALID_CARD
SC_ERROR_INVALID_DATA
SC_ERROR_INVALID_PIN_LENGTH
SC_ERROR_INVALID_PIN_REFERENCE
SC_ERROR_INVALID_TLV_OBJECT
SC_ERROR_KEYPAD_CANCELLED
SC_ERROR_KEYPAD_MSG_TOO_LONG
SC_ERROR_KEYPAD_PIN_MISMATCH
SC_ERROR_KEYPAD_TIMEOUT
SC_ERROR_MEMORY_FAILURE
SC_ERROR_NON_UNIQUE_ID
SC_ERROR_NOT_ALLOWED
SC_ERROR_NOT_ENOUGH_MEMORY
SC_ERROR_NOT_IMPLEMENTED
SC_ERROR_NOT_SUPPORTED
SC_ERROR_NO_CARD_SUPPORT
SC_ERROR_NO_DEFAULT_KEY
SC_ERROR_NO_READERS_FOUND
SC_ERROR_OBJECT_NOT_FOUND
SC_ERROR_OBJECT_NOT_VALID
SC_ERROR_OFFSET_TOO_LARGE
SC_ERROR_OUT_OF_MEMORY
SC_ERROR_PASSPHRASE_REQUIRED
SC_ERROR_PIN_CODE_INCORRECT
SC_ERROR_PKCS15INIT
SC_ERROR_PKCS15_APP_NOT_FOUND
SC_ERROR_READER
SC_ERROR_READER_DETACHED
SC_ERROR_READER_LOCKED
SC_ERROR_READER_REATTACHED
SC_ERROR_RECORD_NOT_FOUND
SC_ERROR_REF_DATA_NOT_USABLE
SC_ERROR_SECURITY_STATUS_NOT_SATISFIED
SC_ERROR_SM
SC_ERROR_SM_AUTHENTICATION_FAILED
SC_ERROR_SM_ENCRYPT_FAILED
SC_ERROR_SM_IFD_DATA_MISSING
SC_ERROR_SM_INVALID_CHECKSUM
SC_ERROR_SM_INVALID_LEVEL
SC_ERROR_SM_INVALID_SESSION_KEY
SC_ERROR_SM_KEYSET_NOT_FOUND
SC_ERROR_SM_NOT_APPLIED
SC_ERROR_SM_NOT_INITIALIZED
SC_ERROR_SM_NO_SESSION_KEYS
SC_ERROR_SM_RAND_FAILED
SC_ERROR_SM_SESSION_ALREADY_ACTIVE
SC_ERROR_SYNTAX_ERROR
SC_ERROR_TEMPLATE_NOT_FOUND
SC_ERROR_TLV_END_OF_CONTENTS
SC_ERROR_TOO_MANY_OBJECTS
SC_ERROR_TRANSMIT_FAILED
SC_ERROR_UNKNOWN
SC_ERROR_UNKNOWN_DATA_RECEIVED
SC_ERROR_WRONG_CARD
SC_ERROR_WRONG_LENGTH
SC_ERROR_WRONG_PADDING
SC_EVENT_CARD_EVENTS
SC_EVENT_CARD_INSERTED
SC_EVENT_CARD_REMOVED
SC_EVENT_READER_ATTACHED
SC_EVENT_READER_DETACHED
SC_EVENT_READER_EVENTS
SC_FILE_EF_CYCLIC
SC_FILE_EF_CYCLIC_TLV
SC_FILE_EF_LINEAR_FIXED
SC_FILE_EF_LINEAR_FIXED_TLV
SC_FILE_EF_LINEAR_VARIABLE
SC_FILE_EF_LINEAR_VARIABLE_TLV
SC_FILE_EF_TRANSPARENT
SC_FILE_EF_UNKNOWN
SC_FILE_STATUS_ACTIVATED
SC_FILE_STATUS_CREATION
SC_FILE_STATUS_INVALIDATED
SC_FILE_TYPE_BSO
SC_FILE_TYPE_DF
SC_FILE_TYPE_INTERNAL_EF
SC_FILE_TYPE_WORKING_EF
SC_FORMAT_LEN_PTRDIFF_T
SC_FORMAT_LEN_SIZE_T
SC_MAX_AC_OPS
SC_MAX_AID_SIZE
SC_MAX_AID_STRING_SIZE
SC_MAX_APDU_BUFFER_SIZE
SC_MAX_APDU_DATA_SIZE
SC_MAX_APDU_RESP_SIZE
SC_MAX_ATR_SIZE
SC_MAX_CARD_APPS
SC_MAX_CARD_DRIVERS
SC_MAX_CARD_DRIVER_SNAME_SIZE
SC_MAX_CRTS_IN_SE
SC_MAX_EXT_APDU_BUFFER_SIZE
SC_MAX_EXT_APDU_DATA_SIZE
SC_MAX_EXT_APDU_RESP_SIZE
SC_MAX_IIN_SIZE
SC_MAX_OBJECT_ID_OCTETS
SC_MAX_PATH_SIZE
SC_MAX_PATH_STRING_SIZE
SC_MAX_PIN_SIZE
SC_MAX_SDO_ACLS
SC_MAX_SERIALNR
SC_MAX_SE_NUM
SC_MAX_SUPPORTED_ALGORITHMS
SC_MAX_UID_SIZE
SC_PATH_TYPE_DF_NAME
SC_PATH_TYPE_FILE_ID
SC_PATH_TYPE_FROM_CURRENT
SC_PATH_TYPE_PARENT
SC_PATH_TYPE_PATH
SC_PATH_TYPE_PATH_PROT
SC_PIN_CMD_CHANGE
SC_PIN_CMD_GET_INFO
SC_PIN_CMD_GET_SESSION_PIN
SC_PIN_CMD_IMPLICIT_CHANGE
SC_PIN_CMD_NEED_PADDING
SC_PIN_CMD_UNBLOCK
SC_PIN_CMD_USE_PINPAD
SC_PIN_CMD_VERIFY
SC_PIN_ENCODING_ASCII
SC_PIN_ENCODING_BCD
SC_PIN_ENCODING_GLP
SC_PIN_STATE_LOGGED_IN
SC_PIN_STATE_LOGGED_OUT
SC_PIN_STATE_UNKNOWN
SC_PROTO_ANY
SC_PROTO_RAW
SC_PROTO_T0
SC_PROTO_T1
SC_READER_CAP_DISPLAY
SC_READER_CAP_PACE_DESTROY_CHANNEL
SC_READER_CAP_PACE_EID
SC_READER_CAP_PACE_ESIGN
SC_READER_CAP_PACE_GENERIC
SC_READER_CAP_PIN_PAD
SC_READER_CARD_CHANGED
SC_READER_CARD_EXCLUSIVE
SC_READER_CARD_INUSE
SC_READER_CARD_PRESENT
SC_READER_ENABLE_ESCAPE
SC_READER_HAS_WAITING_AREA
SC_READER_REMOVED
SC_READER_SHORT_APDU_MAX_RECV_SIZE
SC_READER_SHORT_APDU_MAX_SEND_SIZE
SC_RECORD_BY_REC_ID
SC_RECORD_BY_REC_NR
SC_RECORD_CURRENT
SC_RECORD_EF_ID_MASK
SC_REMOTE_APDU_FLAG_NOT_FATAL
SC_REMOTE_APDU_FLAG_RETURN_ANSWER
SC_SEC_ENV_ALG_PRESENT
SC_SEC_ENV_ALG_REF_PRESENT
SC_SEC_ENV_FILE_REF_PRESENT
SC_SEC_ENV_KEY_REF_PRESENT
SC_SEC_ENV_KEY_REF_SYMMETRIC
SC_SEC_ENV_MAX_PARAMS
SC_SEC_ENV_PARAM_IV
SC_SEC_ENV_PARAM_TARGET_FILE
SC_SEC_ENV_TARGET_FILE_REF_PRESENT
SC_SEC_OPERATION_AUTHENTICATE
SC_SEC_OPERATION_DECIPHER
SC_SEC_OPERATION_DERIVE
SC_SEC_OPERATION_SIGN
SC_SEC_OPERATION_UNWRAP
SC_SEC_OPERATION_WRAP
SC_SUCCESS
SEEK_CUR
SEEK_END
SEEK_SET
SIG_ATOMIC_MAX
SIG_ATOMIC_MIN
SIZE_MAX
SM_CMD_APDU
SM_CMD_APDU_RAW
SM_CMD_APDU_TRANSMIT
SM_CMD_APPLET
SM_CMD_APPLET_DELETE
SM_CMD_APPLET_INSTALL
SM_CMD_APPLET_LOAD
SM_CMD_EXTERNAL_AUTH
SM_CMD_EXTERNAL_AUTH_CHALLENGE
SM_CMD_EXTERNAL_AUTH_DOIT
SM_CMD_EXTERNAL_AUTH_INIT
SM_CMD_FILE
SM_CMD_FILE_CREATE
SM_CMD_FILE_DELETE
SM_CMD_FILE_READ
SM_CMD_FILE_UPDATE
SM_CMD_FINALIZE
SM_CMD_INITIALIZE
SM_CMD_MUTUAL_AUTHENTICATION
SM_CMD_PIN
SM_CMD_PIN_RESET
SM_CMD_PIN_SET_PIN
SM_CMD_PIN_VERIFY
SM_CMD_PSO
SM_CMD_PSO_DST
SM_CMD_RSA
SM_CMD_RSA_GENERATE
SM_CMD_RSA_READ_PUBLIC
SM_CMD_RSA_UPDATE
SM_CMD_SDO_UPDATE
SM_GP_SECURITY_ENC
SM_GP_SECURITY_MAC
SM_GP_SECURITY_NO
SM_MAX_DATA_SIZE
SM_MODE_ACL
SM_MODE_NONE
SM_MODE_TRANSMIT
SM_RESPONSE_CONTEXT_DATA_TAG
SM_RESPONSE_CONTEXT_TAG
SM_SMALL_CHALLENGE_LEN
SM_TYPE_CWA14890
SM_TYPE_DH_RSA
SM_TYPE_GP_SCP01
TMP_MAX
UINT8_MAX
UINT16_MAX
UINT32_MAX
UINTPTR_MAX
UINT_FAST8_MAX
UINT_FAST16_MAX
UINT_FAST32_MAX
UINT_LEAST8_MAX
UINT_LEAST16_MAX
UINT_LEAST32_MAX
WINT_MAX
WINT_MIN
_ATFILE_SOURCE
_BITS_BYTESWAP_H
_BITS_ERRNO_H
_BITS_G_CONFIG_H
_BITS_LIBIO_H
_BITS_PTHREADTYPES_ARCH_H
_BITS_PTHREADTYPES_COMMON_H
_BITS_STDINT_INTN_H
_BITS_STDINT_UINTN_H
_BITS_STDIO_LIM_H
_BITS_SYSMACROS_H
_BITS_TYPESIZES_H
_BITS_TYPES_H
_BITS_UINTN_IDENTITY_H
_BITS_WCHAR_H
_DEFAULT_SOURCE
_ENDIAN_H
_ERRNO_H
_FEATURES_H
_G_BUFSIZ
_G_HAVE_MMAP
_G_HAVE_MREMAP
_G_IO_IO_FILE_VERSION
_INTTYPES_H
_IOFBF
_IOLBF
_IONBF
_IOS_APPEND
_IOS_ATEND
_IOS_BIN
_IOS_INPUT
_IOS_NOCREATE
_IOS_NOREPLACE
_IOS_OUTPUT
_IOS_TRUNC
_IO_BAD_SEEN
_IO_BOOLALPHA
_IO_BUFSIZ
_IO_CURRENTLY_PUTTING
_IO_DEC
_IO_DELETE_DONT_CLOSE
_IO_DONT_CLOSE
_IO_EOF_SEEN
_IO_ERR_SEEN
_IO_FIXED
_IO_FLAGS2_MMAP
_IO_FLAGS2_NOTCANCEL
_IO_FLAGS2_USER_WBUF
_IO_HEX
_IO_INTERNAL
_IO_IN_BACKUP
_IO_IS_APPENDING
_IO_IS_FILEBUF
_IO_LEFT
_IO_LINE_BUF
_IO_LINKED
_IO_MAGIC
_IO_MAGIC_MASK
_IO_NO_READS
_IO_NO_WRITES
_IO_OCT
_IO_RIGHT
_IO_SCIENTIFIC
_IO_SHOWBASE
_IO_SHOWPOINT
_IO_SHOWPOS
_IO_SKIPWS
_IO_STDIO
_IO_TIED_PUT_GET
_IO_UNBUFFERED
_IO_UNIFIED_JUMPTABLES
_IO_UNITBUF
_IO_UPPERCASE
_IO_USER_BUF
_IO_USER_LOCK
_OLD_STDIO_MAGIC
_POSIX_C_SOURCE
_POSIX_SOURCE
_STDC_PREDEF_H
_STDINT_H
_STDIO_H
_SYS_CDEFS_H
_SYS_SELECT_H
_SYS_SYSMACROS_H
_SYS_TYPES_H
_THREAD_SHARED_TYPES_H
__BIG_ENDIAN
__BIT_TYPES_DEFINED__
__BYTE_ORDER
__FD_SETSIZE
__FD_ZERO_STOS
__FILE_defined
__FLOAT_WORD_ORDER
__GLIBC_MINOR__
__GLIBC_USE_DEPRECATED_GETS
__GLIBC_USE_IEC_60559_BFP_EXT
__GLIBC_USE_IEC_60559_FUNCS_EXT
__GLIBC_USE_IEC_60559_TYPES_EXT
__GLIBC_USE_LIB_EXT2
__GLIBC__
__GNUC_VA_LIST
__GNU_LIBRARY__
__HAVE_GENERIC_SELECTION
__INO_T_MATCHES_INO64_T
__LITTLE_ENDIAN
__OFF_T_MATCHES_OFF64_T
__PDP_ENDIAN
__PRI64_PREFIX
__PRIPTR_PREFIX
__PTHREAD_MUTEX_HAVE_PREV
__PTHREAD_MUTEX_LOCK_ELISION
__PTHREAD_MUTEX_NUSERS_AFTER_KIND
__PTHREAD_MUTEX_USE_UNION
__PTHREAD_RWLOCK_INT_FLAGS_SHARED
__RLIM_T_MATCHES_RLIM64_T
__SIZEOF_PTHREAD_ATTR_T
__SIZEOF_PTHREAD_BARRIERATTR_T
__SIZEOF_PTHREAD_BARRIER_T
__SIZEOF_PTHREAD_CONDATTR_T
__SIZEOF_PTHREAD_COND_T
__SIZEOF_PTHREAD_MUTEXATTR_T
__SIZEOF_PTHREAD_MUTEX_T
__SIZEOF_PTHREAD_RWLOCKATTR_T
__SIZEOF_PTHREAD_RWLOCK_T
__STDC_IEC_559__
__STDC_IEC_559_COMPLEX__
__STDC_ISO_10646__
__STDC_NO_THREADS__
__SYSCALL_WORDSIZE
__USE_ATFILE
__USE_FORTIFY_LEVEL
__USE_ISOC11
__USE_ISOC95
__USE_ISOC99
__USE_MISC
__USE_POSIX
__USE_POSIX2
__USE_POSIX199309
__USE_POSIX199506
__USE_POSIX_IMPLICITLY
__USE_XOPEN2K
__USE_XOPEN2K8
__WORDSIZE
__WORDSIZE_TIME64_COMPAT32
____FILE_defined
____gwchar_t_defined
____mbstate_t_defined
__clock_t_defined
__clockid_t_defined
__codecvt_result___codecvt_error
__codecvt_result___codecvt_noconv
__codecvt_result___codecvt_ok
__codecvt_result___codecvt_partial
__glibc_c99_flexarr_available
__have_pthread_attr_t
__sigset_t_defined
__time_t_defined
__timer_t_defined
__timespec_defined
__timeval_defined

Statics

_IO_2_1_stdin_
_IO_2_1_stdout_
_IO_2_1_stderr_
stderr
stdin
stdout
sys_errlist
sys_nerr

Functions

_IO_feof
_IO_ferror
_IO_flockfile
_IO_free_backup_area
_IO_ftrylockfile
_IO_funlockfile
_IO_getc
_IO_padn
_IO_peekc_locked
_IO_putc
_IO_seekoff
_IO_seekpos
_IO_sgetn
_IO_vfprintf
_IO_vfscanf
__errno_location
__getdelim
__overflow
__uflow
__underflow
_sc_delete_reader
clearerr
clearerr_unlocked
ctermid
dprintf
fclose
fdopen
feof
feof_unlocked
ferror
ferror_unlocked
fflush
fflush_unlocked
fgetc
fgetc_unlocked
fgetpos
fgets
fileno
fileno_unlocked
flockfile
fmemopen
fopen
fprintf
fputc
fputc_unlocked
fputs
fread
fread_unlocked
freopen
fscanf
fscanf1
fseek
fseeko
fsetpos
ftell
ftello
ftrylockfile
funlockfile
fwrite
fwrite_unlocked
getc
getc_unlocked
getchar
getchar_unlocked
getdelim
getline
getw
gnu_dev_major
gnu_dev_makedev
gnu_dev_minor
imaxabs
imaxdiv
iso7816_read_binary_sfid

@brief Read a complete EF by short file identifier.

iso7816_write_binary_sfid

@brief Write a complete EF by short file identifier.

iso7816_update_binary_sfid

@brief Update a EF by short file identifier.

iso7816_logout

@brief Set verification status of a specific PIN to “not verified”

list_append

append data at the end of the list.

list_attributes_comparator

set the comparator function for list elements.

list_attributes_copy

require to free element data when list entry is removed (default: don't free).

list_attributes_hash_computer

set the element hash computing function for the list elements.

list_attributes_seeker

set a seeker function for list elements.

list_attributes_serializer

set the element serializer function for the list elements.

list_attributes_unserializer

set the element unserializer function for the list elements.

list_clear

clear all the elements off of the list.

list_comparator_double

ready-made comparator for double elements. @see list_attributes_comparator()

list_comparator_float

ready-made comparator for float elements. @see list_attributes_comparator()

list_comparator_int8_t

ready-made comparator for int8_t elements. @see list_attributes_comparator()

list_comparator_int16_t

ready-made comparator for int16_t elements. @see list_attributes_comparator()

list_comparator_int32_t

ready-made comparator for int32_t elements. @see list_attributes_comparator()

list_comparator_int64_t

ready-made comparator for int64_t elements. @see list_attributes_comparator()

list_comparator_string

ready-made comparator for string elements. @see list_attributes_comparator()

list_comparator_uint8_t

ready-made comparator for uint8_t elements. @see list_attributes_comparator()

list_comparator_uint16_t

ready-made comparator for uint16_t elements. @see list_attributes_comparator()

list_comparator_uint32_t

ready-made comparator for uint32_t elements. @see list_attributes_comparator()

list_comparator_uint64_t

ready-made comparator for uint64_t elements. @see list_attributes_comparator()

list_concat

concatenate two lists

list_contains

inspect whether some data is member of the list.

list_delete

expunge the first found given element from the list.

list_delete_at

expunge an element at a given position from the list.

list_delete_range

expunge an array of elements from the list, given their position range.

list_destroy

completely remove the list from memory.

list_empty

inspect whether the list is empty.

list_extract_at

retrieve and remove from list an element at a given position.

list_fetch

extract the element in the top of the list.

list_get_at

retrieve an element at a given position.

list_get_max

return the maximum element of the list.

list_get_min

return the minimum element of the list.

list_hash

return the hash of the current status of the list.

list_hashcomputer_double

ready-made hash function for double elements. @see list_attributes_hash_computer()

list_hashcomputer_float

ready-made hash function for float elements. @see list_attributes_hash_computer()

list_hashcomputer_int8_t

ready-made hash function for int8_t elements. @see list_attributes_hash_computer()

list_hashcomputer_int16_t

ready-made hash function for int16_t elements. @see list_attributes_hash_computer()

list_hashcomputer_int32_t

ready-made hash function for int32_t elements. @see list_attributes_hash_computer()

list_hashcomputer_int64_t

ready-made hash function for int64_t elements. @see list_attributes_hash_computer()

list_hashcomputer_string

ready-made hash function for string elements. @see list_attributes_hash_computer()

list_hashcomputer_uint8_t

ready-made hash function for uint8_t elements. @see list_attributes_hash_computer()

list_hashcomputer_uint16_t

ready-made hash function for uint16_t elements. @see list_attributes_hash_computer()

list_hashcomputer_uint32_t

ready-made hash function for uint32_t elements. @see list_attributes_hash_computer()

list_hashcomputer_uint64_t

ready-made hash function for uint64_t elements. @see list_attributes_hash_computer()

list_init

initialize a list object for use.

list_insert_at

insert an element at a given position.

list_iterator_hasnext

inspect whether more elements are available in the iteration session.

list_iterator_next

return the next element in the iteration session.

list_iterator_start

start an iteration session.

list_iterator_stop

end an iteration session.

list_locate

find the position of an element in a list.

list_meter_double

ready-made metric function for double elements. @see list_attributes_copy()

list_meter_float

ready-made metric function for float elements. @see list_attributes_copy()

list_meter_int8_t

ready-made metric function for int8_t elements. @see list_attributes_copy()

list_meter_int16_t

ready-made metric function for int16_t elements. @see list_attributes_copy()

list_meter_int32_t

ready-made metric function for int32_t elements. @see list_attributes_copy()

list_meter_int64_t

ready-made metric function for int64_t elements. @see list_attributes_copy()

list_meter_string

ready-made metric function for string elements. @see list_attributes_copy()

list_meter_uint8_t

ready-made metric function for uint8_t elements. @see list_attributes_copy()

list_meter_uint16_t

ready-made metric function for uint16_t elements. @see list_attributes_copy()

list_meter_uint32_t

ready-made metric function for uint32_t elements. @see list_attributes_copy()

list_meter_uint64_t

ready-made metric function for uint64_t elements. @see list_attributes_copy()

list_prepend

insert data in the head of the list.

list_seek

returns an element given an indicator.

list_size

inspect the number of elements in the list.

list_sort

sort list elements.

open_memstream
pclose
perror
popen
printf
pselect
putc
putc_unlocked
putchar
putchar_unlocked
puts
putw
remove
rename
renameat
rewind
sc_apdu2bytes

Encodes a APDU as an octet string @param ctx sc_context_t object (used for logging) @param apdu APDU to be encoded as an octet string @param proto protocol version to be used @param out output buffer of size outlen. @param outlen size of hte output buffer @return SC_SUCCESS on success and an error code otherwise

sc_apdu_get_length

Calculates the length of the encoded APDU in octets. @param apdu the APDU @param proto the desired protocol @return length of the encoded APDU

sc_append_file_id
sc_append_path

Appends a sc_path_t object to another sc_path_t object (note: this function is a wrapper for sc_concatenate_path) @param dest destination sc_path_t object @param src sc_path_t object to append @return SC_SUCCESS on success and an error code otherwise

sc_append_path_id
sc_append_record

Appends a record to the current (i.e. selected) file. @param card struct sc_card object on which to issue the command @param buf buffer with to the data for the new record @param count length of the data @param flags flags (may contain a short file id of a file to select) @retval number of bytes written or an error value

sc_base64_encode
sc_base64_decode
sc_bin_to_hex

Converts an u8 array to a string representing the input as hexadecimal, human-readable/printable form. It's the inverse function of sc_hex_to_bin.

sc_build_pin
sc_bytes2apdu

Transforms an APDU from binary to its @c sc_apdu_t representation @param ctx sc_context_t object (used for logging) @param buf APDU to be encoded as an @c sc_apdu_t object @param len length of @a buf @param apdu @c sc_apdu_t object to initialize @return SC_SUCCESS on success and an error code otherwise @note On successful initialization apdu->data will point to @a buf with an appropriate offset. Only free() @a buf, when apdu->data is not needed any longer. @note On successful initialization @a apdu->resp and apdu->resplen will be 0. You should modify both if you are expecting data in the response APDU.

sc_cancel

Cancel all pending PC/SC calls NOTE: only PC/SC backend implements this function. @param ctx pointer to application context @retval SC_SUCCESS on success

sc_card_ctl
sc_card_find_alg
sc_card_find_ec_alg
sc_card_find_gostr3410_alg
sc_card_find_rsa_alg
sc_change_reference_data
sc_check_apdu
sc_check_sw
sc_compacttlv_find_tag

Find a given tag in a compact TLV structure @param[in] buf input buffer holding the compact TLV structure @param[in] len length of the input buffer @buf in bytes @param[in] tag compact tag to search for - high nibble: plain tag, low nibble: length. If length is 0, only the plain tag is used for searching, in any other case, the length must also match. @param[out] outlen pointer where the size of the buffer returned is to be stored @return pointer to the tag value found within @buf, or NULL if not found/on error

sc_compare_oid

Compares two sc_object_id objects @param oid1 the first sc_object_id object @param oid2 the second sc_object_id object @return 1 if the oids are equal and a zero value otherwise

sc_compare_path

Compares two sc_path_t objects @param patha sc_path_t object of the first path @param pathb sc_path_t object of the second path @return 1 if both paths are equal and 0 otherwise

sc_compare_path_prefix

Checks whether one path is a prefix of another path @param prefix sc_path_t object with the prefix @param path sc_path_t object with the path which should start with the given prefix @return 1 if the parameter prefix is a prefix of path and 0 otherwise

sc_compute_signature
sc_concatenate_path

Concatenate two sc_path_t values and store the result in d (note: d can be the same as p1 or p2). @param d destination sc_path_t object @param p1 first sc_path_t object @param p2 second sc_path_t object @return SC_SUCCESS on success and an error code otherwise

sc_connect_card

Connects to a card in a reader and auto-detects the card driver. The ATR (Answer to Reset) string of the card is also retrieved. @param reader Reader structure @param card The allocated card object will go here

sc_context_create

Creates a new sc_context_t object. @param ctx pointer to a sc_context_t pointer for the newly created sc_context_t object. @param parm parameters for the sc_context_t creation (see sc_context_param_t for a description of the supported options).. @return SC_SUCCESS on success and an error code otherwise.

sc_context_repair

Repairs an already existing sc_context_t object. This may occur if multithreaded issues mean that another context in the same heap is deleted. @param ctx pointer to a sc_context_t pointer containing the (partial) context. @return SC_SUCCESS or an error value if an error occurred.

sc_copy_ec_params

Copy and allocate if needed EC parameters data @dst destination @src source

sc_crc32

Get CRC-32 digest @param value pointer to data used for CRC calculation @param len length of data used for CRC calculation

sc_create_file
sc_ctx_detect_readers

Detect new readers available on system. @param ctx OpenSC context @return SC_SUCCESS on success and an error code otherwise.

sc_ctx_get_reader

Returns a pointer to the specified sc_reader_t object @param ctx OpenSC context @param i number of the reader structure to return (starting with 0) @return the requested sc_reader object or NULL if the index is not available

sc_ctx_get_reader_by_id

Returns a pointer to the specified sc_reader_t object @param ctx OpenSC context @param id id of the reader (starting from 0) @return the requested sc_reader object or NULL if the reader is not available

sc_ctx_get_reader_by_name

Returns a pointer to the specified sc_reader_t object @param ctx OpenSC context @param name name of the reader to look for @return the requested sc_reader object or NULL if the reader is not available

sc_ctx_get_reader_count

Returns the number a available sc_reader objects @param ctx OpenSC context @return the number of available reader objects

sc_ctx_log_to_file

Redirects OpenSC debug log to the specified file @param ctx existing OpenSC context @param filename path to the file or "stderr" or "stdout" @return SC_SUCCESS on success and an error code otherwise

sc_ctx_use_reader

Pass in pointers to handles to be used for the pcsc reader. This is used by cardmod to pass in handles provided by BaseCSP

sc_ctx_win32_get_config_value

In windows: get configuration option from environment or from registers. @param env name of environment variable @param reg name of register value @param key path of register key @return SC_SUCCESS on success and an error code otherwise.

sc_decipher
sc_delete_file
sc_delete_record
sc_detect_card_presence

Checks if a card is present in a reader @param reader Reader structure @retval If an error occurred, the return value is a (negative) OpenSC error code. If no card is present, 0 is returned. Otherwise, a positive value is returned, which is a combination of flags. The flag SC_READER_CARD_PRESENT is always set. In addition, if the card was exchanged, the SC_READER_CARD_CHANGED flag is set.

sc_disconnect_card

Disconnects from a card, and frees the card structure. Any locks made by the application must be released before calling this function. NOTE: The card is not reset nor powered down after the operation. @param card The card to disconnect @return SC_SUCCESS on success and an error code otherwise

sc_dlclose
sc_dlerror
sc_dlopen
sc_dlsym
sc_enum_apps
sc_erase_binary

Sets (part of) the content fo an EF to its logical erased state @param card struct sc_card object on which to issue the command @param idx index within the file for the data to be erased @param count number of bytes to erase @param flags flags for the ERASE BINARY command (currently not used) @return number of bytes written or an error code

sc_establish_context

Establishes an OpenSC context. Note: this function is deprecated, please use sc_context_create() instead. @param ctx A pointer to a pointer that will receive the allocated context @param app_name A string that identifies the application, used primarily in finding application-specific configuration data. Can be NULL.

sc_file_add_acl_entry
sc_file_clear_acl_entries
sc_file_dup
sc_file_free
sc_file_get_acl_entry
sc_file_new
sc_file_set_content
sc_file_set_prop_attr
sc_file_set_sec_attr
sc_file_set_type_attr
sc_file_valid
sc_find_app
sc_format_apdu
sc_format_apdu_ex

Format an APDU based on the data to be sent and received.

sc_format_oid

Converts a given OID in ascii form to a internal sc_object_id object @param oid OUT sc_object_id object for the result @param in ascii string with the oid ("1.2.3.4.5...") @return SC_SUCCESS or an error value if an error occurred.

sc_format_path
sc_free_apps
sc_free_ef_atr
sc_get_cache_dir
sc_get_challenge

Gets challenge from the card (normally random data). @param card struct sc_card object on which to issue the command @param rndout buffer for the returned random challenge @param len length of the challenge @return SC_SUCCESS on success and an error code otherwise

sc_get_conf_block
sc_get_data
sc_get_iso7816_driver
sc_get_max_recv_size

@brief Calculate the maximum size of R-APDU payload (Ne).

sc_get_max_send_size

@brief Calculate the maximum size of C-APDU payload (Nc).

sc_get_mf_path

Returns a const sc_path_t object for the MF @return sc_path_t object of the MF

sc_get_version
sc_hex_to_bin
sc_init_oid

Initializes a given OID @param oid sc_object_id object to be initialized

sc_invalidate_cache
sc_list_files

List file ids within a DF @param card struct sc_card object on which to issue the command @param buf buffer for the read file ids (the filed ids are stored in the buffer as a sequence of 2 byte values) @param buflen length of the supplied buffer @return number of files ids read or an error code

sc_lock

Tries acquire the reader lock. @param card The card to lock @retval SC_SUCCESS on success

sc_logout

Resets the security status of the card (i.e. withdraw all granted access rights). Note: not all card operating systems support a logout command and in this case SC_ERROR_NOT_SUPPORTED is returned. @param card struct sc_card object @return SC_SUCCESS on success, SC_ERROR_NOT_SUPPORTED if the card doesn't support a logout command and an error code otherwise

sc_make_cache_dir
sc_match_atr_block
sc_mem_clear

Clears a memory buffer (note: when OpenSSL is used this is currently a wrapper for OPENSSL_cleanse() ). @param ptr pointer to the memory buffer @param len length of the memory buffer

sc_mem_reverse
sc_mem_secure_alloc
sc_mem_secure_free
sc_parse_ef_atr
sc_parse_ef_gdo
sc_path_print

Prints the sc_path_t object to a character buffer @param buf pointer to the buffer @param buflen size of the buffer @param path sc_path_t object to be printed @return SC_SUCCESS on success and an error code otherwise

sc_path_set

Sets the content of a sc_path_t object. @param path sc_path_t object to set @param type type of path @param id value of the path @param id_len length of the path value @param index index within the file @param count number of bytes @return SC_SUCCESS on success and an error code otherwise

sc_pin_cmd
sc_print_cache
sc_print_path

Return string representation of the given sc_path_t object Warning: as static memory is used for the return value this function is not thread-safe !!! @param path sc_path_t object of the path to be printed @return pointer to a const buffer with the string representation of the path

sc_put_data
sc_read_binary

Read data from a binary EF @param card struct sc_card object on which to issue the command @param idx index within the file with the data to read @param buf buffer to the read data @param count number of bytes to read @param flags flags for the READ BINARY command (currently not used) @return number of bytes read or an error code

sc_read_record

Reads a record from the current (i.e. selected) file. @param card struct sc_card object on which to issue the command @param rec_nr SC_READ_RECORD_CURRENT or a record number starting from 1 @param buf Pointer to a buffer for storing the data @param count Number of bytes to read @param flags flags (may contain a short file id of a file to select) @retval number of bytes read or an error value

sc_release_context

Releases an established OpenSC context @param ctx A pointer to the context structure to be released

sc_remote_data_init

Used to initialize the @c sc_remote_data structure -- reset the header of the 'remote APDUs' list, set the handlers to manipulate the list.

sc_reset

Resets the card. NOTE: only PC/SC backend implements this function at this moment. @param card The card to reset. @param do_cold_reset 0 for a warm reset, 1 for a cold reset (unpower) @retval SC_SUCCESS on success

sc_reset_retry_counter
sc_restore_security_env
sc_right_trim
sc_select_file

Does the equivalent of ISO 7816-4 command SELECT FILE. @param card struct sc_card object on which to issue the command @param path The path, file id or name of the desired file @param file If not NULL, will receive a pointer to a new structure @return SC_SUCCESS on success and an error code otherwise

sc_set_card_driver

Forces the use of a specified card driver @param ctx OpenSC context @param short_name The short name of the driver to use (e.g. 'cardos')

sc_set_security_env
sc_sm_parse_answer
sc_sm_single_transmit
sc_sm_stop

@brief Stops SM and frees allocated resources.

sc_sm_update_apdu_response
sc_strerror
sc_transmit_apdu

Sends a APDU to the card @param card struct sc_card object to which the APDU should be send @param apdu sc_apdu_t object of the APDU to be send @return SC_SUCCESS on success and an error code otherwise

sc_unlock

Unlocks a previously acquired reader lock. @param card The card to unlock @retval SC_SUCCESS on success

sc_unwrap
sc_update_binary

Updates the content of a binary EF @param card struct sc_card object on which to issue the command @param idx index within the file for the data to be updated @param buf buffer with the new data @param count number of bytes to update @param flags flags for the UPDATE BINARY command (currently not used) @return number of bytes written or an error code

sc_update_dir
sc_update_record

Updates the data of a record from the current (i.e. selected) file. @param card struct sc_card object on which to issue the command @param rec_nr SC_READ_RECORD_CURRENT or a record number starting from 1 @param buf buffer with to the new data to be written @param count number of bytes to update @param flags flags (may contain a short file id of a file to select) @retval number of bytes written or an error value

sc_valid_oid

Validates a given OID @param oid sc_object_id object to be validated

sc_verify
sc_wait_for_event

Waits for an event on readers. Note: only the event is detected, there is no update of any card or other info. NOTE: Only PC/SC backend implements this. @param ctx pointer to a Context structure @param event_mask The types of events to wait for; this should be ORed from one of the following SC_EVENT_CARD_REMOVED SC_EVENT_CARD_INSERTED SC_EVENT_READER_ATTACHED @param event_reader (OUT) the reader on which the event was detected, or NULL if new reader @param event (OUT) the events that occurred. This is also ORed from the SC_EVENT_CARD_* constants listed above. @param timeout Amount of millisecs to wait; -1 means forever @retval < 0 if an error occurred @retval = 0 if a an event happened @retval = 1 if the timeout occurred

sc_wrap
sc_write_binary

Write data to a binary EF @param card struct sc_card object on which to issue the command @param idx index within the file for the data to be written @param buf buffer with the data @param count number of bytes to write @param flags flags for the WRITE BINARY command (currently not used) @return number of bytes written or an error code

sc_write_record

Writes data to a record from the current (i.e. selected) file. @param card struct sc_card object on which to issue the command @param rec_nr SC_READ_RECORD_CURRENT or a record number starting from 1 @param buf buffer with to the data to be written @param count number of bytes to write @param flags flags (may contain a short file id of a file to select) @retval number of bytes written or an error value

scanf
scanf1
scconf_block_add
scconf_block_copy
scconf_block_destroy
scconf_find_block
scconf_find_blocks
scconf_find_list
scconf_free
scconf_get_bool
scconf_get_int
scconf_get_str
scconf_item_add
scconf_item_copy
scconf_item_destroy
scconf_list_add
scconf_list_array_length
scconf_list_copy
scconf_list_destroy
scconf_list_strdup
scconf_list_strings_length
scconf_list_toarray
scconf_new
scconf_parse
scconf_parse_string
scconf_put_bool
scconf_put_int
scconf_put_str
scconf_write
select
setbuf
setbuffer
setlinebuf
setvbuf
snprintf
sprintf
sscanf
sscanf1
strtoimax
strtoumax
tempnam
tmpfile
tmpnam
tmpnam_r
ungetc
vdprintf
vfprintf
vfscanf
vfscanf1
vprintf
vscanf
vscanf1
vsnprintf
vsprintf
vsscanf
vsscanf1
wcstoimax
wcstoumax

Type Definitions

FILE
_IO_lock_t
__FILE
__blkcnt64_t
__blkcnt_t
__blksize_t
__builtin_va_list
__caddr_t
__clock_t
__clockid_t
__codecvt_result
__daddr_t
__dev_t
__fd_mask
__fsblkcnt64_t
__fsblkcnt_t
__fsfilcnt64_t
__fsfilcnt_t
__fsword_t
__gid_t
__gnuc_va_list
__gwchar_t
__id_t
__ino64_t
__ino_t
__int8_t
__int16_t
__int32_t
__int64_t
__intmax_t
__intptr_t
__io_close_fn
__io_read_fn
__io_seek_fn
__io_write_fn
__key_t
__loff_t
__mode_t
__nlink_t
__off64_t
__off_t
__pid_t
__pthread_list_t
__quad_t
__rlim64_t
__rlim_t
__sig_atomic_t
__socklen_t
__ssize_t
__suseconds_t
__syscall_slong_t
__syscall_ulong_t
__time_t
__timer_t
__u_char
__u_int
__u_long
__u_quad_t
__u_short
__uid_t
__uint8_t
__uint16_t
__uint32_t
__uint64_t
__uintmax_t
__useconds_t
blkcnt_t
blksize_t
caddr_t
clock_t
clockid_t
daddr_t
dev_t
element_comparator

a comparator of elements.

element_hash_computer

a function computing the hash of elements.

element_meter

an element length meter.

element_seeker

a seeker of elements.

element_serializer

a function for serializing an element.

element_unserializer

a function for un-serializing an element.

fd_mask
fpos_t
fsblkcnt_t
fsfilcnt_t
fsid_t
gid_t
id_t
ino_t
int_fast8_t
int_fast16_t
int_fast32_t
int_fast64_t
int_least8_t
int_least16_t
int_least32_t
int_least64_t
intmax_t
key_t
list_hash_t

Type representing list hashes.

loff_t
mode_t
nlink_t
off_t
pid_t
pthread_key_t
pthread_once_t
pthread_spinlock_t
pthread_t
quad_t
register_t
sc_acl_entry_t
sc_algorithm_info_t
sc_apdu_t
sc_app_info_t
sc_card_driver_t
sc_card_t
sc_context_t
sc_file_t
sc_path_t
sc_reader_t
sc_sec_env_param_t
sc_security_env_t
sc_serial_number_t
scconf_block
scconf_item
scconf_list
sigset_t
size_t
sm_card_response_t
sm_context_t
sm_module_t
ssize_t
suseconds_t
time_t
timer_t
u8
u_char
u_int
u_int8_t
u_int16_t
u_int32_t
u_int64_t
u_long
u_quad_t
u_short
uid_t
uint
uint_fast8_t
uint_fast16_t
uint_fast32_t
uint_fast64_t
uint_least8_t
uint_least16_t
uint_least32_t
uint_least64_t
uintmax_t
ulong
ushort
va_list

Unions

__mbstate_t__bindgen_ty_1
__pthread_cond_s__bindgen_ty_1
__pthread_cond_s__bindgen_ty_2
_scconf_item__bindgen_ty_1
pthread_attr_t
pthread_barrier_t
pthread_barrierattr_t
pthread_cond_t
pthread_condattr_t
pthread_mutex_t
pthread_mutexattr_t
pthread_rwlock_t
pthread_rwlockattr_t
sc_algorithm_info__bindgen_ty_1
sm_info__bindgen_ty_1