Botan

Filter interface for Transformations

License
Botan is released under the Simplified BSD License (see LICENSE.md)

class  TransformationFilter: botan.filters.key_filt.KeyedFilter, botan.filters.filter.Filterable;

Filter interface for Transformations


void  write(const(ubyte)* input, size_t input_size);

Write bytes into the buffered filter, which will them emit them in calls to bufferedBlock in the subclass

Parameters
const(ubyte)* input the input bytes
size_t input_size of input in bytes

protected const size_t  bufferedBlockSize();

Returns
block size of inputs

protected const size_t  currentPosition();

Returns
current position in the buffer

protected void  bufferReset();

Reset the buffer position


protected void  endMsg();

Finish a message, emitting to bufferedBlock and bufferedFinal Will throw new an exception if less than final_minimum bytes were written into the filter.