CAdES: Updating SignerAttributes to SignerAttributesV2 as specified by ETSI
Created by: SebastianSchuberth
ETSI EN 319 122-1 V1.1.1 (2016-04) (see: http://www.etsi.org/deliver/etsi_en/319100_319199/31912201/01.01.01_60/en_31912201v010101p.pdf, chapter 5.2.6.1 ) now allows for the inclusion of signed assertions into SignerAttributes for a CAdES signature. This however requires the now deprecated attribute to be replaced by the newer version SignerAttributesV2 as specified in the document. Unfortunately Bouncy Castle does not yet support this new version, so I tried to do it myself.