#include <pk_filts.h>
PK_Decryptor Filter
Definition at line 39 of file pk_filts.h.
Botan::PK_Decryptor_Filter::PK_Decryptor_Filter |
( |
PK_Decryptor * |
c | ) |
|
|
inline |
Botan::PK_Decryptor_Filter::~PK_Decryptor_Filter |
( |
| ) |
|
|
inline |
virtual bool Botan::Filter::attachable |
( |
| ) |
|
|
inlinevirtualinherited |
void Botan::PK_Decryptor_Filter::end_msg |
( |
| ) |
|
|
virtual |
std::string Botan::PK_Decryptor_Filter::name |
( |
| ) |
const |
|
inlinevirtual |
- Returns
- descriptive name for this filter
Implements Botan::Filter.
Definition at line 42 of file pk_filts.h.
42 {
return "PK Decryptor"; }
void Botan::Filter::send |
( |
const byte |
in[], |
|
|
size_t |
length |
|
) |
| |
|
protectedinherited |
- Parameters
-
in | some input for the filter |
length | the length of in |
Definition at line 28 of file filter.cpp.
References Botan::MemoryRegion< T >::clear(), Botan::MemoryRegion< T >::size(), and Botan::Filter::write().
Referenced by Botan::PK_Encryptor_Filter::end_msg(), Botan::Zlib_Compression::end_msg(), Botan::Bzip_Compression::end_msg(), Botan::Hex_Encoder::end_msg(), Botan::Base64_Encoder::end_msg(), end_msg(), Botan::Bzip_Decompression::end_msg(), Botan::Zlib_Decompression::end_msg(), Botan::PK_Signer_Filter::end_msg(), Botan::Hex_Decoder::end_msg(), Botan::Base64_Decoder::end_msg(), Botan::PK_Verifier_Filter::end_msg(), Botan::Hash_Filter::end_msg(), Botan::MAC_Filter::end_msg(), Botan::Bzip_Compression::flush(), Botan::Zlib_Compression::flush(), Botan::Zlib_Compression::write(), Botan::Bzip_Compression::write(), Botan::StreamCipher_Filter::write(), Botan::Bzip_Decompression::write(), Botan::Zlib_Decompression::write(), Botan::Hex_Decoder::write(), and Botan::Base64_Decoder::write().
30 bool nothing_attached =
true;
31 for(
size_t j = 0; j != total_ports(); ++j)
34 if(write_queue.
size())
35 next[j]->
write(&write_queue[0], write_queue.
size());
36 next[j]->write(input, length);
37 nothing_attached =
false;
41 write_queue += std::make_pair(input, length);
virtual void write(const byte input[], size_t length)=0
void Botan::Filter::send |
( |
byte |
in | ) |
|
|
inlineprotectedinherited |
- Parameters
-
in | some input for the filter |
length | the number of bytes of in to send |
Definition at line 74 of file filter.h.
void send(const byte in[], size_t length)
virtual void Botan::Filter::start_msg |
( |
| ) |
|
|
inlinevirtualinherited |
void Botan::PK_Decryptor_Filter::write |
( |
const byte |
input[], |
|
|
size_t |
length |
|
) |
| |
|
virtual |
Write a portion of a message to this filter.
- Parameters
-
input | the input as a byte array |
length | the length of the byte array input |
Implements Botan::Filter.
Definition at line 32 of file pk_filts.cpp.
34 buffer += std::make_pair(input, length);
The documentation for this class was generated from the following files: