Logo Search packages:      
Sourcecode: beid version File versions  Download package

eIDMW Namespace Reference


Detailed Description

Caching of files on an eID card to RAM and to hard disk

Subclasses of this class implement functionality for a specific type of card (e.g. BE eID, PT eID, SIS, ...) This subclasses can either part of the CAL or be separate libraries ('plugins'), see CardFactory.cpp for more info.

Tries to load SIScardplugins and return a CSISCard object if this succeeded.

Each Card subclass can return it's own implementation of this CP15Correction interface in order to correct/create the PKCS15 info that is/is not present in the card. That implementation will be called in the PkCS15.cpp class just after (trying to) read/parse the PKCS15 info about the PINs, keys and certs.

Pinpad support based on CCID (which uses the SCardControl() function in PCSC). Also supported is the loading of pinpad libraries for those readers who aren't CCID compliant or to offer extra functionality such as specifying the messages to be displayed. See pinpad2.h

A pinpad lib is a DLL, SO file or DYLIB that implements and export the 2 functions in pinpad2.h (or another pinpad API that should be supported). See pinpad2.h for more info about the functions and the requirements for such pinpad libs. This class takes care of searching and using a pinpad lib for a specific type of eID card and a specific type of pinpad reader: all pinpad libs for that specific eID card are searched and are loaded in order to check if they support the pinpad reader in question.

This is the parent class for all PKI cards(such as most eID cards); containing functionality for reading/writing files and crypto (sign, random, ...)

This class is for unknown cards. It only provides some basic functionality such as SendAPDU().

Platform-independent loading of dynamic libraries (.DLL on Windows, .so on Linux, .dylib or .so on Mac OS X).

This class takes care of hashing (SHA1, MD5, ..)

Instead of providing the result of GetHash() to the CCard::Sign() function, it is better to provide the hash object itself to CCard::Sign(); this way it's possible for the CardLayer to do 'partial signatures' in which the last part of the hash is calculated on the card. Example: CByteArray sign(CCard &oCard, const tPrivKey & key, const tPin & Pin) { CHash oHash; oHash.Init(ALGO_MD5_SHA1); oHash.Update(...); oHash.Update(...); return oCard.Sign(key, Pin, SIGN_ALGO_RSA_PKCS, oHash); }

TODO: add support for partial signing (when needed).

Helper class to enumerate the algorithms that are provided by this CSP. Used in CPGetProvParam.

Helper class to list the key containers of this CSP, to check if a certain key container exists and to extract the public key info for a certain container. This is done by looking in the "MY" certificate strore for certificates that were registered for this provider.

For each CPAcquireContext() call, a CProviderContext object is created that takes are of maintaing all info, params, ... over all CPxx() calls for this provider context (referenced by a HCRYPTPROV handle).

For each CPAcquireContext() call, a CProviderContext object is created. These CProviderContext objects are maintained here.

ATTENTION: THIS FILE IS GENERATED BY AN EXCEL MACRO ALL CHANGES MADE IN THIS CURRENT FILE WILL BE LOST BY NEXT EXPORT If you want to add/change a string or a translation, please do it in the language.xls file and then click on the export button. This will generated a whole new file.


Classes

class  APL_Biometric
class  APL_Card
class  APL_CardFile
class  APL_CardFile_Certificate
class  APL_CardFile_Info
class  APL_CdcLine
class  APL_Certif
class  APL_Certifs
class  APL_CertStatusCache
class  APL_CheckRelease
class  APL_Config
class  APL_Crl
class  APL_CrlDownload
class  APL_CrlDownloadingCache
class  APL_CrlService
class  APL_Crypto
class  APL_CryptoFwk
class  APL_CryptoFwkBeid
class  APL_CscLine
class  APL_DocEId
class  APL_DocSisId
class  APL_DocVersionInfo
class  APL_DownloadControl
class  APL_EIDCard
class  APL_EidFile_Address
class  APL_EidFile_AddressSign
class  APL_EidFile_ID
class  APL_EidFile_IDSign
class  APL_EidFile_Photo
class  APL_EidFile_RRN
class  APL_EidFile_RRNCA
class  APL_EidFile_TokenInfo
class  APL_EIdFullDoc
class  APL_ForeignerCard
class  APL_KidsCard
class  APL_MemoryCard
class  APL_OcspResponse
class  APL_PictureEid
class  APL_Pin
class  APL_Pins
struct  APL_RawData_Eid
struct  APL_RawData_Sis
class  APL_ReaderContext
class  APL_SISCard
class  APL_SisFile_ID
class  APL_SisFullDoc
class  APL_SmartCard
class  APL_SuperParser
class  APL_XMLDoc
class  BEID_Biometric
class  BEID_ByteArray
class  BEID_Card
class  BEID_CardVersionInfo
class  BEID_Certificate
class  BEID_Certificates
class  BEID_CheckRelease
class  BEID_Config
class  BEID_Crl
class  BEID_Crypto
class  BEID_EId
class  BEID_EIDCard
class  BEID_EIdFullDoc
class  BEID_ExBadTransaction
class  BEID_ExBadUsage
class  BEID_ExCardBadType
class  BEID_ExCardChanged
class  BEID_ExCardTypeUnknown
class  BEID_Exception
class  BEID_ExCertNoCrl
class  BEID_ExCertNoIssuer
class  BEID_ExCertNoOcsp
class  BEID_ExCertNoRoot
class  BEID_ExCmdNotAllowed
class  BEID_ExCmdNotSupported
class  BEID_ExDocTypeUnknown
class  BEID_ExFileTypeUnknown
class  BEID_ExNoCardPresent
class  BEID_ExNoReader
class  BEID_ExNotAllowByUser
class  BEID_ExParamRange
class  BEID_ExReaderSetChanged
class  BEID_ExReleaseNeeded
class  BEID_ExUnknown
class  BEID_ExUserMustAnswer
class  BEID_ForeignerCard
class  BEID_KidsCard
class  BEID_MemoryCard
class  BEID_Object
class  BEID_OcspResponse
class  BEID_Picture
class  BEID_Pin
class  BEID_Pins
struct  BEID_RawData_Eid
struct  BEID_RawData_Sis
class  BEID_ReaderContext
class  BEID_ReaderSet
class  BEID_SISCard
class  BEID_SisFullDoc
class  BEID_SisId
class  BEID_SmartCard
class  BEID_XMLDoc
class  CAppLayer
class  CAutoLock
class  CAutoMutex
class  CBaseProvider
class  CBeidCard
class  CBeidP15Correction
class  CByteArray
class  CByteArrayReader
class  CCache
class  CCard
class  CCardLayer
class  CCardReaderInfo
class  CCommand
struct  CConfig
class  CContext
class  CDataFile
 Class Definitions /////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////. More...
