Hi in this merge made the following changes :
1) Update the project structure from SDK 2.2.0 to SDk 3.0.1 of Alfresco SDK Project Structure
2) This addon work just fine by himself, but if you try to use with other amps the version of bouncycastle 1.57 is to much different from the default bounycastle of Alfresco 5.2 and made some mix up with the libraries with many runtime exception on these other amps.
After many try the only way i found to solve these problems it was to syncing the version of bouncycastle library and itext to the "standard" of Alfresco (with standard i mean the library do not override the standard library of Alfresco during the run of the apply_amp.sh script). So in the end i downgrade these library:
ITEXT 5.5.11 to 5.1.3
BOUNCYCASTLE 1.57 to 1.46/1.47
It' s work just fine the only thing i must do on developing is the new function for create a PDF/A file from a PDF during the signature of a PDF file using the standard library of Alfresco 5.2 PDFBOX 1.8.10 .
3) Added the CADES signature , if is not a PDF (PADES Signature) or is not a XML (XADES Signature) you sign the document and generate a p7m file if is enveloped or a p7s file if is detached like in the xml
4) TODO list for the form on Share
For the CADES signature the "location","reason" and the field for a visible signature must be hidden on the form
Add checkbox to specify if ovverride the file with a new version or not if you not select a different directory
Modify the form to add the option if is a pdf you can choose between a PADES Signature or a CADES Signature
Hi in this merge made the following changes :
1) Update the project structure from SDK 2.2.0 to SDk 3.0.1 of Alfresco SDK Project Structure
2) This addon work just fine by himself, but if you try to use with other amps the version of bouncycastle 1.57 is to much different from the default bounycastle of Alfresco 5.2 and made some mix up with the libraries with many runtime exception on these other amps. After many try the only way i found to solve these problems it was to syncing the version of bouncycastle library and itext to the "standard" of Alfresco (with standard i mean the library do not override the standard library of Alfresco during the run of the apply_amp.sh script). So in the end i downgrade these library:
ITEXT 5.5.11 to 5.1.3 BOUNCYCASTLE 1.57 to 1.46/1.47
It' s work just fine the only thing i must do on developing is the new function for create a PDF/A file from a PDF during the signature of a PDF file using the standard library of Alfresco 5.2 PDFBOX 1.8.10 .
3) Added the CADES signature , if is not a PDF (PADES Signature) or is not a XML (XADES Signature) you sign the document and generate a p7m file if is enveloped or a p7s file if is detached like in the xml
4) TODO list for the form on Share
Greetings