Commit Graph

3255 Commits

Author SHA1 Message Date
Thialfihar
4e37568eab remove the null check for progress again, not needed in the trunk for now 2011-02-05 16:40:46 +00:00
Thialfihar
f37204321d don't include a Preference re-instantiation for now, will see about that when merging apg_service 2011-02-05 16:11:07 +00:00
Thialfihar
36c2b860ce strings fixes in IT and NO version 2011-02-05 16:09:01 +00:00
Markus Doits
c497e48817 Define interface without imports 2011-01-25 19:51:35 +00:00
Markus Doits
7278932990 Make callback use an interface 'the java way'_tm 2011-01-25 19:39:07 +00:00
Markus Doits
1036eb6bd5 Log stacktraces the android way 2011-01-25 19:38:56 +00:00
Markus Doits
3372e57157 Allow to retrieve connection status
This tells, if a connection to APG *might* be possible (right version of
APG found)
2011-01-23 21:37:06 +00:00
Markus Doits
66263ab6e3 Allow to return itself on callback 2011-01-23 21:36:59 +00:00
Markus Doits
cb4f1933d5 Dont remove result and warnings from result
Some more debug output, too
2011-01-23 21:36:51 +00:00
Markus Doits
efc5575d56 Change the way the complete result can be retrieved 2011-01-23 21:36:44 +00:00
Markus Doits
1ec5fc0541 Allow to retrieve fingerprints and user ids through AIDL
Update ApgCon and doc accordingly.

Not very tested.
2011-01-23 21:36:35 +00:00
Markus Doits
6b7db8161a Don't query things we don't need 2011-01-23 21:36:27 +00:00
Markus Doits
4b882fa90b Other applications must user permission to read key details to connect
to AIDL interface

This is necessary, because upcoming version of the aidl-interface will
be able to return fingerprints and user ids to applications.
2011-01-23 21:36:20 +00:00
Markus Doits
b5097b7a41 Some more verbose logs 2011-01-20 20:23:13 +00:00
Markus Doits
c9f6f56827 Work on errors and documentation - once more 2011-01-20 20:00:28 +00:00
Markus Doits
392969629c Some better (non-misleading) error msgs
Also some reindentation
2011-01-20 18:38:15 +00:00
Markus Doits
1af5a985b5 Redefine some log-msges 2011-01-20 18:25:38 +00:00
Markus Doits
05627fbd62 Print some info about keys on asymmetric encryption 2011-01-20 18:19:42 +00:00
Markus Doits
730b44bc73 Make the stacktrace enabler static 2011-01-20 18:19:34 +00:00
Markus Doits
dfb4f4e030 Allow at compile time to enable stacktraces on exceptions 2011-01-20 17:38:25 +00:00
Markus Doits
d4901f5999 Catch callback's and apg-call's (are there any?) exceptions 2011-01-20 16:53:51 +00:00
Markus Doits
72ab7fb25f Some more error output 2011-01-20 16:40:45 +00:00
Markus Doits
3e158d0afc Some better errors (hopefully more information)
Some smaller fixes and some new functions/doc, too
2011-01-20 16:36:03 +00:00
Markus Doits
15bf93de34 Fix wrong param in doc 2011-01-20 12:49:49 +00:00
Markus Doits
e73794a5cc Add javadoc on public things
Small other changes, too.
2011-01-20 11:55:36 +00:00
Markus Doits
be2476e0ba Allow async execution of an AIDL call
Calls can now be executed asyncronously. Callback methods are supported,
too. See comments of "set_callback()".

First tries with javadoc.
2011-01-19 22:33:06 +00:00
Markus Doits
79cf07f1e2 Compare strings like they should be compared 2011-01-18 22:24:28 +00:00
Markus Doits
945e8bb25b Add another verbose hint for ApgCon constructor 2011-01-18 22:19:48 +00:00
Markus Doits
209b300638 Print api_version if matching 2011-01-18 22:12:47 +00:00
Markus Doits
fd24d128fe Check for AIDL Api version and ApgService
This prints out errors on console when APG cannot work with the help. It
will initialize correctly, though.
2011-01-18 22:09:05 +00:00
Markus Doits
e6ece71fa0 Add AIDL API version 2011-01-18 22:08:56 +00:00
Markus Doits
10e0dd0237 Update AIDL to reflect new argument names
In addition redesign the comments a little bit. Still doesn't look good,
but at least a bit better.
2011-01-18 21:17:14 +00:00
Markus Doits
3f703fa4ea More finegrained errors 2011-01-18 21:17:05 +00:00
Markus Doits
79238cbcce Rename parameters
Writing them out should make them clearer
2011-01-18 20:35:41 +00:00
Markus Doits
5eaea519ad Refactor some log prios 2011-01-18 20:35:33 +00:00
Markus Doits
eb75eea64f Allow get_master_key to accept null string
Return earlier on wrong length, too.
2011-01-17 22:21:41 +00:00
Markus Doits
dc02a74d52 Update AIDL-Doc 2011-01-17 22:16:57 +00:00
Markus Doits
f9ee141ce1 Allow to sign and specify passphrase on decrypting 2011-01-17 22:16:49 +00:00
Markus Doits
7bf8649d95 Update version information to reflect branch 2011-01-17 21:15:31 +00:00
Markus Doits
9fb631d599 Clear result, too 2011-01-13 20:28:08 +00:00
Markus Doits
a1c75dd47c Add asymmetric encryption 2011-01-13 20:12:10 +00:00
Markus Doits
9c06bb03b6 Prepare ApgCon for asymetric enc and clean up 2011-01-13 20:12:02 +00:00
Markus Doits
8b35229650 Actually check for unknown args for function 2011-01-11 22:31:35 +00:00
Markus Doits
45e4897dc7 Redefine many internals of ApgService
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.
2011-01-11 22:24:20 +00:00
Markus Doits
fc05dfd8b7 Prevent null pointer exception
Error-msg should be better, though.
2011-01-11 22:24:08 +00:00
Markus Doits
d367bc12f8 Make some things static
*Should* speed up encryption, or better: does not make encryption using
AIDL slower than using APG directly.
2011-01-11 17:58:13 +00:00
Markus Doits
51b63d099c Allow helper to clear args and set booleans 2011-01-09 20:12:12 +00:00
Markus Doits
3f0c80882e Explain AIDL options a little bit more in detail 2011-01-09 20:12:03 +00:00
Markus Doits
def11ad18f Document new args in AIDL 2011-01-09 19:16:54 +00:00
Markus Doits
c84c449035 Respect options but allow to overwrite them for each call
By default the values set in APG's options are respected now. But they
can be overwritten by special parameters passed through.
2011-01-09 19:16:45 +00:00