class  CDynamicLib
class  CEmuationPkiCard
class  CEmulationBeidCard
class  CEmulationCard
class  CEmulationCardFactory
class  CEmulationSISCard
class  CEventCallbackThread
class  CFileSystemCard
class  CHash
class  CLang
class  CLog
class  CLogger
class  CMutex
class  CMWException
class  CNotAuthenticatedException
class  CP15Correction
class  CPathUtil
class  CPCSC
class  CPinpad
class  CPinpadLib
class  CPinpadLibOldBeid
class  CPKCS15
class  CPkiCard
class  CProviderAlgorithms
class  CProviderContainers
class  CProviderContext
class  CProviderContextPool
class  CProviderHash
class  CReader
class  CReadersInfo
class  CrlMemoryCache
class  CSISCard
class  CSocket
class  CSocketClient
class  CSocketServer
class  CSVParser
class  CThread
class  CThreadPool
class  CTimestampUtil
class  CTLV
class  CTLVBuffer
class  CUnknownCard
class  DataStorage
struct  DlgAskAccessArguments
struct  DlgAskPINArguments
struct  DlgAskPINsArguments
struct  DlgBadPinArguments
struct  DlgDisplayModalArguments
struct  DlgDisplayPinpadInfoArguments
struct  DlgPinInfo
struct  DlgRunningProc
class  EID_DataStorage
class  EIDCardType_Processor
class  EIDDocVersion_Processor
class  EIDMW_EIDMemParser
class  EIDMW_EIDXMLParser
class  EIDMW_XMLParser
class  EIDTag_Processor
class  PKCS15Parser
struct  SDK_Context
class  SharedMem
struct  st_key
struct  st_section
class  TagProcessor
struct  tAlgoInfo
struct  tCacheHeader
struct  tCacheInfo
struct  tCardFile
struct  tCardKey
struct  tCardPin
struct  tCert
struct  tCertifInfo
struct  tCommonObjAttr
struct  tCrlInfo
struct  tDirInfo
struct  tFileInfo
class  ThreadConnect
class  TLVParser
struct  tOcspCertID
struct  tOdfInfo
struct  tPin
struct  tPKCSFile
struct  tPluginInfo
struct  tPrivKey
struct  tReaderInfo
struct  tTokenInfo
class  XML_DefHandler
class  XML_EIDTagHandler

Typedefs

typedef KeyList::iterator KeyItor
typedef std::vector< t_Key > KeyList
typedef SectionList::iterator SectionItor
typedef std::vector< t_Section > SectionList
typedef long(* SISPLUGINREADCARD )(unsigned long, void *, const char *, SCARDHANDLE *, unsigned char *, unsigned long, void *)
typedef struct eIDMW::st_key t_Key
typedef struct eIDMW::st_section t_Section
typedef std::wstring t_Str
typedef std::map< std::string,
CByteArray > 
tCacheMap
typedef std::vector< CByteArray * > tDataContainer
typedef std::map< std::wstring,
tDataContainer > 
tDataFields
typedef std::map< std::string,
tCardFile > 
tFileMap
typedef std::map< HCRYPTHASH,
CProviderHash * > 
tHashPool
typedef std::map< std::string,
tCardPin > 
tPinMap
typedef std::stack
< TagProcessor * > 
tProcessorStack
typedef std::map< HCRYPTPROV,
CProviderContext * > 
tProvCtxPool
typedef std::vector< std::wstring > tStoreFields
typedef std::vector< std::wstring > tTagStack

Enumerations

