AEADFilter

Filter interface for AEAD Modes

Constructors

this
this(AEADMode aead)
Undocumented in source.

Members

Functions

attachable
bool attachable()
Undocumented in source. Be warned that the author may not have intended to support it.
endMsg
void endMsg()
Undocumented in source. Be warned that the author may not have intended to support it.
setAssociatedData
void setAssociatedData(const(ubyte)* ad, size_t ad_len)

Set associated data that is not included in the ciphertext but that should be authenticated. Must be called after setKey and before endMsg.

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.
write
void write(const(ubyte)* input, size_t len)
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 TransformationFilter

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.
keySpec
KeyLengthSpecification keySpec()
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.
name
string name [@property getter]
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.
attachable
bool attachable()
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.
bufferedBlockSize
size_t bufferedBlockSize()
currentPosition
size_t currentPosition()
bufferReset
void bufferReset()

Reset the buffer position

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.
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.

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

Meta