Zen API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kCipherStream_Construct ( kCipherStream cipherStream,
kStream  stream,
kCipher  cipher,
kAlloc  allocator 
)

Constructs a kCipherStream object.

Parameters
cipherStreamDestination for the constructed object handle.
streamStream used for the underlying read/write functions.
cipherCipher used for encryption and/or decryption.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.