enum  APL_AccessWarningLevel { APL_ACCESSWARNINGLEVEL_BEING_ASKED = -2, APL_ACCESSWARNINGLEVEL_REFUSED = -1, APL_ACCESSWARNINGLEVEL_TO_ASK = 0, APL_ACCESSWARNINGLEVEL_ACCEPTED = 1 }
enum  APL_CardType {
  APL_CARDTYPE_UNKNOWN = 0, APL_CARDTYPE_BEID_EID, APL_CARDTYPE_BEID_KIDS, APL_CARDTYPE_BEID_FOREIGNER,
  APL_CARDTYPE_BEID_SIS
}
enum  APL_CertifStatus {
  APL_CERTIF_STATUS_UNCHECK, APL_CERTIF_STATUS_VALID, APL_CERTIF_STATUS_VALID_CRL, APL_CERTIF_STATUS_VALID_OCSP,
  APL_CERTIF_STATUS_REVOKED, APL_CERTIF_STATUS_TEST, APL_CERTIF_STATUS_DATE, APL_CERTIF_STATUS_CONNECT,
  APL_CERTIF_STATUS_ISSUER, APL_CERTIF_STATUS_ERROR, APL_CERTIF_STATUS_UNKNOWN
}
enum  APL_CertifType {
  APL_CERTIF_TYPE_UNKNOWN, APL_CERTIF_TYPE_ROOT, APL_CERTIF_TYPE_CA, APL_CERTIF_TYPE_AUTHENTICATION,
  APL_CERTIF_TYPE_SIGNATURE, APL_CERTIF_TYPE_RRN
}
enum  APL_CrlStatus { APL_CRL_STATUS_UNKNOWN, APL_CRL_STATUS_VALID, APL_CRL_STATUS_CONNECT, APL_CRL_STATUS_ERROR }
enum  APL_DocumentType {
  APL_DOCTYPE_FULL = 0, APL_DOCTYPE_ID, APL_DOCTYPE_PICTURE, APL_DOCTYPE_INFO,
  APL_DOCTYPE_PINS, APL_DOCTYPE_CERTIFICATES
}
enum  APL_HashAlgo { APL_ALGO_MD5, APL_ALGO_SHA1 }
enum  APL_RawDataType {
  APL_RAWDATA_ID = 0, APL_RAWDATA_ID_SIG, APL_RAWDATA_ADDR, APL_RAWDATA_ADDR_SIG,
  APL_RAWDATA_PICTURE, APL_RAWDATA_CARD_INFO, APL_RAWDATA_TOKEN_INFO, APL_RAWDATA_CERT_RRN,
  APL_RAWDATA_CHALLENGE, APL_RAWDATA_RESPONSE
}
enum  APL_SaveFileType {
  APL_SAVEFILETYPE_UNKNOWN = 0, APL_SAVEFILETYPE_RAWDATA, APL_SAVEFILETYPE_TLV, APL_SAVEFILETYPE_XML,
  APL_SAVEFILETYPE_CSV
}
enum  APL_ValidationLevel { APL_VALIDATION_LEVEL_NONE = 0, APL_VALIDATION_LEVEL_OPTIONAL, APL_VALIDATION_LEVEL_MANDATORY }
enum  APL_ValidationProcess { APL_VALIDATION_PROCESS_NONE = 0, APL_VALIDATION_PROCESS_CRL, APL_VALIDATION_PROCESS_OCSP }
enum  BEID_CardType {
  BEID_CARDTYPE_UNKNOWN = 0, BEID_CARDTYPE_EID, BEID_CARDTYPE_KIDS, BEID_CARDTYPE_FOREIGNER,
  BEID_CARDTYPE_SIS, BEID_CARDTYPE_UNKNOWN = 0, BEID_CARDTYPE_EID, BEID_CARDTYPE_KIDS,
  BEID_CARDTYPE_FOREIGNER, BEID_CARDTYPE_SIS
}
enum  BEID_CertifStatus {
  BEID_CERTIF_STATUS_UNKNOWN = 0, BEID_CERTIF_STATUS_REVOKED, BEID_CERTIF_STATUS_TEST, BEID_CERTIF_STATUS_DATE,
  BEID_CERTIF_STATUS_CONNECT, BEID_CERTIF_STATUS_ISSUER, BEID_CERTIF_STATUS_ERROR, BEID_CERTIF_STATUS_VALID,
  BEID_CERTIF_STATUS_VALID_CRL, BEID_CERTIF_STATUS_VALID_OCSP, BEID_CERTIF_STATUS_UNKNOWN = 0, BEID_CERTIF_STATUS_REVOKED,
  BEID_CERTIF_STATUS_TEST, BEID_CERTIF_STATUS_DATE, BEID_CERTIF_STATUS_CONNECT, BEID_CERTIF_STATUS_ISSUER,
  BEID_CERTIF_STATUS_ERROR, BEID_CERTIF_STATUS_VALID, BEID_CERTIF_STATUS_VALID_CRL, BEID_CERTIF_STATUS_VALID_OCSP
}
enum  BEID_CertifType {
  BEID_CERTIF_TYPE_UNKNOWN, BEID_CERTIF_TYPE_RRN, BEID_CERTIF_TYPE_ROOT, BEID_CERTIF_TYPE_CA,
  BEID_CERTIF_TYPE_AUTHENTICATION, BEID_CERTIF_TYPE_SIGNATURE, BEID_CERTIF_TYPE_UNKNOWN, BEID_CERTIF_TYPE_RRN,
  BEID_CERTIF_TYPE_ROOT, BEID_CERTIF_TYPE_CA, BEID_CERTIF_TYPE_AUTHENTICATION, BEID_CERTIF_TYPE_SIGNATURE
}
enum  BEID_CrlStatus {
  BEID_CRL_STATUS_UNKNOWN, BEID_CRL_STATUS_VALID, BEID_CRL_STATUS_CONNECT, BEID_CRL_STATUS_ERROR,
  BEID_CRL_STATUS_UNKNOWN, BEID_CRL_STATUS_VALID, BEID_CRL_STATUS_CONNECT, BEID_CRL_STATUS_ERROR
}
enum  BEID_DocumentType {
  BEID_DOCTYPE_FULL = 0, BEID_DOCTYPE_ID, BEID_DOCTYPE_PICTURE, BEID_DOCTYPE_INFO,
  BEID_DOCTYPE_PINS, BEID_DOCTYPE_CERTIFICATES, BEID_DOCTYPE_FULL = 0, BEID_DOCTYPE_ID,
  BEID_DOCTYPE_PICTURE, BEID_DOCTYPE_INFO, BEID_DOCTYPE_PINS, BEID_DOCTYPE_CERTIFICATES
}
enum  BEID_FileType {
  BEID_FILETYPE_UNKNOWN = 0, BEID_FILETYPE_TLV, BEID_FILETYPE_XML, BEID_FILETYPE_CSV,
  BEID_FILETYPE_UNKNOWN = 0, BEID_FILETYPE_TLV, BEID_FILETYPE_XML, BEID_FILETYPE_CSV
}
enum  BEID_HashAlgo { BEID_ALGO_MD5, BEID_ALGO_SHA1, BEID_ALGO_MD5, BEID_ALGO_SHA1 }
enum  BEID_LogLevel {
  BEID_LOG_LEVEL_CRITICAL, BEID_LOG_LEVEL_ERROR, BEID_LOG_LEVEL_WARNING, BEID_LOG_LEVEL_INFO,
  BEID_LOG_LEVEL_DEBUG, BEID_LOG_LEVEL_CRITICAL, BEID_LOG_LEVEL_ERROR, BEID_LOG_LEVEL_WARNING,
  BEID_LOG_LEVEL_INFO, BEID_LOG_LEVEL_DEBUG
}
enum  BEID_Param {
  BEID_PARAM_GENERAL_INSTALLDIR, BEID_PARAM_GENERAL_INSTALL_PRO_DIR, BEID_PARAM_GENERAL_INSTALL_SDK_DIR, BEID_PARAM_GENERAL_CACHEDIR,
  BEID_PARAM_GENERAL_LANGUAGE, BEID_PARAM_LOGGING_DIRNAME, BEID_PARAM_LOGGING_PREFIX, BEID_PARAM_LOGGING_FILENUMBER,
  BEID_PARAM_LOGGING_FILESIZE, BEID_PARAM_LOGGING_LEVEL, BEID_PARAM_LOGGING_GROUP, BEID_PARAM_CRL_SERVDOWNLOADNR,
  BEID_PARAM_CRL_TIMEOUT, BEID_PARAM_CRL_CACHEDIR, BEID_PARAM_CRL_CACHEFILE, BEID_PARAM_CRL_LOCKFILE,
  BEID_PARAM_CERTVALID_ALLOWTESTC, BEID_PARAM_CERTVALID_CRL, BEID_PARAM_CERTVALID_OCSP, BEID_PARAM_CERTCACHE_CACHEFILE,
  BEID_PARAM_CERTCACHE_LINENUMB, BEID_PARAM_CERTCACHE_VALIDITY, BEID_PARAM_CERTCACHE_WAITDELAY, BEID_PARAM_PROXY_HOST,
  BEID_PARAM_PROXY_PORT, BEID_PARAM_PROXY_PACFILE, BEID_PARAM_SECURITY_SINGLESIGNON, BEID_PARAM_GUITOOL_STARTWIN,
  BEID_PARAM_GUITOOL_STARTMINI, BEID_PARAM_GUITOOL_SHOWPIC, BEID_PARAM_GUITOOL_SHOWTBAR, BEID_PARAM_GUITOOL_VIRTUALKBD,
  BEID_PARAM_GUITOOL_AUTOCARDREAD, BEID_PARAM_GUITOOL_CARDREADNUMB, BEID_PARAM_GUITOOL_REGCERTIF, BEID_PARAM_GUITOOL_REMOVECERTIF,
  BEID_PARAM_XSIGN_TSAURL, BEID_PARAM_XSIGN_ONLINE, BEID_PARAM_XSIGN_WORKINGDIR, BEID_PARAM_XSIGN_TIMEOUT,
  BEID_PARAM_GENERAL_INSTALLDIR, BEID_PARAM_GENERAL_INSTALL_PRO_DIR, BEID_PARAM_GENERAL_INSTALL_SDK_DIR, BEID_PARAM_GENERAL_CACHEDIR,
  BEID_PARAM_GENERAL_LANGUAGE, BEID_PARAM_LOGGING_DIRNAME, BEID_PARAM_LOGGING_PREFIX, BEID_PARAM_LOGGING_FILENUMBER,
  BEID_PARAM_LOGGING_FILESIZE, BEID_PARAM_LOGGING_LEVEL, BEID_PARAM_LOGGING_GROUP, BEID_PARAM_CRL_SERVDOWNLOADNR,
  BEID_PARAM_CRL_TIMEOUT, BEID_PARAM_CRL_CACHEDIR, BEID_PARAM_CRL_CACHEFILE, BEID_PARAM_CRL_LOCKFILE,
  BEID_PARAM_CERTVALID_ALLOWTESTC, BEID_PARAM_CERTVALID_CRL, BEID_PARAM_CERTVALID_OCSP, BEID_PARAM_CERTCACHE_CACHEFILE,
  BEID_PARAM_CERTCACHE_LINENUMB, BEID_PARAM_CERTCACHE_VALIDITY, BEID_PARAM_CERTCACHE_WAITDELAY, BEID_PARAM_PROXY_HOST,
  BEID_PARAM_PROXY_PORT, BEID_PARAM_PROXY_PACFILE, BEID_PARAM_SECURITY_SINGLESIGNON, BEID_PARAM_GUITOOL_STARTWIN,
  BEID_PARAM_GUITOOL_STARTMINI, BEID_PARAM_GUITOOL_SHOWPIC, BEID_PARAM_GUITOOL_SHOWTBAR, BEID_PARAM_GUITOOL_VIRTUALKBD,
  BEID_PARAM_GUITOOL_AUTOCARDREAD, BEID_PARAM_GUITOOL_CARDREADNUMB, BEID_PARAM_GUITOOL_REGCERTIF, BEID_PARAM_GUITOOL_REMOVECERTIF,
  BEID_PARAM_GUITOOL_FILESAVE, BEID_PARAM_XSIGN_TSAURL, BEID_PARAM_XSIGN_ONLINE, BEID_PARAM_XSIGN_WORKINGDIR,
  BEID_PARAM_XSIGN_TIMEOUT, BEID_PARAM_GUITOOL_SHOWNOTIFICATION, BEID_PARAM_PROXY_CONNECT_TIMEOUT
}
enum  BEID_PinUsage {
  BEID_PIN_USG_UNKNOWN, BEID_PIN_USG_AUTH, BEID_PIN_USG_SIGN, BEID_PIN_USG_ADDRESS,
  BEID_PIN_USG_UNKNOWN, BEID_PIN_USG_AUTH, BEID_PIN_USG_SIGN, BEID_PIN_USG_ADDRESS
}
enum  BEID_RawDataType {
  BEID_RAWDATA_ID = 0, BEID_RAWDATA_ID_SIG, BEID_RAWDATA_ADDR, BEID_RAWDATA_ADDR_SIG,
  BEID_RAWDATA_PICTURE, BEID_RAWDATA_CARD_INFO, BEID_RAWDATA_TOKEN_INFO, BEID_RAWDATA_CERT_RRN,
  BEID_RAWDATA_CHALLENGE, BEID_RAWDATA_RESPONSE, BEID_RAWDATA_ID = 0, BEID_RAWDATA_ID_SIG,
  BEID_RAWDATA_ADDR, BEID_RAWDATA_ADDR_SIG, BEID_RAWDATA_PICTURE, BEID_RAWDATA_CARD_INFO,
  BEID_RAWDATA_TOKEN_INFO, BEID_RAWDATA_CERT_RRN, BEID_RAWDATA_CHALLENGE, BEID_RAWDATA_RESPONSE
}
enum  BEID_ValidationLevel {
  BEID_VALIDATION_LEVEL_NONE = 0, BEID_VALIDATION_LEVEL_OPTIONAL, BEID_VALIDATION_LEVEL_MANDATORY, BEID_VALIDATION_LEVEL_NONE = 0,
  BEID_VALIDATION_LEVEL_OPTIONAL, BEID_VALIDATION_LEVEL_MANDATORY
}
enum  BEID_ValidationProcess {
  BEID_VALIDATION_PROCESS_NONE = 0, BEID_VALIDATION_PROCESS_CRL, BEID_VALIDATION_PROCESS_OCSP, BEID_VALIDATION_PROCESS_NONE = 0,
  BEID_VALIDATION_PROCESS_CRL, BEID_VALIDATION_PROCESS_OCSP
}
enum  CSC_Status {
  CSC_STATUS_WAIT = 0, CSC_STATUS_NONE, CSC_STATUS_VALID_SIGN, CSC_STATUS_VALID_FULL,
  CSC_STATUS_TEST, CSC_STATUS_DATE, CSC_STATUS_CONNECT, CSC_STATUS_ISSUER,
  CSC_STATUS_REVOKED, CSC_STATUS_UNKNOWN, CSC_STATUS_ERROR
}
enum  CSC_Validation { CSC_VALIDATION_NONE = 0, CSC_VALIDATION_CRL = 1, CSC_VALIDATION_OCSP = 2 }
enum  DlgFunctionIndex {
  DLG_ASK_PIN, DLG_ASK_PINS, DLG_BAD_PIN, DLG_DISPLAY_PINPAD_INFO,
  DLG_DISPLAY_MODAL, DLG_ASK_ACCESS
}
enum  DlgIcon {
  DLG_ICON_NONE, DLG_ICON_INFO, DLG_ICON_WARN, DLG_ICON_ERROR,
  DLG_ICON_QUESTION
}
enum  DlgMessageID { DLG_MESSAGE_NONE, DLG_MESSAGE_TESTCARD, DLG_MESSAGE_ENTER_CORRECT_CARD, DLG_MESSAGE_USER_WARNING }
enum  DlgPFOperation { DLG_PF_OP_READ_ID = 0x00000001, DLG_PF_OP_READ_PHOTO = 0x00000002, DLG_PF_OP_READ_ADDRESS = 0x00000004, DLG_PF_OP_READ_CERTS = 0x00000008 }
enum  DlgPinOperation { DLG_PIN_OP_VERIFY, DLG_PIN_OP_CHANGE, DLG_PIN_OP_UNBLOCK_NO_CHANGE, DLG_PIN_OP_UNBLOCK_CHANGE }
enum  DlgPinUsage { DLG_PIN_UNKNOWN, DLG_PIN_AUTH, DLG_PIN_SIGN, DLG_PIN_ADDRESS }
enum  DlgRet {
  DLG_OK, DLG_CANCEL, DLG_RETRY, DLG_YES,
  DLG_NO, DLG_ALWAYS, DLG_NEVER, DLG_BAD_PARAM,
  DLG_ERR
}
enum  e_socketType { BlockingSocket, NonBlockingSocket }
enum  EmulationCard {
  BEID_V1_TEST1, BEID_V1_TEST2, BEID_V1_TEST3, BEID_V2_TEST1,
  SIS_TEST1
}
enum  FWK_CertifStatus {
  FWK_CERTIF_STATUS_UNCHECK, FWK_CERTIF_STATUS_VALID, FWK_CERTIF_STATUS_REVOKED, FWK_CERTIF_STATUS_TEST,
  FWK_CERTIF_STATUS_DATE, FWK_CERTIF_STATUS_CONNECT, FWK_CERTIF_STATUS_ERROR, FWK_CERTIF_STATUS_UNKNOWN
}
enum  FWK_HashAlgo { FWK_ALGO_MD5, FWK_ALGO_SHA1 }
enum  PinUsage { PIN_USG_UNKNOWN, DLG_USG_PIN_AUTH, DLG_USG_PIN_SIGN, DLG_USG_PIN_ADDRESS }
enum  tAC { AC_ALWAYS, AC_NEVER, AC_PIN }
enum  tBelpicDF { BELPIC_DF, ID_DF, UNKNOWN_DF }
enum  tCacheAction {
  DONT_CACHE, SIMPLE_CACHE, CERT_CACHE, CHECK_16_CACHE,
  CHECK_SERIAL
}
enum  tCardFileStatus {
  CARDFILESTATUS_UNREAD = -1, CARDFILESTATUS_OK = 0, CARDFILESTATUS_ERROR = 1, CARDFILESTATUS_ERROR_SIGNATURE,
  CARDFILESTATUS_ERROR_HASH, CARDFILESTATUS_ERROR_TEST, CARDFILESTATUS_ERROR_DATE, CARDFILESTATUS_ERROR_RRN,
  CARDFILESTATUS_ERROR_CERT, CARDFILESTATUS_ERROR_NOFILE, CARDFILESTATUS_ERROR_FORMAT
}
enum  tCardStatus {
  CARD_INSERTED, CARD_NOT_PRESENT, CARD_STILL_PRESENT, CARD_REMOVED,
  CARD_OTHER
}
enum  tCardType { CARD_BEID, CARD_SIS, CARD_UNKNOWN }
enum  tDisconnectMode { DISCONNECT_LEAVE_CARD = 0, DISCONNECT_RESET_CARD = 1 }
enum  tDownloadNotify { DOWNLOAD_NOTIFY_BEGIN, DOWNLOAD_NOTIFY_ERR_CONNECT, DOWNLOAD_NOTIFY_END_INTERRUPT, DOWNLOAD_NOTIFY_END_OK }
enum  tDownloadStatus { DOWNLOAD_STATUS_OK = 0, DOWNLOAD_STATUS_ERR_CONNECT, DOWNLOAD_STATUS_ERR_UNKNOWN }
enum  tFileOperation { FILE_OP_READ, FILE_OP_WRITE }
enum  tFileType { FT_DF, FT_TRANSP_EF }
enum  tHashAlgo {
  ALGO_MD5, ALGO_SHA1, ALGO_MD5_SHA1, ALGO_SHA256,
  ALGO_SHA384, ALGO_SHA512, ALGO_RIPEMD160
}
enum  tLanguage { LANG_EN = 0, LANG_NL = 1, LANG_FR = 2, LANG_DE = 3 }
enum  tLevel {
  LEV_NOLOG, LEV_CRIT, LEV_ERROR, LEV_WARN,
  LEV_INFO, LEV_DEBUG
}
enum  tLOG_Level {
  LEV_LEVEL_NOLOG, LOG_LEVEL_CRITICAL, LOG_LEVEL_ERROR, LOG_LEVEL_WARNING,
  LOG_LEVEL_INFO, LOG_LEVEL_DEBUG
}
enum  tModule {
  MOD_CAL, MOD_P11, MOD_LIB, MOD_GUI,
  MOD_TA, MOD_DLG, MOD_CSP, MOD_APL,
  MOD_SSL, MOD_CRL, MOD_SDK, MOD_TEST,
  MOD_SIS
}
enum  tPinEnc { PIN_ENC_ASCII, PIN_ENC_BCD, PIN_ENC_GP }
enum  tPinEncoding { PIN_ENC_ASCII, PIN_ENC_BCD, PIN_ENC_GP }
enum  tPinOperation { PIN_OP_VERIFY, PIN_OP_CHANGE, PIN_OP_LOGOFF }
enum  tPKCSFileName {
  EFDIR, ODF, TOKENINFO, AODF,
  CDF, PRKDF
}
enum  tSelectAppletMode { DONT_SELECT_APPLET, ALW_SELECT_APPLET, TRY_SELECT_APPLET }
enum  tTLVTagType { TLV_TAG_LONG, TLV_TAG_ULONG, TLV_TAG_STRING }

