Version 1.0.2 - the archive timestamp hash calculation is according to CD 2011/130/EU

28.07.2011 17:22

The hash calculation is according to COMMISSION DECISION 2011/130/EU.  CD 2011/130/EU is the following: All attributes of CAdES which are included in the archive timestamp hash calculation (ETSI TS 101 733 V1.8.1 Annex K) MUST be in DER encoding and any other can be in BER to simplify one-pass processing of CAdES.
It means that according to ETSI TS 101 733 V1.8.3 (2011-01) and also V1.8.1 Annex K the "unsignedAttrs [1] IMPLICIT SET SIZE (1..MAX) OF" is not included in the hash calculation and is not DER encoded.
For the reason that "unsignedAttrs [1] IMPLICIT SET SIZE (1..MAX) OF" is BER encoded, the unsigned attributes MUST NOT be sorted as required for DER encoding  http://www.itu.int/ITU-T/studygroups/com17/languages/X.690-0207.pdf. 

Späť