# AP4_BlockCipherFactory Class Reference

`#include <Ap4Protection.h>`

Inheritance diagram for AP4_BlockCipherFactory:

List of all members.

## Public Member Functions
virtual | ~AP4_BlockCipherFactory ()
virtual AP4_Result | Create (AP4_BlockCipher::CipherType type, AP4_BlockCipher::CipherDirection direction, const AP4_UI08 *key, AP4_Size key_size, AP4_BlockCipher *&cipher)=0

## Detailed Description

Definition at line 235 of file Ap4Protection.h.

## Constructor & Destructor Documentation

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

Definition at line 239 of file Ap4Protection.h.

## Member Function Documentation

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

Implemented in AP4_DefaultBlockCipherFactory.

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

- Ap4Protection.h