Functions

static void AddHexChar (char *csBuf, unsigned long &ulOffset, bool bAddSpace, unsigned char uc)
static void AddPluginInfo (const std::string &csPath, const std::string &csReader)
static void AddPluginName (const char *csPluginName, const std::string &csPath)
BEIDSDK_API void BEID_LOG (BEID_LogLevel level, const char *module_name, const char *format,...)
char * bin2AsciiHex (const unsigned char *pData, unsigned long ulLen)
static unsigned int bin2int (const unsigned char *p_ucDat, unsigned int iLen)
static unsigned long bin2ulong (const unsigned char *p_ucDat, unsigned int iLen)
void CallQTServer (const DlgFunctionIndex index, const char *csFilename)
long CardBeginTransaction (SCARDHANDLE hCard)
long CardConnect (LPCSTR szReader, DWORD dwShareMode, DWORD dwPreferredProtocols, LPSCARDHANDLE phCard, LPDWORD pdwActiveProtocol)
CCard * CardConnect (const std::string &csReader, CContext *poContext, CPinpad *poPinpad, CDynamicLib &oCardPluginLib)
long CardControl (SCARDHANDLE hCard, DWORD dwControlCode, LPCVOID lpInBuffer, DWORD nInBufferSize, LPVOID lpOutBuffer, DWORD nOutBufferSize, LPDWORD lpBytesReturned)
long CardDisconnect (SCARDHANDLE hCard, DWORD dwDisposition)
long CardEndTransaction (SCARDHANDLE hCard, DWORD dwDisposition)
long CardTransmit (SCARDHANDLE hCard, LPCSCARD_IO_REQUEST pioSendPci, LPCBYTE pbSendBuffer, DWORD cbSendLength, LPSCARD_IO_REQUEST pioRecvPci, LPBYTE pbRecvBuffer, LPDWORD pcbRecvLength)
static bool CheckHeader (const unsigned char *pucData, unsigned long ulDataLen)
int CompareNoCase (t_Str str1, t_Str str2)
static CCard * ConnectGetCardInstance (const char *csReader, CContext *poContext, CPinpad *poPinpad, const std::string &csPluginPath, CDynamicLib &oCardPluginLib)
BEID_CardType ConvertCardType (APL_CardType eCardType)
BEID_CertifStatus ConvertCertStatus (APL_CertifStatus eStatus)
BEID_CertifType ConvertCertType (APL_CertifType eType)
BEID_CrlStatus ConvertCrlStatus (APL_CrlStatus eStatus)
APL_SaveFileType ConvertFileType (BEID_FileType fileType)
APL_HashAlgo ConvertHashAlgo (BEID_HashAlgo eAlgo)
tLOG_Level ConvertLogLevel (BEID_LogLevel level)
APL_CertifStatus ConvertStatus (FWK_CertifStatus eStatus, APL_ValidationProcess eProcess)
APL_ValidationLevel ConvertValidationLevel (BEID_ValidationLevel eLevel)
std::string CreateRandomFile ()
long Ctrl (unsigned long ulControl, const void *pIn, void *pOut)
bool d2i_X509_Wrapper (X509 **pX509, const unsigned char *pucContent, int iContentSize)
 DEFINE_LANG_STR (PathOfTheApplication)
 DEFINE_LANG_STR (UnknownApplication)
 DEFINE_LANG_STR (TheFollowingApplication1IsTrying)
 DEFINE_LANG_STR (OnTheReader)
 DEFINE_LANG_STR (ChangeYourPuk)
 DEFINE_LANG_STR (ChangeYourPin)
 DEFINE_LANG_STR (Your)
 DEFINE_LANG_STR (PleaseEnterYourPukOnThePinpadReader)
 DEFINE_LANG_STR (PleaseEnterYourPuk)
 DEFINE_LANG_STR (ChangeYourPinOnTheReader)
 DEFINE_LANG_STR (InOrderToAuthenticateYourself)
 DEFINE_LANG_STR (IfYouOnlyWantToLogOnToA)
 DEFINE_LANG_STR (Warning)
 DEFINE_LANG_STR (ToContinueOrClickTheCancelButton)
 DEFINE_LANG_STR (PleaseEnterYourPinOnThePinpadReader)
 DEFINE_LANG_STR (PleaseEnterYourPin)
 DEFINE_LANG_STR (YouAreAboutToMakeALegallyBindingElectronic)
 DEFINE_LANG_STR (Caution)
 DEFINE_LANG_STR (PleaseEnterTheCorrectEidCard)
 DEFINE_LANG_STR (ThisMayBeATestCard)
 DEFINE_LANG_STR (TheRootCertificateIsNotCorrect)
 DEFINE_LANG_STR (AuthenticationPin)
 DEFINE_LANG_STR (SignaturePin)
 DEFINE_LANG_STR (Message)
 DEFINE_LANG_STR (PinpadInfo)
 DEFINE_LANG_STR (PinBlocked)
 DEFINE_LANG_STR (TryAgainOrCancel)
 DEFINE_LANG_STR (RemainingAttempts)
 DEFINE_LANG_STR (Notification)
 DEFINE_LANG_STR (Bad)
 DEFINE_LANG_STR (RetryEnterYourNewPinCode)
 DEFINE_LANG_STR (ErrorTheNewPinCodesAreNotIdentical)
 DEFINE_LANG_STR (EnterYourNewPinCodeAgainToConfirm)
 DEFINE_LANG_STR (EnterYourNewPinCode)
 DEFINE_LANG_STR (ConfirmNewPin)
 DEFINE_LANG_STR (NewPin)
 DEFINE_LANG_STR (CurrentPin)
 DEFINE_LANG_STR (RenewingPinCode)
 DEFINE_LANG_STR (AndSign)
 DEFINE_LANG_STR (AndSigning)
 DEFINE_LANG_STR (Code)
 DEFINE_LANG_STR (ToUnblock)
 DEFINE_LANG_STR (ForVerification)
 DEFINE_LANG_STR (EnterYour)
 DEFINE_LANG_STR (PrivacyFilter)
 DEFINE_LANG_STR (SigningWith)
 DEFINE_LANG_STR (Asking)
 DEFINE_LANG_STR (EnterYourPin)
 DEFINE_LANG_STR (ForAllOperations)
 DEFINE_LANG_STR (DoYouWantToAcceptIt)
 DEFINE_LANG_STR (ReadUnknownData)
 DEFINE_LANG_STR (ReadCertificates)
 DEFINE_LANG_STR (ReadAddressData)
 DEFINE_LANG_STR (ReadPhoto)
 DEFINE_LANG_STR (ReadIdentityData)
 DEFINE_LANG_STR (AnApplicationWantsToAccessTheCard)
 DEFINE_LANG_STR (Function)
 DEFINE_LANG_STR (Application)
 DEFINE_LANG_STR (Belpic)
 DEFINE_LANG_STR (Never)
 DEFINE_LANG_STR (Always)
 DEFINE_LANG_STR (Retry)
 DEFINE_LANG_STR (Puk)
 DEFINE_LANG_STR (Pin)
 DEFINE_LANG_STR (CancelNo)
 DEFINE_LANG_STR (Cancel)
 DEFINE_LANG_STR (Ok)
 DEFINE_LANG_STR (No)
 DEFINE_LANG_STR (Yes)
