store headers only once, refs #7

This commit is contained in:
Marc Wäckerlin
2010-10-29 10:54:12 +00:00
parent a0cd614bf3
commit 6846ed0daf
1026 changed files with 12807 additions and 99284 deletions

View File

@@ -0,0 +1,45 @@
// ---------------------------------------------------------------------------
// Name: actITokenBlockCipher.h
// Product: cv act library
// Purpose: The interface ITokenBlockCipher encapsulates operations using a
// symmetric key stored on a secure token.
//
// Copyright: (c) 2008 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: 05/15/2008
// ---------------------------------------------------------------------------
#ifndef ACT_ITokenBlockCipher_h
#define ACT_ITokenBlockCipher_h
#include "actBlob.h"
#include "actIBlockCipher.h"
namespace act
{
class IToken;
class ITokenConfig;
//
// ITokenBlockCipher
class ITokenBlockCipher : public IBlockCipher
{
public:
virtual ITokenBlockCipher* Clone() const = 0;
virtual void Configure(ITokenConfig* tkcfg) = 0;
virtual Blob GetCipherName() const = 0;
virtual Blob GetLabel() const = 0;
virtual int GetKeyNumber() const = 0;
virtual IToken* GetToken() const = 0;
};
} // namespace act
#endif // ACT_ITokenBlockCipher_h