This commit adds signature generation and aggregation, as well as partial signature serialization and parsing.