void DeleteFile (const char *csFilename)
DLGS_EXPORT DlgRet DlgAskAccess (const wchar_t *csAppPath, const wchar_t *csReaderName, DlgPFOperation ulOperation, int *piForAllOperations)
DLGS_EXPORT DlgRet DlgAskPin (DlgPinOperation operation, DlgPinUsage usage, const wchar_t *csPinName, DlgPinInfo pinInfo, wchar_t *csPin, unsigned long ulPinBufferLen)
DLGS_EXPORT DlgRet DlgAskPins (DlgPinOperation operation, DlgPinUsage usage, const wchar_t *csPinName, DlgPinInfo pin1Info, wchar_t *csPin1, unsigned long ulPin1BufferLen, DlgPinInfo pin2Info, wchar_t *csPin2, unsigned long ulPin2BufferLen)
DLGS_EXPORT DlgRet DlgBadPin (DlgPinUsage usage, const wchar_t *csPinName, unsigned long ulRemainingTries)
DLGS_EXPORT void DlgCloseAllPinpadInfo ()
DLGS_EXPORT void DlgClosePinpadInfo (unsigned long ulHandle)
DLGS_EXPORT DlgRet DlgDisplayModal (DlgIcon icon, DlgMessageID messageID, const wchar_t *csMesg, unsigned char ulButtons, unsigned char ulEnterButton, unsigned char ulCancelButton)
DLGS_EXPORT DlgRet DlgDisplayPinpadInfo (DlgPinOperation operation, const wchar_t *csReader, DlgPinUsage usage, const wchar_t *csPinName, const wchar_t *csMessage, unsigned long *pulHandle)
BOOL DuplicatePubKeyInfo (CERT_PUBLIC_KEY_INFO *pDest, const CERT_PUBLIC_KEY_INFO *pSrc)
std::wstring ExpandSection (const std::wstring &czSectionOriginal)
BOOL FillProvParam (LPBYTE pbData, LPDWORD pcbDataLen, const void *dataIn, size_t dataLen)
void FreePubKeyInfo (CERT_PUBLIC_KEY_INFO *pPubKeyInfo)
std::wstring FromXMLCh (const XMLCh *xmlStr)
static CCard * GetCardInstance (const char *csReader, unsigned long hCard, CContext *poContext, CPinpad *poPinpad, const std::string &csPluginPath, CDynamicLib &oCardPluginLib)
tHashAlgo GetHashAlgo (ALG_ID Algid)
void getHostAndPortFromSettings (const char *csSettings, std::string *host, std::string *port)
void getHostAndPortFromSettings (const wchar_t *cwSettings, std::string *host, std::string *port)
void getHostAndPortFromSettings (const wchar_t *cwSettings, std::wstring *host, long *port)
std::string getHostFromUrl (const char *csUrl)
t_Str GetNextWord (t_Str &CommandLine)
 General Purpose Utility Functions /////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////.
