- 19 Apr, 2017 1 commit
-
-
David Renshaw authored
-
- 09 Mar, 2017 1 commit
-
-
David Renshaw authored
-
- 07 Mar, 2017 3 commits
-
-
David Renshaw authored
-
David Renshaw authored
-
David Renshaw authored
-
- 12 Dec, 2016 1 commit
-
-
David Renshaw authored
-
- 20 May, 2016 1 commit
-
-
Matthew Maurer authored
-
- 10 May, 2016 1 commit
-
-
Matthew Maurer authored
You can now spawn a canonical message from: * StructReader * AnyStruct::Reader * capnpc-c++ generated Foo::Reader
-
- 02 Apr, 2016 1 commit
-
-
Matthew Maurer authored
-
- 01 Apr, 2016 1 commit
-
-
Matthew Maurer authored
-
- 20 Mar, 2016 1 commit
-
-
Matthew Maurer authored
The user facing API is in MessageReader and MessageBuilder {MessageBuilder,MessageReader}::isCanonical verifies the canonicity of a message. This is both useful for debugging and for knowing if a received message can be used for hashes, bytewise equality, etc. MessageBuilder::canonicalRoot(Reader) can be used to write a canonical message on a best effort basis, and checks itself using isCanonical. It should succeed as long as the MessageBuilder in question: * Has a first segment which is long enough to contain the message * Has not been used before Tests have been added in canonicalize-test.c++ which verify that for crafted examples of canonicalization errors, isCanonical will reject, and for a canonicalized version of the standard test message, it will accept.
-