0

I am creating digital signatures using various scheme, e.g. RSASSA-PSS.

The result is bytes that represents signed data with private key.

I would like to store signature as a standard data representation that would be understand by third parties software, including what type of signature data represents, etc.

What should be used?

Is CMS Signed Data structure good for this purpose?

user1563721
  • 1,099
  • 11
  • 22

1 Answers1

0

CMS can be good if you want to store the signed data with the signature.

If you are signing always the same type of file, some formats can be preferable :

  • PADeS for pdf files

  • XADeS for xml files

  • CADeS for any file

Each format can have different levels, which match with different trust levels. They can be found on the ETSI site.

If you are using Java, the open-source library SD-DSS is available an do it very well.

sources :

CADeS : https://www.eldos.com/security/articles/7031.php?page=all

ETSI documentation : http://www.etsi.org/standards-search

SD-DSS : https://joinup.ec.europa.eu/software/sd-dss/release/all

zr_ifrit
  • 147
  • 6