static void GetPCSCFunctions (CPCSC *poPCSC, tPCSCfunctions *pxPCSCFunctions)
static void GetPluginInfos ()
static void GetPluginNames ()
static std::string & GetPlugInPath (size_t idx)
static std::string & GetPlugInReader (size_t idx)
void GetProcessName (wchar_t *wBuffer, unsigned long ulLen)
bool GetProxyFromPac (const char *csPacFile, const char *csUrl, std::string *proxy_host, std::string *proxy_port)
void getProxySystemWide (const wchar_t *host_default, long port_default, const wchar_t *pac_default, std::wstring *host, long *port, std::wstring *pac)
unsigned long GetSignAlgo (ALG_ID Algid)
std::wstring GetStringInt (const std::wstring &csName, const std::wstring &czSection, bool bExpand)
std::wstring GetStringInt (CConfig::tLocation location, const std::wstring &csName, const std::wstring &czSection, bool bExpand)
static unsigned char Hex2Byte (char cHex)
std::string IBM850_toUtf8 (std::string const &inBuf)
void InitializeRand ()
static bool IsHexDigit (char c)
EIDMW_CMN_API void LogShitLevel (int x)
static void MakeHeader (tCacheHeader *header, const CByteArray oData)
tLOG_Level MapLevel (const wchar_t *level)
tLOG_Level MapLevel (tLevel levelIn)
CLog & MapModule (tModule moduleIn)
bool MWLOG (tLevel level, tModule mod, CMWException theException)
bool MWLOG (tLevel level, tModule mod, const wchar_t *format,...)
const CByteArray oSW12OK (tucSW12OK, sizeof(tucSW12OK))
static unsigned int p15_bitstring2ul (unsigned char *in, unsigned long l_in)
tCommonObjAttr ParseCommonObjectAttributes (ASN1_ITEM *p_xLev0Item)
std::string ParsePath (ASN1_ITEM *p_xLev0Item)
std::string ParsePath2 (ASN1_ITEM *p_xLev0Item)
static size_t PlugInCount ()
std::string RandomFileName ()
static CByteArray ReturnData (CByteArray oData, unsigned long ulOffset, unsigned long ulMaxLen)
void ReverseByteOrder (BYTE *pByte, DWORD dwLen)
EIDMW_PCSCEMU_API CEmulationCardSetCard (unsigned long ulReader, CEmulationCard *poCard)
EIDMW_PCSCEMU_API void SetCardPresent (unsigned long ulReader, bool bPresent)
EIDMW_PCSCEMU_API void SetReaders (unsigned long ulCount)
CCard * SISPluginReadData (const char *csReader, unsigned long hCard, CContext *poContext, CPinpad *poPinpad, CDynamicLib &oCardPluginLib)
bool StartsWith (const char *csData, const char *csSearch)
bool StartsWithCI (const char *csData, const char *csSearch)
static const wchar_t * Status2String (tCardStatus status)
int Test (void)
 THREAD_INITFUNCTION (run_internal, arg)
