open-keychain/src/org/thialfihar/android/apg/provider
Markus Doits ad16574657 Allow to pass large blobs and a new content provider to simplify this
Since AIDL is not for passing large data, a blob can be passed to APG by
a Uri. This Uri is opened as a file by APG and read/written to. Note the
file is overwritten by APG, so make sure it is a copy if you want to
keep the original.

With the ApgServiceBlobProvider, Apg has an own ContentProvider that can
be used like mentioned above. For now the data is stored in the dir
where APG stores other files and NOT DELETED after en/decryption. This
is tbd. It can only be accessed by an application with the permission
"org.thialfihar.android.apg.permission.STORE_BLOBS".

ApgCon has been updated accordingly and can handle blobs with `setBlob`
and `getBlobResult`. That is a really easy way to en/decrypt large data.

Note that encrypting by blob should only be used for large files (1MB+).
On all other cases, the data should be passed as as String through the
AIDl-Interface, so no temporary file must be created.

See ApgCon for a complete example of how to connect to the AIDL and use
it. Or use it in your own project!
2011-11-04 21:22:49 +01:00
..
Accounts.java set svn:eol-style to LF for all code/resource files 2010-07-16 20:13:12 +00:00
ApgServiceBlobDatabase.java Allow to pass large blobs and a new content provider to simplify this 2011-11-04 21:22:49 +01:00
ApgServiceBlobProvider.java Allow to pass large blobs and a new content provider to simplify this 2011-11-04 21:22:49 +01:00
Database.java Switch to spongycastle 2011-11-03 22:15:31 +01:00
DataProvider.java some playing with content stream decryption and providing the result as content stream 2010-07-09 11:28:39 +00:00
KeyRings.java set svn:eol-style to LF for all code/resource files 2010-07-16 20:13:12 +00:00
Keys.java fully removed old DataProvider for now, manage queries, clean up old database stuff 2010-05-28 07:04:01 +00:00
UserIds.java set svn:eol-style to LF for all code/resource files 2010-07-16 20:13:12 +00:00