This helps to add new function calls easily. Some of the new enums
could be exported to other files to be included by other projects later
on.
Next step is asymmetric encryption.
Using Bundles makes passing data easier and does not need to redefine
the interface if the internel functions change.
The helper class has been updated accordingly. In addition, it wrappes
completely around all input and output (if wanted).
I encountered a problem that changing preferences in APG did not change
the preferences in ApgService after it was called once:
1. call getPreferences
2. change settings in APG
3. call getPreferences again
--> the result at 3. was still having preferences from 1.
To work around this, the function getPreferences has been updated to
force the new generation of preferences while not breaking any other
code relying on the old behaviour.
Provides an AIDL-API for other apps to encrypt and decrypt a string
symmetrically with a passphrase. Function names and API is by no way
finalized and will change!
Support for asymetric encription will follow.
For reference and discussion see issue #71,
https://code.google.com/p/android-privacy-guard/issues/detail?id=71