Botan 1.10.17
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
13namespace Botan {
14
15/**
16* EMSA-Raw - sign inputs directly
17* Don't use this unless you know what you are doing.
18*/
19class 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,
27 bool verify(const MemoryRegion<byte>&, const MemoryRegion<byte>&,
28 size_t);
29
30 SecureVector<byte> message;
31 };
32
33}
34
35#endif