01-04-2021 03:49 AM
Hi,
I like to adapt the versioning mechanism of content services as follows:
- When checking in an existing word/excel document: change version number from 0.1 -> 0.2 (this is already the case)
- When the version number must be 1.0, 2.0, .... then the word/excel document is to be checked for the presense of one or more digital signatures. Otherwise Alfresco should not accept the document and regard the upload as failed.
Reason: in our company, all documents having a x.0 version are regarded as 'released' and therefore need to have digital signatures in it. So: alfresco should deny a document having no signatures in it having version x.0.
We have already .NET programs to check signatures in the documents, it then would be nice if server side those executables could be called from Java to perfom the signature checking.
Br,
Carl.
01-04-2021 04:09 AM
You should invoke those NET components using command line from Java or so.
Alternatively, you can use some Java code in order to check if a document includes a digital signature. You can take this code/project as sample:
Explore our Alfresco products with the links below. Use labels to filter content by product module.