# AP4_OmaDcfSampleEncrypter Class Reference

`#include <Ap4OmaDcf.h>`

Inheritance diagram for AP4_OmaDcfSampleEncrypter:

List of all members.

## Public Member Functions
| AP4_OmaDcfSampleEncrypter (const AP4_UI08 *salt)
virtual | ~AP4_OmaDcfSampleEncrypter ()
virtual AP4_Result | EncryptSampleData (AP4_DataBuffer &data_in, AP4_DataBuffer &data_out, AP4_UI64 bso, bool skip_encryption)=0
virtual AP4_Size | GetEncryptedSampleSize (AP4_Sample &sample)=0
## Protected Attributes
AP4_UI08 | m_Salt [16]

## Detailed Description

Definition at line 203 of file Ap4OmaDcf.h.

## Constructor & Destructor Documentation

AP4_OmaDcfSampleEncrypter::AP4_OmaDcfSampleEncrypter | ( | const AP4_UI08 * | salt | ) |

virtual AP4_OmaDcfSampleEncrypter::~AP4_OmaDcfSampleEncrypter | ( |  | ) | `[inline, virtual]`

Definition at line 208 of file Ap4OmaDcf.h.

## Member Function Documentation

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

Implemented in AP4_OmaDcfCtrSampleEncrypter, and AP4_OmaDcfCbcSampleEncrypter.

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

Implemented in AP4_OmaDcfCtrSampleEncrypter, and AP4_OmaDcfCbcSampleEncrypter.

## Member Data Documentation

AP4_UI08 AP4_OmaDcfSampleEncrypter::m_Salt[16]`[protected]`

Definition at line 219 of file Ap4OmaDcf.h.

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

- Ap4OmaDcf.h