Botan
1.10.17
src
pk_pad
eme_pkcs
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
13
namespace
Botan
{
14
15
/**
16
* EME from PKCS #1 v1.5
17
*/
18
class
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
,
24
RandomNumberGenerator
&)
const
;
25
SecureVector<byte>
unpad(
const
byte
[],
size_t
,
size_t
)
const
;
26
};
27
28
}
29
30
#endif
Botan::EME_PKCS1v15
Definition
eme_pkcs.h:19
Botan::EME_PKCS1v15::maximum_input_size
size_t maximum_input_size(size_t) const
Definition
eme_pkcs.cpp:74
Botan::EME
Definition
eme.h:20
Botan::RandomNumberGenerator
Definition
rng.h:21
Botan::SecureVector
Definition
secmem.h:329
Botan
Definition
algo_base.h:14
Generated by
1.18.0