I\'m working on the project where the user needs to do a digital signature on a document. I checked in the google and know about sinadura which is a desktop application but
There is some configuration in Alfresco to create a custom action.
You can create a custom action in alfresco,
And you can execute your java class code to create the digital signature on file.
You can take the reference from this java class