TSDuck v3.40-4033
MPEG Transport Stream Toolkit
|
Interface for classes which need to be notified when an alert is raised on a block cipher. More...
#include <tsBlockCipherAlertInterface.h>
Public Types | |
enum | AlertReason { FIRST_ENCRYPTION , FIRST_DECRYPTION , ENCRYPTION_EXCEEDED , DECRYPTION_EXCEEDED } |
Reason for the alert. More... | |
Public Member Functions | |
virtual bool | handleBlockCipherAlert (BlockCipher &cipher, AlertReason reason)=0 |
This hook is invoked when an ECM is available. | |
Interface for classes which need to be notified when an alert is raised on a block cipher.
Reason for the alert.
|
pure virtual |
This hook is invoked when an ECM is available.
It is invoked in the context of an internal thread of the ECMG client object.
[in,out] | cipher | The block cipher which raised the alert. |
[in] | reason | The reason for the alert. |