# AP4_OmaDcfSampleDecrypter Class Reference

`#include <Ap4OmaDcf.h>`

Inheritance diagram for AP4_OmaDcfSampleDecrypter:

List of all members.

## Public Member Functions
| AP4_OmaDcfSampleDecrypter (AP4_Size iv_length, bool selective_encryption)
virtual AP4_Size | GetDecryptedSampleSize (AP4_Sample &sample)=0
## Static Public Member Functions
static AP4_Result | Create (AP4_ProtectedSampleDescription *sample_description, const AP4_UI08 *key, AP4_Size key_size, AP4_BlockCipherFactory *block_cipher_factory, AP4_OmaDcfSampleDecrypter *&cipher)
## Protected Attributes
AP4_Size | m_IvLength
AP4_Size | m_KeyIndicatorLength
bool | m_SelectiveEncryption

## Detailed Description

Definition at line 100 of file Ap4OmaDcf.h.

## Constructor & Destructor Documentation

AP4_OmaDcfSampleDecrypter::AP4_OmaDcfSampleDecrypter | ( | AP4_Size | iv_length,
|  | bool | selective_encryption |
| ) |  |  | `[inline]`

Definition at line 111 of file Ap4OmaDcf.h.

## Member Function Documentation

static AP4_Result AP4_OmaDcfSampleDecrypter::Create | ( | AP4_ProtectedSampleDescription * | sample_description,
|  | const AP4_UI08 * | key,
|  | AP4_Size | key_size,
|  | AP4_BlockCipherFactory * | block_cipher_factory,
|  | AP4_OmaDcfSampleDecrypter *& | cipher |
| ) |  |  | `[static]`

virtual AP4_Size AP4_OmaDcfSampleDecrypter::GetDecryptedSampleSize | ( | AP4_Sample & | sample | ) | `[pure virtual]`

Implemented in AP4_OmaDcfCtrSampleDecrypter, and AP4_OmaDcfCbcSampleDecrypter.

## Member Data Documentation

AP4_Size AP4_OmaDcfSampleDecrypter::m_IvLength`[protected]`

Definition at line 120 of file Ap4OmaDcf.h.

AP4_Size AP4_OmaDcfSampleDecrypter::m_KeyIndicatorLength`[protected]`

Definition at line 121 of file Ap4OmaDcf.h.

bool AP4_OmaDcfSampleDecrypter::m_SelectiveEncryption`[protected]`

Definition at line 122 of file Ap4OmaDcf.h.

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

- Ap4OmaDcf.h