TransformationFilter

Filter interface for Transformations

Constructors

this
this(Transformation transform)
Undocumented in source.

Members

Functions

attachable
bool attachable()
Undocumented in source. Be warned that the author may not have intended to support it.
bufferReset
void bufferReset()

Reset the buffer position

bufferedBlockSize
size_t bufferedBlockSize()
currentPosition
size_t currentPosition()
endMsg
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.

getTransform
const(Transformation) getTransform()
Undocumented in source. Be warned that the author may not have intended to support it.
getTransform
Transformation getTransform()
Undocumented in source. Be warned that the author may not have intended to support it.
keySpec
KeyLengthSpecification keySpec()
Undocumented in source. Be warned that the author may not have intended to support it.
setIv
void setIv(InitializationVector iv)
Undocumented in source. Be warned that the author may not have intended to support it.
setKey
void setKey(SymmetricKey key)
Undocumented in source. Be warned that the author may not have intended to support it.
setNext
void setNext(Filter* filters, size_t sz)
Undocumented in source. Be warned that the author may not have intended to support it.
startMsg
void startMsg()
Undocumented in source. Be warned that the author may not have intended to support it.
validIvLength
bool validIvLength(size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
write
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

write
void write(Vector!(ubyte, Alloc) input)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From KeyedFilter

setKey
void setKey(SymmetricKey key)

Set the key of this filter

setIv
void setIv(InitializationVector iv)

Set the initialization vector of this filter. Note: you should call setIv() only after you have called setKey()

validKeylength
bool validKeylength(size_t length)

Check whether a key length is valid for this filter

keySpec
KeyLengthSpecification keySpec()
validIvLength
bool validIvLength(size_t length)

Check whether an IV length is valid for this filter

Meta