WIP: Create asic-e attachment. Manifest probably done, working on Signatures.xml
Hash files in reference
Prefer specific imports over wild card, as we import quite a few classes with equal local names (especially in the context of xml handling)
First shot at generating Signatures.xml in Asic-E. Still needs both cleaning and improvements.
Okay-looking Signature
Use constants for algorithms where available
Restructuring, refactoring and documentation of signature generation
Created ObjectMother for setup of sane looking domain objects
Created narrower (and more generic) signature for Asic-E signature creator
Added (kinda crappy) test for signature creation. Not the easiest functionality to create good tests for, so I'll settle for good enough right now.
Use spaces for xml
Added an exact string matching test for building of asic signature xml. Yet again, not the best type of test, but it at least warns future developers of changes that affect the outputted xml (in case someone wants to try to do non-changing refactorings)
Create Asic-E zip
Create support for writing sent asic-e files to disk for debug
Organized Asic into packages
Renamed AsicEGenerator -> CreateAsicE
Correct file names for ASiC
Don't use JAXB to 'clean up' the XML. It does indeed make the XML cleaner, but it potentially messes up the signed elements. Indeed, I'm pretty sure it messed up the SigningTime timestamp (reset timezone to local), which would break the signature. Also removed the centralized Jaxb class which would put to many namespaces on elements.
Verified that this is indeed the correct hash
Work in progress: encrypt ASiC-E with CMS