# AP4_OmaDcfCbcSampleEncrypter Class Reference

`#include <Ap4OmaDcf.h>`

Inheritance diagram for AP4_OmaDcfCbcSampleEncrypter:

List of all members.

## Public Member Functions
| AP4_OmaDcfCbcSampleEncrypter (AP4_BlockCipher *block_cipher, const AP4_UI08 *salt)
| ~AP4_OmaDcfCbcSampleEncrypter ()
virtual AP4_Result | EncryptSampleData (AP4_DataBuffer &data_in, AP4_DataBuffer &data_out, AP4_UI64 bso, bool skip_encryption)
virtual AP4_Size | GetEncryptedSampleSize (AP4_Sample &sample)

## Detailed Description

Definition at line 248 of file Ap4OmaDcf.h.

## Constructor & Destructor Documentation

AP4_OmaDcfCbcSampleEncrypter::AP4_OmaDcfCbcSampleEncrypter | ( | AP4_BlockCipher * | block_cipher,
|  | const AP4_UI08 * | salt |
| ) |  |  |

AP4_OmaDcfCbcSampleEncrypter::~AP4_OmaDcfCbcSampleEncrypter | ( |  | ) |

## Member Function Documentation

virtual AP4_Result AP4_OmaDcfCbcSampleEncrypter::EncryptSampleData | ( | AP4_DataBuffer & | data_in,
|  | AP4_DataBuffer & | data_out,
|  | AP4_UI64 | bso,
|  | bool | skip_encryption |
| ) |  |  | `[virtual]`

Implements AP4_OmaDcfSampleEncrypter.

virtual AP4_Size AP4_OmaDcfCbcSampleEncrypter::GetEncryptedSampleSize | ( | AP4_Sample & | sample | ) | `[virtual]`

Implements AP4_OmaDcfSampleEncrypter.

The documentation for this class was generated from the following file:

- Ap4OmaDcf.h