/************************************************* * EMSA1 BSI Variant Header File * * (C) 1999-2008 Jack Lloyd * * 2007 FlexSecure GmbH * *************************************************/ #ifndef BOTAN_EMSA1_BSI_H__ #define BOTAN_EMSA1_BSI_H__ #include namespace Botan { /** EMSA1_BSI is a variant of EMSA1 specified by the BSI. It accepts only hash values which are less or equal than the maximum key length. The implementation comes from InSiTo */ class BOTAN_DLL EMSA1_BSI : public EMSA1 { public: EMSA1_BSI(HashFunction* hash) : EMSA1(hash) {} private: SecureVector encoding_of(const MemoryRegion&, u32bit, RandomNumberGenerator& rng); }; } #endif