Document ID as a hash of doc
For those who are looking for a tool which can be used for creating a hash "*.sha2" file of "tsl.xml" file for publishing according to CD 2013/662/EU referring to ETSI TS 119 612 v1.1.1, can use Utility tab included in https://lockit.webnode.sk/ where the hash creation and also the hash validation utility are implemented. Examples are in the first and second picture on the webpage https://lockit.webnode.sk/help-pictures/
There is also possible, by selection of the type in Save as dialog, creation of more practical document identifier "*.did".
The file type "*.did" contains ASN.1 DER encoded data of type DocID.
DocID ::= SEQUENCE {
hashAlgorithmIdentifier AlgorithmIdentifier,
docHash OCTET STRING,
docSignatureHash OCTET STRING OPTIONAL }
ITU-T Recommendation X.690 | ISO/IEC 8825-1, Information technology – ASN.1 encoding rules: Specification of Basic Encoding Rules (BER), Canonical Encoding Rules (CER) and Distinguished Encoding Rules (DER)
https://www.itu.int/ITU-T/recommendations/rec.aspx?rec=x.690