cancel
Showing results for 
Search instead for 
Did you mean: 

Preview document p7s (signature)

ednilo_pinheiro
Champ in-the-making
Champ in-the-making
Hi all,

I'm new in Alfresco.
I wanna know if is it possible to use some code (java, for example) to extract some information from p7s file and show for user, when i click in preview ?!
The best way is converting p7s to another mime type?

Sorry, if this topic is in the wrong local.

Thanks in advance.
1 REPLY 1

resplin
Elite Collaborator
Elite Collaborator
I responded to your other post, https://forums.alfresco.com/node/72316

To read the information inside the .p7s, you need to create a custom metadata extractor to pull out the information you need. Unfortunately, there is not very good documentation on this topic at the moment. Some useful links:

http://blog.arvixe.com/alfresco-metadata-extraction/

http://docs.alfresco.com/5.0/tasks/metadata-config.html

https://wiki.alfresco.com/wiki/Metadata_Extraction

To turn a .p7s into a .pdf, you need a custom transformer. This is also a subject that is not well documented. Here is what I found:

http://wiki.alfresco.com/wiki/Content_Transformations

http://blogs.alfresco.com/wp/wabson/2013/07/09/changes-to-transformers-configuration-in-alfresco-4-2...

Good luck.