Commit Graph

20 Commits

Author SHA1 Message Date
akwizgran
13f18d9e40 Found the bug, it was just a SQL syntax error. 2011-07-23 11:29:23 +01:00
akwizgran
de648daca5 Bundles are gone - the batch-mode and stream-mode protocols now
consist of independently encrypted and authenticated packets (Ack,
Batch, Subscriptions and Transports so far).
2011-07-22 22:19:24 +01:00
akwizgran
b4bf662b3e Unit tests for HeaderReader. 2011-07-21 10:58:42 +01:00
akwizgran
5843f38803 Unit tests for BatchReader. 2011-07-21 10:14:23 +01:00
akwizgran
f727420838 Removed signatures from headers and bundles, since the transport's
authentication will make them redundant.
2011-07-20 18:33:06 +01:00
akwizgran
fb528a85ad Nested user-defined objects (and collections of them) can now be read
by registering ObjectReaders with the Reader.
2011-07-19 17:17:45 +01:00
akwizgran
0bc8a31749 Cleaned up serial and protocol packages in preparation for user-defined types. 2011-07-18 14:33:41 +01:00
akwizgran
48359ec478 Updated buildfile for unit tests. 2011-07-13 16:46:21 +01:00
akwizgran
3d549ea6ac Builders for incoming and outgoing headers and batches. The protocol and serial components can now be used to serialise, sign, deserialise and verify real bundles (except for message parsing). 2011-07-12 16:50:20 +01:00
akwizgran
e0509db45d Protocol refactoring. Each bundle now consists of a signed header and zero or more signed batches. There is no overall signature on the bundle, since the bundle's contents may need to be processed before the entire bundle has been read. The protocol does not prevent an adversary from removing batches from a bundle, reordering batches, moving them from one bundle to another, etc. However, since each batch is signed and acknowledged independently, no such guarantees are required. Bundle IDs will go away when the retransmission mechanism is changed. 2011-07-12 12:55:46 +01:00
akwizgran
4f5eb21180 Builders for batches and bundles. 2011-07-11 12:25:04 +01:00
akwizgran
5d768a5718 DatabaseComponent throws an exception instead of returning silently if a contact is removed during an operation involving that contact. More unit tests. 2011-07-05 18:15:44 +01:00
akwizgran
eb752ada62 Factored out the database cleaner. 2011-07-04 18:11:27 +01:00
akwizgran
390b316724 Unit tests for H2Database. 2011-07-04 16:06:10 +01:00
akwizgran
6384256c06 Unit tests for i18n component. 2011-07-01 13:11:59 +01:00
akwizgran
a5bb959635 Enabled assertions in junit tests. 2011-07-01 12:19:02 +01:00
akwizgran
0ed2a7c9e7 Javadocs and unit tests. 2011-07-01 12:07:00 +01:00
akwizgran
dad1b4fcb9 More unit tests. 2011-06-22 16:58:03 +01:00
akwizgran
eb1c855278 Javadocs and unit tests. Woo! 2011-06-22 11:42:33 +01:00
akwizgran
9e76cc6a4f Added test jars and the first unit test. 2011-06-21 23:12:30 +01:00