AP4_CbcStreamCipher Class Reference
#include <Ap4StreamCipher.h>
Inheritance diagram for AP4_CbcStreamCipher:
Public Member Functions | |
| AP4_CbcStreamCipher (AP4_BlockCipher *block_cipher, CipherDirection direction) | |
| The block cipher is passed with transfer of ownership (it will be destroyed when this object is destroyed). | |
| ~AP4_CbcStreamCipher () | |
| virtual AP4_Result | SetStreamOffset (AP4_UI64 offset, AP4_Cardinal *preroll) |
| virtual AP4_UI64 | GetStreamOffset () |
| virtual AP4_Result | ProcessBuffer (const AP4_UI08 *in, AP4_Size in_size, AP4_UI08 *out, AP4_Size *out_size, bool is_last_buffer=false) |
| virtual AP4_Result | SetIV (const AP4_UI08 *iv) |
| virtual const AP4_UI08 * | GetIV () |
Detailed Description
Definition at line 125 of file Ap4StreamCipher.h.
Constructor & Destructor Documentation
| AP4_CbcStreamCipher::AP4_CbcStreamCipher | ( | AP4_BlockCipher * | block_cipher, | |
| CipherDirection | direction | |||
| ) |
The block cipher is passed with transfer of ownership (it will be destroyed when this object is destroyed).
| AP4_CbcStreamCipher::~AP4_CbcStreamCipher | ( | ) |
Member Function Documentation
| virtual const AP4_UI08* AP4_CbcStreamCipher::GetIV | ( | ) | [inline, virtual] |
Implements AP4_StreamCipher.
Definition at line 147 of file Ap4StreamCipher.h.
| virtual AP4_UI64 AP4_CbcStreamCipher::GetStreamOffset | ( | ) | [inline, virtual] |
Implements AP4_StreamCipher.
Definition at line 140 of file Ap4StreamCipher.h.
| virtual AP4_Result AP4_CbcStreamCipher::ProcessBuffer | ( | const AP4_UI08 * | in, | |
| AP4_Size | in_size, | |||
| AP4_UI08 * | out, | |||
| AP4_Size * | out_size, | |||
| bool | is_last_buffer = false | |||
| ) | [virtual] |
Implements AP4_StreamCipher.
| virtual AP4_Result AP4_CbcStreamCipher::SetIV | ( | const AP4_UI08 * | iv | ) | [virtual] |
Implements AP4_StreamCipher.
| virtual AP4_Result AP4_CbcStreamCipher::SetStreamOffset | ( | AP4_UI64 | offset, | |
| AP4_Cardinal * | preroll | |||
| ) | [virtual] |
Implements AP4_StreamCipher.
The documentation for this class was generated from the following file:
Generated on Thu May 13 16:36:53 2010 for Bento4 MP4 SDK by
1.6.3