AP4_CtrStreamCipher Class Reference

#include <Ap4StreamCipher.h>

List of all members.

Public Member Functions

 AP4_CtrStreamCipher (AP4_BlockCipher *block_cipher, const AP4_UI08 *salt, AP4_Size counter_size)
 The block cipher is passed with transfer of ownership (it will be destroyed when this object is destroyed).
 ~AP4_CtrStreamCipher ()
void SetStreamOffset (AP4_UI64 offset)
void SetBaseCounter (const AP4_UI08 *counter)
AP4_Result ProcessBuffer (const AP4_UI08 *in, AP4_UI08 *out, AP4_Size size)
const AP4_UI08GetBaseCounter ()
AP4_UI64 GetStreamOffset ()


Detailed Description

Definition at line 48 of file Ap4StreamCipher.h.


Constructor & Destructor Documentation

AP4_CtrStreamCipher::AP4_CtrStreamCipher ( AP4_BlockCipher block_cipher,
const AP4_UI08 salt,
AP4_Size  counter_size 
)

The block cipher is passed with transfer of ownership (it will be destroyed when this object is destroyed).

AP4_CtrStreamCipher::~AP4_CtrStreamCipher (  ) 


Member Function Documentation

void AP4_CtrStreamCipher::SetStreamOffset ( AP4_UI64  offset  ) 

void AP4_CtrStreamCipher::SetBaseCounter ( const AP4_UI08 counter  ) 

AP4_Result AP4_CtrStreamCipher::ProcessBuffer ( const AP4_UI08 in,
AP4_UI08 out,
AP4_Size  size 
)

const AP4_UI08* AP4_CtrStreamCipher::GetBaseCounter (  )  [inline]

Definition at line 66 of file Ap4StreamCipher.h.

AP4_UI64 AP4_CtrStreamCipher::GetStreamOffset (  )  [inline]

Definition at line 67 of file Ap4StreamCipher.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 15 16:06:45 2007 for Bento4 MP4 SDK by  doxygen 1.5.1-p1