Botan 1.10.17
eme_pkcs.h
Go to the documentation of this file.
1/*
2* EME PKCS#1 v1.5
3* (C) 1999-2007 Jack Lloyd
4*
5* Distributed under the terms of the Botan license
6*/
7
8#ifndef BOTAN_EME_PKCS1_H__
9#define BOTAN_EME_PKCS1_H__
10
11#include <botan/eme.h>
12
13namespace Botan {
14
15/**
16* EME from PKCS #1 v1.5
17*/
18class BOTAN_DLL EME_PKCS1v15 : public EME
19 {
20 public:
21 size_t maximum_input_size(size_t) const;
22 private:
23 SecureVector<byte> pad(const byte[], size_t, size_t,
25 SecureVector<byte> unpad(const byte[], size_t, size_t) const;
26 };
27
28}
29
30#endif
size_t maximum_input_size(size_t) const
Definition eme_pkcs.cpp:74