|
SASC-NG
DVBSoftCAM
|
#include <system-common.h>
Inheritance diagram for cDualKey:Public Member Functions | |
| cDualKey (bool Super, bool Rotate) | |
Protected Member Functions | |
| virtual bool | IsBNKey (void) const =0 |
| virtual cPlainKey * | Alloc (void) const |
Definition at line 69 of file system-common.h.
| cDualKey::cDualKey | ( | bool | Super, |
| bool | Rotate | ||
| ) |
Definition at line 123 of file system-common.c.
:cMutableKey(Super) { rotate=Rotate; }
| cPlainKey * cDualKey::Alloc | ( | void | ) | const [protected, virtual] |
Implements cMutableKey.
Definition at line 129 of file system-common.c.
References cPlainKey::CanSupersede(), and IsBNKey().
{
if(IsBNKey()) return new cBNKey(CanSupersede(),rotate);
else return new cHexKey(CanSupersede());
}
| virtual bool cDualKey::IsBNKey | ( | void | ) | const [protected, pure virtual] |
Implemented in cPlainKeyCryptoworks, cPlainKeyNagra, and cPlainKeySeca.
Referenced by Alloc().