The demo java program seals the pdf document using PKCS7 API.
Data Portal application
Source for https://reddening.cerit-sc.cz/