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.

52 lines
986 B

// ---------------------------------------------------------------------------
// Name: actSCardLock.h
// Product: cv act library
// Purpose: Smartcard transaction lock
//
// Copyright: (c) 2009 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: Markus Tesche
// Date: 07/10/2009
// ---------------------------------------------------------------------------
#ifndef ACT_SCardLock_H
#define ACT_SCardLock_H
#include "actEnv.h"
#if defined(ACT_64)
# define LOCK_SIZE 32
#else
# define LOCK_SIZE 16
#endif
namespace act
{
class ISCardOS;
class SCardLock
{
private:
SCardLock() { }
SCardLock(const SCardLock&) { }
public:
SCardLock(ISCardOS* os);
~SCardLock();
void Lock(ISCardOS* os);
void Unlock();
private:
byte m_lock[LOCK_SIZE];
};
} // namespace act
#undef LOCK_SIZE
#endif // ACT_SCardLock_H