A simple Qt based browser with no bullshit that supports PKCS#11 tokens (such as the SuisseID).
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

42 lines
1.1 KiB

// ---------------------------------------------------------------------------
// Name: actSCardTokenReg.h
// Product: cv act library
// Purpose: factory functions registry to create SCardToken objects.
//
// Copyright: (c) 2002 cv cryptovision GmbH
// all rights reserved
// Licence: The conditions for the use of this software are regulated
// in the cv act library licence agreement.
//
// Autor: Dr. Xiangdong Wang (XWG)
// Date: 05/13/2002
// ---------------------------------------------------------------------------
#ifndef ACT_SCardTokenReg_h
#define ACT_SCardTokenReg_h
namespace act
{
class ISCardOS;
class SCardToken;
typedef bool (*CheckSCardTokenPtr)(ISCardOS*);
typedef SCardToken* (*CreateSCardTokenPtr)(ISCardOS*);
struct SCardTokenMapEntry
{
CheckSCardTokenPtr CheckPtr;
CreateSCardTokenPtr CreatePtr;
};
class SCardTokenReg
{
public:
static SCardToken* CreateSCardToken(ISCardOS* os);
static void Insert(CheckSCardTokenPtr checkptr, CreateSCardTokenPtr createptr);
static void Insert(const SCardTokenMapEntry* entry);
};
} // namespace act
#endif // ACT_SCardTokenReg_h