Security Scol plugin
Classes | Functions
filters.h File Reference

Implementation of BufferedTransformation's attachment interface. More...

#include "config.h"
#include "cryptlib.h"
#include "simple.h"
#include "secblock.h"
#include "misc.h"
#include "smartptr.h"
#include "queue.h"
#include "algparam.h"
#include "stdcpp.h"

Go to the source code of this file.

Classes

class  Filter
 Implementation of BufferedTransformation's attachment interface. More...
 
struct  FilterPutSpaceHelper
 Create a working space in a BufferedTransformation. More...
 
class  MeterFilter
 Measure how many bytes and messages pass through the filter. More...
 
class  TransparentFilter
 A transparent MeterFilter. More...
 
class  OpaqueFilter
 A non-transparent MeterFilter. More...
 
class  FilterWithBufferedInput
 Divides an input stream into discrete blocks. More...
 
class  FilterWithBufferedInput::BlockQueue
 
class  FilterWithInputQueue
 A filter that buffers input using a ByteQueue. More...
 
struct  BlockPaddingSchemeDef
 Padding schemes used for block ciphers. More...
 
class  StreamTransformationFilter
 Filter wrapper for StreamTransformation. More...
 
class  HashFilter
 Filter wrapper for HashTransformation. More...
 
class  HashVerificationFilter
 Filter wrapper for HashTransformation. More...
 
class  HashVerificationFilter::HashVerificationFailed
 Exception thrown when a data integrity check failure is encountered. More...
 
class  AuthenticatedEncryptionFilter
 Filter wrapper for encrypting with AuthenticatedSymmetricCipher. More...
 
class  AuthenticatedDecryptionFilter
 Filter wrapper for decrypting with AuthenticatedSymmetricCipher. More...
 
class  SignerFilter
 Filter wrapper for PK_Signer. More...
 
class  SignatureVerificationFilter
 Filter wrapper for PK_Verifier. More...
 
class  SignatureVerificationFilter::SignatureVerificationFailed
 Exception thrown when an invalid signature is encountered. More...
 
class  Redirector
 Redirect input to another BufferedTransformation without owning it. More...
 
class  OutputProxy
 Filter class that is a proxy for a sink. More...
 
class  ProxyFilter
 Base class for Filter classes that are proxies for a chain of other filters. More...
 
class  SimpleProxyFilter
 Proxy filter that doesn't modify the underlying filter's input or output. More...
 
class  PK_EncryptorFilter
 Filter wrapper for PK_Encryptor. More...
 
class  PK_DecryptorFilter
 Filter wrapper for PK_Decryptor. More...
 
class  StringSinkTemplate< T >
 Append input to a string object. More...
 
class  RandomNumberSink
 Incorporates input into RNG as additional entropy. More...
 
class  ArraySink
 Copy input to a memory buffer. More...
 
class  ArrayXorSink
 Xor input to a memory buffer. More...
 
class  StringStore
 String-based implementation of Store interface. More...
 
class  RandomNumberStore
 RNG-based implementation of Source interface. More...
 
class  NullStore
 Empty store. More...
 
class  Source
 Implementation of BufferedTransformation's attachment interface. More...
 
class  SourceTemplate< T >
 Transform a Store into a Source. More...
 
class  StringSource
 String-based implementation of the Source interface. More...
 
class  VectorSource
 std::vector-based implementation of the Source interface More...
 
class  RandomNumberSource
 RNG-based implementation of Source interface. More...
 

Functions

 DOCUMENTED_TYPEDEF (StringSinkTemplate< std::string >, StringSink)
 Append input to a string object.
 
 DOCUMENTED_TYPEDEF (StringSinkTemplate< std::vector< byte > >, VectorSink)
 Append input to a std::vector<byte> object.
 
 DOCUMENTED_TYPEDEF (StringSource, ArraySource)
 Pointer-based implementation of the Source interface.
 

Detailed Description

Implementation of BufferedTransformation's attachment interface.

Definition in file filters.h.

Function Documentation

◆ DOCUMENTED_TYPEDEF() [1/3]

DOCUMENTED_TYPEDEF ( StringSinkTemplate< std::string >  ,
StringSink   
)

Append input to a string object.

StringSink is a typedef for StringSinkTemplate<std::string>.

See also
ArraySink, ArrayXorSink
Since
Crypto++ 4.0

◆ DOCUMENTED_TYPEDEF() [2/3]

DOCUMENTED_TYPEDEF ( StringSinkTemplate< std::vector< byte > >  ,
VectorSink   
)

Append input to a std::vector<byte> object.

VectorSink is a typedef for StringSinkTemplate<std::vector<byte> >.

Since
Crypto++ 8.0

◆ DOCUMENTED_TYPEDEF() [3/3]

DOCUMENTED_TYPEDEF ( StringSource  ,
ArraySource   
)

Pointer-based implementation of the Source interface.

ArraySource is a typedef for StringSource. Use the third constructor for an array source. The third constructor takes a pointer and length.

Since
Crypto++ 5.6.0