Botan: src/pk_pad/emsa_raw/emsa_raw.h Source File

Botan 1.10.12

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- File List
- File Members

emsa_raw.h
Go to the documentation of this file.
1 /*
2 * EMSA-Raw
3 * (C) 1999-2007 Jack Lloyd
4 *
5 * Distributed under the terms of the Botan license
6 */
7
8 #ifndef BOTAN_EMSA_RAW_H__
9 #define BOTAN_EMSA_RAW_H__
10
11 #include <botan/emsa.h>
12
13 namespace Botan {
14
15 /**
16 * EMSA-Raw - sign inputs directly
17 * Don't use this unless you know what you are doing.
18 */
19 class BOTAN_DLL EMSA_Raw : public EMSA
20 {
21 private:
22 void update(const byte[], size_t);
23 SecureVector<byte> raw_data();
24
25 SecureVector<byte> encoding_of(const MemoryRegion<byte>&, size_t,
26 RandomNumberGenerator&);
27 bool verify(const MemoryRegion<byte>&, const MemoryRegion<byte>&,
28 size_t);
29
30 SecureVector<byte> message;
31 };
32
33 }
34
35 #endif
Botan::RandomNumberGenerator
Definition: rng.h:20
Botan::byte
unsigned char byte
Definition: types.h:22
Botan::EMSA
Definition: emsa.h:19
Botan::MemoryRegion< byte >
Botan
Definition: algo_base.h:14
Botan::SecureVector< byte >
Botan::EMSA_Raw
Definition: emsa_raw.h:19