AP4_CbcStreamCipher Class Reference

#include <Ap4StreamCipher.h>

List of all members.

Public Types

enum  CipherDirection {
  ENCRYPT,
  DECRYPT
}

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 ()
AP4_Result SetIV (const AP4_UI08 *iv)
AP4_Result ProcessBuffer (const AP4_UI08 *in, AP4_Size in_size, AP4_UI08 *out, AP4_Size *out_size, bool is_last_buffer=false)
AP4_UI64 GetStreamOffset ()


Detailed Description

Definition at line 86 of file Ap4StreamCipher.h.


Member Enumeration Documentation

enum AP4_CbcStreamCipher::CipherDirection

Enumerator:
ENCRYPT 
DECRYPT 

Definition at line 90 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

AP4_Result AP4_CbcStreamCipher::SetIV ( const AP4_UI08 iv  ) 

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 
)

AP4_UI64 AP4_CbcStreamCipher::GetStreamOffset (  )  [inline]

Definition at line 109 of file Ap4StreamCipher.h.


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