|
virtual UtlBoolean | isEncrypted (OsConfigDb *cfg, const char *buffer, int buffLen)=0 |
| Test a buffer if it's actually encrypted. More...
|
|
virtual UtlBoolean | isNormallyEncrypted (OsConfigDb *cfg)=0 |
| Is this profile typically encrypted, decision usually based from cfg->getIndentyLabel() More...
|
|
virtual OsStatus | encrypt (OsConfigDb *cfg, OsEncryption *encryption, char *buffer, int buffLen)=0 |
| Handle the details of encrypting, look in OsEncryption instance for results. More...
|
|
virtual OsStatus | decrypt (OsConfigDb *cfg, OsEncryption *encryption, char *buffer, int buffLen)=0 |
| Handle the details of decrypting, look in OsEncryption instance for results. More...
|
|
virtual UtlBoolean | isWriteEncryptedEnabled ()=0 |
| Is writing profile encrypted on/off at a system level. More...
|
|
virtual | ~OsConfigEncryption () |
| If not NULL, a binary prefix header on files to tell if files are encrypted or not. More...
|
|
OsConfigDb consults a this class to handle all the details of encrypting and decrypting files and buffers w/o knowing the details. Systems provide an implemenation of this and in the case of the phone, determines which profiles should be encrypted, what the key is and can configure the OsEncryption instance