# AP4_DefaultBlockCipherFactory Class Reference

`#include <Ap4Protection.h>`

Inheritance diagram for AP4_DefaultBlockCipherFactory:

List of all members.

## Public Member Functions
virtual AP4_Result | Create (AP4_BlockCipher::CipherType type, AP4_BlockCipher::CipherDirection direction, const AP4_UI08 *key, AP4_Size key_size, AP4_BlockCipher *&cipher)
## Static Public Attributes
static AP4_DefaultBlockCipherFactory | Instance

## Detailed Description

Definition at line 250 of file Ap4Protection.h.

## Member Function Documentation

virtual AP4_Result AP4_DefaultBlockCipherFactory::Create | ( | AP4_BlockCipher::CipherType | type,
|  | AP4_BlockCipher::CipherDirection | direction,
|  | const AP4_UI08 * | key,
|  | AP4_Size | key_size,
|  | AP4_BlockCipher *& | cipher |
| ) |  |  | `[virtual]`

Implements AP4_BlockCipherFactory.

## Member Data Documentation

AP4_DefaultBlockCipherFactory AP4_DefaultBlockCipherFactory::Instance`[static]`

Definition at line 254 of file Ap4Protection.h.

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

- Ap4Protection.h