static char ToHex (unsigned int uc)
void Trim (t_Str &szStr)
std::wstring trim (const std::wstring &source, const std::wstring &t=L" \t\n\r")
std::wstring trim_left (const std::wstring &source, const std::wstring &t=L" \\t")
std::wstring trim_right (const std::wstring &source, const std::wstring &t=L" \\t")
static const wchar_t * Type2String (tCardType cardType)
std::string utilStringNarrow (const std::wstring &in, const std::locale &locale)
std::wstring utilStringWiden (const std::string &in, const std::locale &locale)
int WriteLn (FILE *stream, wchar_t *fmt,...)

Variables

static const char *const _beid_files_to_warn []
static const unsigned char _beid_govca_cert2003 []
static const unsigned char _beid_govca_cert2004 []
static const unsigned char _beid_govca_cert2008 []
static const unsigned char *const _beid_issuer_certs []
static const unsigned long _beid_issuer_certs_size []
static const unsigned char _beid_root_cert1 []
static const unsigned char _beid_root_cert2 []
static const unsigned char *const _beid_root_certs []
static const unsigned long _beid_root_certs_size []
static const char *const _beid_rrn_oid []
static const unsigned char *const _beid_rrnca_certs []
static const unsigned long _beid_rrnca_certs_size []
const unsigned long ALL_READERS = 0xFFFFFFFF
const unsigned long APDU_BUF_LEN = MAX_APDU_LEN + 2
BEID_ReaderSetBEID_ReaderSet_instance = NULL
CMutex BEID_ReaderSet_Mutex
bool bFlags [2]
bool bIsInitialized = false
bool bPinFlags [6]
bool bValid
static const tCert CertInvalid = {false, "", 0, 0,0,0}
class eIDMW::APL_CheckRelease checkRelease
const unsigned long COFLAG_MODIFIABLE = 0x00000002
const unsigned long COFLAG_PRIVATE = 0x00000001
static const unsigned long crc_table []
std::string csLabel
std::string csPath
const long CTRL_BEID = 1000
const long CTRL_BEID_GETCARDDATA = CTRL_BEID
const long CTRL_BEID_GETSIGNEDCARDDATA = CTRL_BEID + 1
const long CTRL_BEID_GETSIGNEDPINSTATUS = CTRL_BEID + 2
const long CTRL_BEID_INTERNAL_AUTH = CTRL_BEID + 3
const unsigned long CTRL_BUF_LEN = 258
const std::string defaultEFODF = "3F00DF005031"
const std::string defaultEFTokenInfo = "3F00DF005032"
const unsigned char DLG_BUTTON_CANCEL = 2
const unsigned char DLG_BUTTON_NO = 16
const unsigned char DLG_BUTTON_OK = 1
const unsigned char DLG_BUTTON_RETRY = 4
const unsigned char DLG_BUTTON_YES = 8
const unsigned long DLG_LANG_DE = 0x0407
const unsigned long DLG_LANG_DEFAULT = 0
const unsigned long DLG_LANG_EN = 0x0409
const unsigned long DLG_LANG_FR = 0x080c
const unsigned long DLG_LANG_NL = 0x0813
const unsigned long DLG_LANG_PT = 0x0816
static CByteArray EmptyByteArray
tPinEncoding encoding
const unsigned long FULL_FILE = 0xFFFFFFFF
static std::string g_csEmpty = ""
static size_t g_pluginCount = 0
static CPCSC * g_poPCSC = NULL
std::string g_tcsPaths [MAX_PLUGINS]
std::string g_tcsReaders [MAX_PLUGINS]
std::wstring home_path
static char IBM850_to_utf8 []
const unsigned long KEYAFLAG_ALWAYSSENSITIVE = 0x00000004
const unsigned long KEYAFLAG_EXTRACTABLE = 0x00000002
const unsigned long KEYAFLAG_LOCAL = 0x00000010
const unsigned long KEYAFLAG_NEVEREXTRACTABLE = 0x00000008
const unsigned long KEYAFLAG_SENSITIVE = 0x00000001
static const tPrivKey KeyAuthBeidV1 = {true, "Authentication", 0,2,0,1,0,0,0x82,"3F00DF00", 128,true}
static const tPrivKey KeyAuthBeidV2 = {true, "Authentication", 0,2,0,2,0,0,0x8A,"3F00DF00", 128,true}
static const tPrivKey KeySignBeidV1 = {true, "Signature", 0,3,0,1,0,0,0x83,"3F00DF00", 128,true}
static const tPrivKey KeySignBeidV2 = {true, "Signature", 0,3,0,2,0,0,0x89,"3F00DF00", 128,true}
const unsigned long KEYUFLAG_DECRYPT = 0x00000002
const unsigned long KEYUFLAG_DERIVE = 0x00000100
const unsigned long KEYUFLAG_ENCRYPT = 0x00000001
const unsigned long KEYUFLAG_NONREPUDIATION = 0x00000200
const unsigned long KEYUFLAG_SIGN = 0x00000004
const unsigned long KEYUFLAG_SIGNRECOVER = 0x00000008
const unsigned long KEYUFLAG_UNWRAP = 0x00000020
const unsigned long KEYUFLAG_VERIFY = 0x00000040
const unsigned long KEYUFLAG_VERIFYRECOVER = 0x00000080
const unsigned long KEYUFLAG_WRAP = 0x00000010
static bool m_bPluginInfosOK = false
static bool m_bPluginNamesOK = false
static SCARD_IO_REQUEST m_ioRecvPci
static SCARD_IO_REQUEST m_ioSendPci
static CMutex m_mutex
static std::vector< tPluginInfo > m_Plugins
const unsigned long MAX_APDU_LEN = 256
const unsigned long MAX_APDU_READ_LEN = 252
const unsigned long MAX_APDU_WRITE_LEN = 252
static const unsigned long MAX_READERS = 8
static const unsigned char MD5_AID []
const unsigned long NO_ID = 0xFFFFFFFF
const unsigned char PIN_FLAG_DIGITS = 1
const unsigned long PIN_STATUS_UNKNOWN = 0xFFFFFFFE
static const tPin pinBeidAuthV2 = {true, "Authentication",0,1,1,1,0,NO_ID, 4, 8, 12, 0x85, 0xFF,PIN_ENC_BCD,"","3F00"}
static const tPin pinBeidSignV2 = {true, "Signature",0,1,1,1,0,NO_ID,4, 8, 12, 0x86, 0xFF,PIN_ENC_BCD,"","3F00"}
static const tPin PinBeidV1 = {true, "Basic PIN",0,1,1,1,0,NO_ID, 4, 8, 12, 1, 0xFF,PIN_ENC_BCD,"","3F00"}
const unsigned long PINFLAG_CASE_SENSITIVE = 0x00000001
const unsigned long PINFLAG_CHANGE_DISABLED = 0x00000004
const unsigned long PINFLAG_CONFIDENTIALITY_PROTECTED = 0x00000400
const unsigned long PINFLAG_DISABLE_ALLOWED = 0x00000100
const unsigned long PINFLAG_EXCHANGEREFDATA = 0x00000800
const unsigned long PINFLAG_INITIALIZED = 0x00000010
const unsigned long PINFLAG_INTEGRITY_PROTECTED = 0x00000200
const unsigned long PINFLAG_LOCAL = 0x00000002
const unsigned long PINFLAG_NEEDS_PADDING = 0x00000020
const unsigned long PINFLAG_SOPIN = 0x00000080
const unsigned long PINFLAG_UNBLOCK_DISABLED = 0x00000008
const unsigned long PINFLAG_UNBLOCKINGPIN = 0x00000040
static const tPin PinInvalid = {false, "",0,0,0,0,0,0, 0, 0, 0, 0, 0,PIN_ENC_BCD,"",""}
const unsigned long PLUGIN_VERSION = 100
const unsigned long PP_CAP_CHANGE = 0x02
const unsigned long PP_CAP_VERIFY = 0x01
static const tPrivKey PrivKeyInvalid = {false, "", 0,0,0,0,0,0,0,"", 0,false}
static const unsigned long READERS_BUF_LEN = 600
static const unsigned char RIPEMD160_AID []
static const unsigned char SHA1_AID []
static const unsigned char SHA256_AID []
static const unsigned char SHA384_AID []
static const unsigned char SHA512_AID []
const unsigned long SIGN_ALGO_MD5_RSA_PKCS = 0x04
const unsigned long SIGN_ALGO_RIPEMD160_RSA_PKCS = 0x80
const unsigned long SIGN_ALGO_RSA_PKCS = 0x02
const unsigned long SIGN_ALGO_RSA_RAW = 0x01
const unsigned long SIGN_ALGO_SHA1_RSA_PKCS = 0x08
const unsigned long SIGN_ALGO_SHA1_RSA_PSS = 0x100
const unsigned long SIGN_ALGO_SHA256_RSA_PKCS = 0x10
const unsigned long SIGN_ALGO_SHA384_RSA_PKCS = 0x20
const unsigned long SIGN_ALGO_SHA512_RSA_PKCS = 0x40
const unsigned long TIMEOUT_INFINITE = 0xFFFFFFFF
const unsigned long TOKENFLAG_EIDCOMPLIANT = 0x00000008
const unsigned long TOKENFLAG_LOGINREQUIRED = 0x00000002
const unsigned long TOKENFLAG_PRNGENERATION = 0x00000004
const unsigned long TOKENFLAG_READONLY = 0x00000001
const unsigned char tucSW12BadClass [2] = {0x6E, 0x00}
unsigned char tucSW12BadPin [2] = {0x63, 0x00}
const unsigned char tucSW12CommandNotAllowed [2] = {0x69, 0x86}
const unsigned char tucSW12ConditionsOfUseNOK [2] = {0x69, 0x85}
const unsigned char tucSW12FileNotFound [2] = {0x6A, 0x82}
const unsigned char tucSW12FunctionNotSupported [2] = {0x6A, 0x81}
const unsigned char tucSW12IncorrectParamsP1P2 [2] = {0x6A, 0x86}
const unsigned char tucSW12InsNotFound [2] = {0x6D, 0x00}
const unsigned char tucSW12OK [2] = {0x90, 0x00}
const unsigned char tucSW12PinBlocked [2] = {0x69, 0x83}
const unsigned char tucSW12RefDataNotFound [2] = {0x6A, 0x88}
const unsigned char tucSW12SecStatusNotSatisfied [2] = {0x69, 0x82}
const unsigned char tucSW12Unknown [2] = {0x64, 0x00}
const unsigned char tucSW12WrongData [2] = {0x6A, 0x80}
unsigned char tucSW12WrongLength [2] = {0x6C, 'x'}
const unsigned char tucSW12WrongLengthP3 [2] = {0x67, 0x00}
const unsigned char tucSW12WrongParams [2] = {0x6B, 0x00}
unsigned char ucPadChar
unsigned long ulAuthID
unsigned long ulID
unsigned long ulMaxLen
unsigned long ulMinLen
unsigned char ulPinRef
unsigned long ulPinType
unsigned long ulStoredLen
static std::wstring wsTagProcDocVersion = std::wstring(TAG_PROCESSOR_DOCVERSION)
static std::wstring & wsTagProcDocVersionRef = wsTagProcDocVersion
static std::wstring wsTagProcEidTag = std::wstring(TAG_PROCESSOR_EIDTAG)
static std::wstring & wsTagProcEidTagRef = wsTagProcEidTag


Generated by  Doxygen 1.6.0   Back to index