diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000..e0f15db
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,3 @@
+{
+ "java.configuration.updateBuildConfiguration": "automatic"
+}
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/.classpath b/DigitalSigningAlfresco/.classpath
new file mode 100644
index 0000000..5e8d853
--- /dev/null
+++ b/DigitalSigningAlfresco/.classpath
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/DigitalSigningAlfresco/.project b/DigitalSigningAlfresco/.project
new file mode 100644
index 0000000..1da48cb
--- /dev/null
+++ b/DigitalSigningAlfresco/.project
@@ -0,0 +1,23 @@
+
+
+ digitalSigningAlfresco
+
+
+
+
+
+ org.eclipse.jdt.core.javabuilder
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+
+ org.eclipse.jdt.core.javanature
+ org.eclipse.m2e.core.maven2Nature
+
+
diff --git a/DigitalSigningAlfresco/.settings/org.eclipse.core.resources.prefs b/DigitalSigningAlfresco/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..db32697
--- /dev/null
+++ b/DigitalSigningAlfresco/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,3 @@
+eclipse.preferences.version=1
+encoding//src/main/resources=UTF-8
+encoding/=UTF-8
diff --git a/DigitalSigningAlfresco/.settings/org.eclipse.jdt.core.prefs b/DigitalSigningAlfresco/.settings/org.eclipse.jdt.core.prefs
new file mode 100644
index 0000000..a3b98fd
--- /dev/null
+++ b/DigitalSigningAlfresco/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,8 @@
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
+org.eclipse.jdt.core.compiler.compliance=1.7
+org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
+org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
+org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
+org.eclipse.jdt.core.compiler.release=disabled
+org.eclipse.jdt.core.compiler.source=1.7
diff --git a/DigitalSigningAlfresco/.settings/org.eclipse.m2e.core.prefs b/DigitalSigningAlfresco/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/DigitalSigningAlfresco/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/DigitalSigningAlfresco/pom.xml b/DigitalSigningAlfresco/pom.xml
index 2cdce52..f1c2edb 100644
--- a/DigitalSigningAlfresco/pom.xml
+++ b/DigitalSigningAlfresco/pom.xml
@@ -16,8 +16,8 @@
- 3.0.1
- 5.2.f
+ 4.0.0
+ 6.1.2-ga
src/main/amp
@@ -66,7 +66,7 @@
-->
${alfresco.groupId}
- alfresco-platform-distribution
+ alfresco-content-services-community-distribution
${alfresco.platform.version}
pom
import
@@ -233,6 +233,7 @@
xml-apis
xml-apis
+ 2.0.2
provided
diff --git a/DigitalSigningAlfresco/src/main/java/org/alfresco/plugin/digitalSigning/service/SigningService.java b/DigitalSigningAlfresco/src/main/java/org/alfresco/plugin/digitalSigning/service/SigningService.java
index fb8fc37..9fa42ff 100644
--- a/DigitalSigningAlfresco/src/main/java/org/alfresco/plugin/digitalSigning/service/SigningService.java
+++ b/DigitalSigningAlfresco/src/main/java/org/alfresco/plugin/digitalSigning/service/SigningService.java
@@ -93,7 +93,8 @@
import org.apache.xmpbox.schema.PDFAIdentificationSchema;
import org.apache.xmpbox.type.BadFieldValueException;
import org.apache.xmpbox.xml.XmpSerializer;
-import org.bouncycastle.asn1.DERObjectIdentifier;
+//import org.bouncycastle.asn1.DERObjectIdentifier; updated for recent package
+import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.cms.AttributeTable;
import org.bouncycastle.asn1.cms.CMSAttributes;
import org.bouncycastle.asn1.cms.CMSObjectIdentifiers;
@@ -1363,7 +1364,7 @@ protected boolean certVerify(final CMSSignedData cmsSignedData, final CertStore
final AttributeTable signedAttributes = signerInformation.getSignedAttributes();
if (signedAttributes != null) {
@SuppressWarnings("unused")
- Date signingTime = Time.getInstance((Object)signedAttributes.get((DERObjectIdentifier)CMSAttributes.signingTime).getAttrValues().getObjectAt(0)).getDate();
+ Date signingTime = Time.getInstance((Object)signedAttributes.get((ASN1ObjectIdentifier)CMSAttributes.signingTime).getAttrValues().getObjectAt(0)).getDate();
}
Collection extends Certificate> certificates = null;
try {
diff --git a/DigitalSigningAlfresco/src/main/java/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable.java b/DigitalSigningAlfresco/src/main/java/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable.java
index 92a1b2b..f23a662 100644
--- a/DigitalSigningAlfresco/src/main/java/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable.java
+++ b/DigitalSigningAlfresco/src/main/java/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable.java
@@ -17,7 +17,7 @@
import org.alfresco.service.cmr.repository.ContentService;
import org.alfresco.service.cmr.repository.NodeRef;
import org.alfresco.service.cmr.repository.NodeService;
-import org.alfresco.service.cmr.repository.TransformationOptions;
+ import org.alfresco.service.cmr.repository.TransformationOptions;
import org.alfresco.service.namespace.QName;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
diff --git a/DigitalSigningAlfresco/src/main/resources/alfresco/module/digitalSigningAlfresco/module-context.xml b/DigitalSigningAlfresco/src/main/resources/alfresco/module/digitalSigningAlfresco/module-context.xml
index 9cb319a..d5d918b 100644
--- a/DigitalSigningAlfresco/src/main/resources/alfresco/module/digitalSigningAlfresco/module-context.xml
+++ b/DigitalSigningAlfresco/src/main/resources/alfresco/module/digitalSigningAlfresco/module-context.xml
@@ -247,7 +247,7 @@
-
+
+
@@ -274,4 +275,29 @@
+ -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/image.get.desc.xml b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/image.get.desc.xml
new file mode 100644
index 0000000..a7d9e4c
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/image.get.desc.xml
@@ -0,0 +1,8 @@
+
+ Get image
+ Get image
+ /api/digitalSigning/image
+ argument
+ user
+ required
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/isPdfTransformable.get.desc.xml b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/isPdfTransformable.get.desc.xml
new file mode 100644
index 0000000..caf0ce3
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/isPdfTransformable.get.desc.xml
@@ -0,0 +1,8 @@
+
+ Verify if NodeRef is transformable in PDF or not
+ Verify if NodeRef is transformable in PDF or not
+ /api/digitalSigning/isPdfTransformable
+ argument
+ user
+ required
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/signatureInformation.get.desc.xml b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/signatureInformation.get.desc.xml
new file mode 100644
index 0000000..9eb9981
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/signatureInformation.get.desc.xml
@@ -0,0 +1,8 @@
+
+ Get signature information
+ Get signature information
+ /api/digitalSigning/signatureInformation
+ argument
+ user
+ internal
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/signatureInformation.get.json.ftl b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/signatureInformation.get.json.ftl
new file mode 100644
index 0000000..18f337f
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/information/signatureInformation.get.json.ftl
@@ -0,0 +1,31 @@
+<#escape x as jsonUtils.encodeJSONString(x)>
+<#if errorNumber??>
+{
+ "errorNumber":"${errorNumber}"
+ <#if errorMessage??>
+ ,
+ "errorMessage":"${errorMessage}"
+ #if>
+}
+<#else>
+ <#if keyInfos??>
+ {
+ "key":
+ {
+ "alias":"${keyInfos.alias}",
+ "subject":"${keyInfos.subject}",
+ "type":"${keyInfos.type}",
+ "algorithm":"${keyInfos.algorithm}",
+ "firstDayValidity":"${keyInfos.firstDayValidity?string("dd-MM-yyyy HH:mm:ss")}",
+ "lastDayValidity":"${keyInfos.lastDayValidity?string("dd-MM-yyyy HH:mm:ss")}",
+ "alert":"${keyInfos.alert}",
+ "hasExpired":${keyInfos.hasExpired?string("true","false")}
+ <#if keyInfos.expire??>
+ ,"expire":"${keyInfos.expire}"
+ #if>
+ },
+ "hasImage": ${hasImage?string("true","false")}
+ }
+ #if>
+#if>
+#escape>
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/search/search.get.desc.xml b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/search/search.get.desc.xml
new file mode 100644
index 0000000..b4df819
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/search/search.get.desc.xml
@@ -0,0 +1,8 @@
+
+ Search signed documents by filters
+ Search signed documents by filters
+ /api/digitalSigning/searchDocuments
+ argument
+ user
+ internal
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/search/search.get.js b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/search/search.get.js
new file mode 100644
index 0000000..2671fe4
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/search/search.get.js
@@ -0,0 +1,112 @@
+
+
+
+var items = [], item;
+
+var filterPerson = args["filterPerson"];
+var filterDate = args["filterDate"];
+var siteId = args["siteId"];
+
+var query = 'ASPECT:"dgtsgn:signed"';
+
+// Filter on person
+if (filterPerson != null) {
+ if (filterPerson == "mine") {
+ query += ' AND @dgtsgn\\:signedby:"' + person.properties.userName + '"';
+ } else if (filterPerson == "others") {
+ query += ' AND NOT @dgtsgn\\:signedby:"' + person.properties.userName + '"';
+ }
+}
+
+var currentDateWithoutTime = new Date();
+currentDateWithoutTime.setHours(23,59,0,0);
+var isoCurrentDateWithoutTime = utils.toISO8601(currentDateWithoutTime);
+
+// Filter on date
+if (filterDate != null) {
+ if (filterDate == "today") {
+ var yesterdayWithoutTime = new Date(currentDateWithoutTime);
+ yesterdayWithoutTime.setDate(currentDateWithoutTime.getDate()-1);
+ var isoYesterdayWithoutTime = utils.toISO8601(yesterdayWithoutTime);
+
+ query += ' AND @dgtsgn\\:signaturedate:[' + isoYesterdayWithoutTime + ' TO ' + isoCurrentDateWithoutTime + ']';
+ } else if (filterDate == "7") {
+ var sevenDayBeforeWithoutTime = new Date(currentDateWithoutTime);
+ sevenDayBeforeWithoutTime.setDate(currentDateWithoutTime.getDate()-7);
+ var isoSevenDayBeforeWithoutTime = utils.toISO8601(sevenDayBeforeWithoutTime);
+
+ query += ' AND @dgtsgn\\:signaturedate:[' + isoSevenDayBeforeWithoutTime + ' TO ' + isoCurrentDateWithoutTime + ']';
+ } if (filterDate == "14") {
+ var forteenDayBeforeWithoutTime = new Date(currentDateWithoutTime);
+ forteenDayBeforeWithoutTime.setDate(currentDateWithoutTime.getDate()-14);
+ var isoForteenDayBeforeWithoutTime = utils.toISO8601(forteenDayBeforeWithoutTime);
+
+ query += ' AND @dgtsgn\\:signaturedate:[' + isoForteenDayBeforeWithoutTime + ' TO ' + isoCurrentDateWithoutTime + ']';
+ } if (filterDate == "28") {
+ var twentyeightDayBeforeWithoutTime = new Date(currentDateWithoutTime);
+ twentyeightDayBeforeWithoutTime.setDate(currentDateWithoutTime.getDate()-28);
+ var isoTwentyeightDayBeforeWithoutTime = utils.toISO8601(twentyeightDayBeforeWithoutTime);
+
+ query += ' AND @dgtsgn\\:signaturedate:[' + isoTwentyeightDayBeforeWithoutTime + ' TO ' + isoCurrentDateWithoutTime + ']';
+ }
+}
+
+logger.log(query);
+
+//Filter on site and store site information in model
+if (siteId != null && siteId != "") {
+ query += ' AND PATH:"/app:company_home/st:sites//cm:' + siteId + '/cm:documentLibrary//*"';
+ var siteNode = siteService.getSite(siteId);
+ model.siteTitle = siteNode.title;
+ model.siteId = siteId;
+}
+
+var nodes = search.luceneSearch(query);
+
+for each (node in nodes) {
+ // Get evaluated properties.
+ item = Evaluator.run(node);
+
+ if (item !== null) {
+ locationNode = item.isLink ? item.linkedNode : item.node;
+ // Ensure we have Read permissions on the destination on the link object
+ if (!locationNode.hasPermission("Read")) break;
+ location = Common.getLocation(locationNode, null);
+ location.parent = {};
+ if (node.parent != null && node.parent.isContainer && node.parent.hasPermission("Read")) {
+ location.parent.nodeRef = String(node.parent.nodeRef.toString());
+ }
+
+ // Resolved location
+ item.location = location;
+
+ items.push(item);
+ }
+}
+
+// Array Remove - By John Resig (MIT Licensed)
+var fnArrayRemove = function fnArrayRemove(array, from, to) {
+ var rest = array.slice((to || from) + 1 || array.length);
+ array.length = from < 0 ? array.length + from : from;
+ return array.push.apply(array, rest);
+};
+
+/**
+ * De-duplicate orignals for any existing working copies.
+ * This can't be done in evaluator.lib.js as it has no knowledge of the current filter or UI operation.
+ * Note: This may result in pages containing less than the configured amount of items (50 by default).
+*/
+for each (item in items) {
+ if (item.customObj && item.customObj.isWorkingCopy) {
+ var workingCopyOriginal = String(item.customObj.workingCopyOriginal);
+ for (var i = 0, ii = items.length; i < ii; i++) {
+ if (String(items[i].node.nodeRef) == workingCopyOriginal) {
+ fnArrayRemove(items, i);
+ break;
+ }
+ }
+ }
+}
+
+model.count = nodes.length;
+model.nodes = items;
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/search/search.get.json.ftl b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/search/search.get.json.ftl
new file mode 100644
index 0000000..b4f010f
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/search/search.get.json.ftl
@@ -0,0 +1,64 @@
+<#macro dateFormat date=""><#if date?is_date>${xmldate(date)}#if>#macro>
+
+<#escape x as jsonUtils.encodeJSONString(x)>
+{
+ "totalRecords": ${count},
+ "startIndex": 0,
+ "items":
+ [
+ <#list nodes as item>
+ {
+ "nodeRef": "${item.node.nodeRef}",
+ "nodeType": "${shortQName(item.node.type)}",
+ "type": "${item.type}",
+ "mimetype": "${item.node.mimetype!""}",
+ "isFolder": <#if item.linkedNode??>${item.linkedNode.isContainer?string}<#else>${item.node.isContainer?string}#if>,
+ "isLink": ${(item.isLink!false)?string},
+ "fileName": "<#if item.linkedNode??>${item.linkedNode.name}<#else>${item.node.name}#if>",
+ "displayName": "<#if item.linkedNode??>${item.linkedNode.name}<#elseif item.node.hasAspect("{http://www.alfresco.org/model/content/1.0}workingcopy")>${item.node.name?replace(workingCopyLabel, "")}<#else>${item.node.name}#if>",
+ "status": "",
+ "title": "${item.node.properties.title!""}",
+ "description": "${item.node.properties.description!""}",
+ "author": "${item.node.properties.author!""}",
+ "createdOn": "<@dateFormat item.node.properties.created />",
+ "createdBy": <#if item.createdBy??>"${item.createdBy.displayName}"<#else>""#if>,
+ "createdByUser": <#if item.createdBy??>"${item.createdBy.userName}"<#else>""#if>,
+ "modifiedOn": "<@dateFormat item.node.properties.modified />",
+ "modifiedBy": <#if item.modifiedBy??>"${item.modifiedBy.displayName}"<#else>""#if>,
+ "modifiedByUser": <#if item.modifiedBy??>"${item.modifiedBy.userName}"<#else>""#if>,
+ "lockedBy": <#if item.lockedBy??>"${item.lockedBy.displayName}"<#else>""#if>,
+ "lockedByUser": <#if item.lockedBy??>"${item.lockedBy.userName}"<#else>""#if>,
+ "size": "${item.node.size?c}",
+ "version": <#if item.node.properties["cm:versionLabel"]?exists>"${item.node.properties["cm:versionLabel"]}"<#else>"1.0"#if>,
+ "contentUrl": "api/node/content/${item.node.storeType}/${item.node.storeId}/${item.node.id}/${item.node.name?url}",
+ "webdavUrl": "${item.node.webdavUrl}",
+ "actionSet": "${item.actionSet}",
+ <#if item.activeWorkflows??>"activeWorkflows": "<#list item.activeWorkflows as aw>${aw}<#if aw_has_next>,#if>#list>",#if>
+ <#if item.isFavourite??>"isFavourite": ${item.isFavourite?string},#if>
+ "signatureDate": "<@dateFormat item.node.properties["dgtsgn:signaturedate"] />",
+ "signedBy": "${item.node.properties["dgtsgn:signedby"]}",
+ "signatureReason": <#if item.node.properties["dgtsgn:reason"]?exists>"${item.node.properties["dgtsgn:reason"]}"<#else>""#if>,
+ "signatureLocation": <#if item.node.properties["dgtsgn:location"]?exists>"${item.node.properties["dgtsgn:location"]}"<#else>""#if>,
+ "location":
+ {
+ "repositoryId": "${(item.node.properties["trx:repositoryId"])!(server.id)}",
+ "site": "${item.location.site!""}",
+ "siteTitle": "${item.location.siteTitle!""}",
+ "container": "${item.location.container!""}",
+ "path": "${item.location.path!""}",
+ "file": "${item.location.file!""}",
+ "parent":
+ {
+ <#if item.location.parent??>
+ <#if item.location.parent.nodeRef??>
+ "nodeRef": "${item.location.parent.nodeRef!""}"
+ #if>
+ #if>
+ }
+ }
+ }
+ <#if item_has_next>,#if>
+ #list>
+ ]
+}
+#escape>
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/sign/sign.post.desc.xml b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/sign/sign.post.desc.xml
new file mode 100644
index 0000000..adf33d7
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/sign/sign.post.desc.xml
@@ -0,0 +1,8 @@
+
+ Sign document
+ Sign document
+ /api/digitalSigning/sign
+ extension
+ user
+ required
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/sign/sign.post.js b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/sign/sign.post.js
new file mode 100644
index 0000000..68610a2
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/sign/sign.post.js
@@ -0,0 +1,68 @@
+try {
+ var jsonObject = jsonUtils.toObject(requestbody.content);
+
+ var document = jsonObject.document;
+ var destination = jsonObject.pathNodeRef;
+ var keyPassword = jsonObject.password;
+ var reason = jsonObject.reason;
+ var location = jsonObject.location;
+ var contact = jsonObject.contact;
+ var position = jsonObject.position;
+ var field = jsonObject.field;
+ var page = jsonObject.page;
+ //var locationX = jsonObject.locationX;
+ //var locationY = jsonObject.locationY;
+ //var marginX = jsonObject.marginX;
+ //var marginY = jsonObject.marginY;
+ //var height = jsonObject.height;
+ //var width = jsonObject.width;
+ var pageNumber = jsonObject.pageNumber;
+ var depth = "over";
+
+ var parameters = new Object();
+ parameters.keyPassword=keyPassword;
+ parameters.document=document;
+ parameters.destination=destination;
+ parameters.reason=reason;
+ parameters.location=location;
+ parameters.contact=contact;
+ parameters.position=position;
+ parameters.field=field;
+ parameters.page=page;
+
+ if (jsonObject.locationX != null) {
+ parameters.locationX=jsonObject.locationX;
+ }
+ if (jsonObject.locationY != null) {
+ parameters.locationY=jsonObject.locationY;
+ }
+ if (jsonObject.marginX != null) {
+ parameters.marginX=jsonObject.marginX;
+ }
+ if (jsonObject.marginY != null) {
+ parameters.marginY=jsonObject.marginY;
+ }
+ if (jsonObject.height != null) {
+ parameters.height=jsonObject.height;
+ }
+ if (jsonObject.width != null) {
+ parameters.width=jsonObject.width;
+ }
+
+ parameters.depth=depth;
+ parameters.pageNumber=pageNumber;
+ if (jsonObject.detachedSignature != null) {
+ parameters.detachedSignature=jsonObject.detachedSignature;
+ }
+
+ if (jsonObject.transformInPdfA != null) {
+ parameters.transformInPdfA=jsonObject.transformInPdfA;
+ }
+
+
+ digitalSigning.sign(parameters);
+ model.result = "success";
+} catch (e) {
+ model.result = "error";
+ model.error = (e.javaException == null ? e.rhinoException.message : e.javaException.message);
+}
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/sign/sign.post.json.ftl b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/sign/sign.post.json.ftl
new file mode 100644
index 0000000..9cc7e5f
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/sign/sign.post.json.ftl
@@ -0,0 +1,8 @@
+<#escape x as jsonUtils.encodeJSONString(x)>
+{
+ "result":"${result}"
+ <#if error??>
+ ,"error":"${error}"
+ #if>
+}
+#escape>
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/chooseAlias.post.desc.xml b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/chooseAlias.post.desc.xml
new file mode 100644
index 0000000..d89ffd1
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/chooseAlias.post.desc.xml
@@ -0,0 +1,8 @@
+
+ Save alias chosen
+ Save alias chosen
+ /api/digitalSigning/chooseAlias
+ extension
+ user
+ required
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/chooseAlias.post.html.ftl b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/chooseAlias.post.html.ftl
new file mode 100644
index 0000000..6d9d6e5
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/chooseAlias.post.html.ftl
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/chooseAlias.post.json.ftl b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/chooseAlias.post.json.ftl
new file mode 100644
index 0000000..723b4db
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/chooseAlias.post.json.ftl
@@ -0,0 +1,31 @@
+<#escape x as jsonUtils.encodeJSONString(x)>
+<#if errorNumber??>
+{
+ "errorNumber":"${errorNumber}"
+ <#if errorMessage??>
+ ,
+ "errorMessage":"${errorMessage}"
+ #if>
+}
+<#else>
+ <#if keyInfos??>
+ {
+ "key":
+ {
+ "alias":"${signingKey.properties["dgtsgn:keyAlias"]}",
+ <#if signingKey.properties["dgtsgn:keySubject"]??>"subject":"${signingKey.properties["dgtsgn:keySubject"]}",#if>
+ "type":"${signingKey.properties["dgtsgn:keyType"]}",
+ "algorithm":"${signingKey.properties["dgtsgn:keyAlgorithm"]}",
+ "firstDayValidity":"${signingKey.properties["dgtsgn:keyFirstValidity"]?string("dd-MM-yyyy HH:mm:ss")}",
+ "lastDayValidity":"${signingKey.properties["dgtsgn:keyLastValidity"]?string("dd-MM-yyyy HH:mm:ss")}",
+ "alert":"${signingKey.properties["dgtsgn:keyAlert"]}",
+ "hasExpired":${keyInfos.hasExpired?string("true","false")}
+ <#if keyInfos.expire??>
+ ,"expire":"${keyInfos.expire}"
+ #if>
+ },
+ "hasImage": ${hasImage?string("true","false")}
+ }
+ #if>
+#if>
+#escape>
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/delete.post.desc.xml b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/delete.post.desc.xml
new file mode 100644
index 0000000..6cf2a31
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/delete.post.desc.xml
@@ -0,0 +1,8 @@
+
+ Delete key and image
+ Delete key and image
+ /api/digitalSigning/delete
+ extension
+ user
+ required
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/delete.post.json.ftl b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/delete.post.json.ftl
new file mode 100644
index 0000000..1a8f94b
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/delete.post.json.ftl
@@ -0,0 +1,11 @@
+<#escape x as jsonUtils.encodeJSONString(x)>
+<#if errorNumber??>
+{
+ "errorNumber":"${errorNumber}"
+ <#if errorMessage??>
+ ,
+ "errorMessage":"${errorMessage}"
+ #if>
+}
+#if>
+#escape>
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/upload.post.desc.xml b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/upload.post.desc.xml
new file mode 100644
index 0000000..54cd441
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/upload.post.desc.xml
@@ -0,0 +1,8 @@
+
+ Key and image upload
+ Key and image upload
+ /api/digitalSigning/upload
+ extension
+ user
+ required
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/upload.post.html.ftl b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/upload.post.html.ftl
new file mode 100644
index 0000000..7e2502d
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/upload.post.html.ftl
@@ -0,0 +1,3 @@
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/upload.post.json.ftl b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/upload.post.json.ftl
new file mode 100644
index 0000000..c6da084
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/upload/upload.post.json.ftl
@@ -0,0 +1,17 @@
+<#escape x as jsonUtils.encodeJSONString(x)>
+<#if errorNumber??>
+{
+ "errorNumber":"${errorNumber}"
+ <#if errorMessage??>
+ ,
+ "errorMessage":"${errorMessage}"
+ #if>
+}
+<#else>
+ <#if aliasList??>
+ {
+ "aliasList": "${aliasList}"
+ }
+ #if>
+#if>
+#escape>
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/verify/verify.get.desc.xml b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/verify/verify.get.desc.xml
new file mode 100644
index 0000000..26c5599
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/verify/verify.get.desc.xml
@@ -0,0 +1,8 @@
+
+ Verify
+ Verify signature of a document
+ /api/digitalSigning/verify
+ argument
+ user
+ internal
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/verify/verify.get.js b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/verify/verify.get.js
new file mode 100644
index 0000000..a3f115a
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/verify/verify.get.js
@@ -0,0 +1,18 @@
+var keyPassword = args["password"];
+var noderef = args["noderef"];
+
+if (keyPassword == null) {
+ status.setCode(status.STATUS_BAD_REQUEST, "password parameter is not present");
+ return;
+}
+if (noderef == null) {
+ status.setCode(status.STATUS_BAD_REQUEST, "noderef parameter is not present");
+ return;
+}
+
+var parameters = new Object();
+parameters.keyPassword=keyPassword;
+parameters.document=noderef;
+
+var results = digitalSigning.verify(parameters);
+model.results = results;
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/verify/verify.get.json.ftl b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/verify/verify.get.json.ftl
new file mode 100644
index 0000000..e32d592
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/extension/templates/webscripts/org/alfresco/plugin/digitalSigning/webscript/verify/verify.get.json.ftl
@@ -0,0 +1,26 @@
+<#escape x as jsonUtils.encodeJSONString(x)>
+{
+ "results":
+ [
+ <#list results as result>
+ {
+ "name":"${result.name}",
+ "signatureCoversWholeDocument":"${result.signatureCoversWholeDocument?string("true","false")}",
+ "revision":"${result.revision}",
+ "totalRevision":"${result.totalRevision}",
+ "isSignValid":"${result.isSignValid?string("true","false")}",
+ "failReason":"${result.failReason}",
+ "signReason":"${result.signReason}",
+ "signLocation":"${result.signLocation}",
+ "signDate":"${result.signDate?datetime}",
+ "signName":"${result.signName}",
+ "signVersion":"${result.signVersion}",
+ "signInformationVersion":"${result.signInformationVersion}",
+ "signSubject":"${result.signSubject}",
+ "isDocumentModified":"${result.isDocumentModified?string("true","false")}"
+ }
+ <#if result_has_next>,#if>
+ #list>
+ ]
+}
+#escape>
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/digitalSigning.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/digitalSigning.properties
new file mode 100644
index 0000000..8fb2019
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/digitalSigning.properties
@@ -0,0 +1 @@
+digitalSigning.alert.cron=0 0 12 * * ?
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/log4j.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/log4j.properties
new file mode 100644
index 0000000..6729930
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/log4j.properties
@@ -0,0 +1,27 @@
+#-----------------------------------------------------------------------
+# digitalSigning module log4j.properties
+#
+# NOTE
+# ----
+# Log4j uses the following logging levels:
+# debug,info,warn,error,fatal
+#
+# To set the logging level of {fullClassName} to {loglevel},
+# add a line to this file of the following form:
+#
+# log4j.logger.{fullClassName}={loglevel}
+#
+# For example, to make 'com.example.MyExample' produce 'debug'
+# logs, add a line like this:
+#
+# log4j.logger.com.example.MyExample=debug
+#
+#
+# WARNING
+# -------
+# Log properties in this log4j.properties file override/augment
+# those in the webapp's main log4j.properties.
+#
+#-----------------------------------------------------------------------
+
+log4j.logger.org.alfresco.plugin.digitalSigning=debug
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages.properties
new file mode 100644
index 0000000..e538b94
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages.properties
@@ -0,0 +1 @@
+mail.subject=Signing key expiration alert
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_en.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_en.properties
new file mode 100644
index 0000000..e538b94
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_en.properties
@@ -0,0 +1 @@
+mail.subject=Signing key expiration alert
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_es.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_es.properties
new file mode 100644
index 0000000..84aaf76
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_es.properties
@@ -0,0 +1 @@
+mail.subject=Notificación de expiración del Certificado de firma electrónica
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_fr_FR.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_fr_FR.properties
new file mode 100644
index 0000000..307d365
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_fr_FR.properties
@@ -0,0 +1 @@
+mail.subject=Alerte d'expiration de la clef de signature
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_ru.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_ru.properties
new file mode 100644
index 0000000..28d63b8
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_ru.properties
@@ -0,0 +1 @@
+mail.subject=\u0423\u0432\u0435\u0434\u043E\u043C\u043B\u0435\u043D\u0438\u0435 \u043E\u0431 \u0438\u0441\u0442\u0435\u0447\u0435\u043D\u0438\u0438 \u043A\u043B\u044E\u0447\u0430
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_sv.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_sv.properties
new file mode 100644
index 0000000..afef6cf
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/alert-messages_sv.properties
@@ -0,0 +1 @@
+mail.subject=Din signaturnyckels gilithetstid h\u00e5ller p\u00e5 att g\u00e5 ut
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages.properties
new file mode 100644
index 0000000..27d91ca
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages.properties
@@ -0,0 +1,3 @@
+signing-action.title=Sign the document
+signing-action.description=Sign the document
+signing-action.summary=Sign the document
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_en.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_en.properties
new file mode 100644
index 0000000..27d91ca
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_en.properties
@@ -0,0 +1,3 @@
+signing-action.title=Sign the document
+signing-action.description=Sign the document
+signing-action.summary=Sign the document
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_es.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_es.properties
new file mode 100644
index 0000000..3441452
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_es.properties
@@ -0,0 +1,3 @@
+signing-action.title=Firmar el documento
+signing-action.description=Aplicar firma electronica al documento
+signing-action.summary=Firmar el documento
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_fr_FR.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_fr_FR.properties
new file mode 100644
index 0000000..ce8e169
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_fr_FR.properties
@@ -0,0 +1,3 @@
+signing-action.title=Signer le document
+signing-action.description=Signer le document
+signing-action.summary=Signer le document
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_ru.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_ru.properties
new file mode 100644
index 0000000..06426fc
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_ru.properties
@@ -0,0 +1,3 @@
+signing-action.title=\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442
+signing-action.description=\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442
+signing-action.summary=\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u0442\u044C \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_sv.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_sv.properties
new file mode 100644
index 0000000..de55987
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/digitalSigning-action-messages_sv.properties
@@ -0,0 +1,3 @@
+signing-action.title=Signera dokumentet
+signing-action.description=Signera dokumentet
+signing-action.summary=Signera dokumentet
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages.properties
new file mode 100644
index 0000000..8827eeb
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages.properties
@@ -0,0 +1,31 @@
+#aspect signed
+dgtsgn_model.aspect.dgtsgn_signed.title=Signed document
+dgtsgn_model.aspect.dgtsgn_signed.description=Signed document
+dgtsgn_model.property.dgtsgn_signedby.title=Signed by
+dgtsgn_model.property.dgtsgn_signedbye.description=Signed by
+dgtsgn_model.property.dgtsgn_signaturedate.title=Signature date
+dgtsgn_model.property.dgtsgn_signaturedate.description=Signature date
+dgtsgn_model.property.dgtsgn_location.title=Location
+dgtsgn_model.property.dgtsgn_location.description=Location
+dgtsgn_model.property.dgtsgn_reason.title=Reason
+dgtsgn_model.property.dgtsgn_reason.description=Reason
+dgtsgn_model.property.dgtsgn_validity.title=Validity
+dgtsgn_model.property.dgtsgn_validity.description=Validity
+
+dgtsgn_model.aspect.dgtsgn_key.title=Key
+dgtsgn_model.aspect.dgtsgn_key.description=Key
+dgtsgn_model.property.dgtsgn_keyType.title=Type
+dgtsgn_model.property.dgtsgn_keyType.description=Type
+dgtsgn_model.property.dgtsgn_keyAlias.title=Alias
+dgtsgn_model.property.dgtsgn_keyAlias.description=Alias
+dgtsgn_model.property.dgtsgn_keySubject.title=Subject
+dgtsgn_model.property.dgtsgn_keySubject.description=Subject
+dgtsgn_model.property.dgtsgn_keyFirstValidity.title=First day validity
+dgtsgn_model.property.dgtsgn_keyFirstValidity.description=First day validity
+dgtsgn_model.property.dgtsgn_keyLastValidity.title=Last day validity
+dgtsgn_model.property.dgtsgn_keyLastValidity.description=Last day validity
+dgtsgn_model.property.dgtsgn_keyAlgorithm.title=Algorithm
+dgtsgn_model.property.dgtsgn_keyAlgorithm.description=Algorithm
+
+dgtsgn_model.aspect.dgtsgnn_image.title=Image
+dgtsgn_model.aspect.dgtsgn_image.description=Image
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_en.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_en.properties
new file mode 100644
index 0000000..8827eeb
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_en.properties
@@ -0,0 +1,31 @@
+#aspect signed
+dgtsgn_model.aspect.dgtsgn_signed.title=Signed document
+dgtsgn_model.aspect.dgtsgn_signed.description=Signed document
+dgtsgn_model.property.dgtsgn_signedby.title=Signed by
+dgtsgn_model.property.dgtsgn_signedbye.description=Signed by
+dgtsgn_model.property.dgtsgn_signaturedate.title=Signature date
+dgtsgn_model.property.dgtsgn_signaturedate.description=Signature date
+dgtsgn_model.property.dgtsgn_location.title=Location
+dgtsgn_model.property.dgtsgn_location.description=Location
+dgtsgn_model.property.dgtsgn_reason.title=Reason
+dgtsgn_model.property.dgtsgn_reason.description=Reason
+dgtsgn_model.property.dgtsgn_validity.title=Validity
+dgtsgn_model.property.dgtsgn_validity.description=Validity
+
+dgtsgn_model.aspect.dgtsgn_key.title=Key
+dgtsgn_model.aspect.dgtsgn_key.description=Key
+dgtsgn_model.property.dgtsgn_keyType.title=Type
+dgtsgn_model.property.dgtsgn_keyType.description=Type
+dgtsgn_model.property.dgtsgn_keyAlias.title=Alias
+dgtsgn_model.property.dgtsgn_keyAlias.description=Alias
+dgtsgn_model.property.dgtsgn_keySubject.title=Subject
+dgtsgn_model.property.dgtsgn_keySubject.description=Subject
+dgtsgn_model.property.dgtsgn_keyFirstValidity.title=First day validity
+dgtsgn_model.property.dgtsgn_keyFirstValidity.description=First day validity
+dgtsgn_model.property.dgtsgn_keyLastValidity.title=Last day validity
+dgtsgn_model.property.dgtsgn_keyLastValidity.description=Last day validity
+dgtsgn_model.property.dgtsgn_keyAlgorithm.title=Algorithm
+dgtsgn_model.property.dgtsgn_keyAlgorithm.description=Algorithm
+
+dgtsgn_model.aspect.dgtsgnn_image.title=Image
+dgtsgn_model.aspect.dgtsgn_image.description=Image
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_es.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_es.properties
new file mode 100644
index 0000000..b60f130
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_es.properties
@@ -0,0 +1,31 @@
+#aspect signed
+dgtsgn_model.aspect.dgtsgn_signed.title=Documento Firmado
+dgtsgn_model.aspect.dgtsgn_signed.description=Documento Firmado digitalmente
+dgtsgn_model.property.dgtsgn_signedby.title=Firmado por
+dgtsgn_model.property.dgtsgn_signedbye.description=Documento Firmado digitalmente por
+dgtsgn_model.property.dgtsgn_signaturedate.title=Fecha de firmado
+dgtsgn_model.property.dgtsgn_signaturedate.description=Fecha de firmado
+dgtsgn_model.property.dgtsgn_location.title=Ubicacion
+dgtsgn_model.property.dgtsgn_location.description=Ubicacion
+dgtsgn_model.property.dgtsgn_reason.title=Razón
+dgtsgn_model.property.dgtsgn_reason.description=Razón
+dgtsgn_model.property.dgtsgn_validity.title=Validez
+dgtsgn_model.property.dgtsgn_validity.description=Validez de la firma
+
+dgtsgn_model.aspect.dgtsgn_key.title=Clave(llave)
+dgtsgn_model.aspect.dgtsgn_key.description=Clave(llave)
+dgtsgn_model.property.dgtsgn_keyType.title=Tipo
+dgtsgn_model.property.dgtsgn_keyType.description=Tipo
+dgtsgn_model.property.dgtsgn_keyAlias.title=Alias
+dgtsgn_model.property.dgtsgn_keyAlias.description=Alias
+dgtsgn_model.property.dgtsgn_keySubject.title=Asunto
+dgtsgn_model.property.dgtsgn_keySubject.description=Asunto
+dgtsgn_model.property.dgtsgn_keyFirstValidity.title=Primer Dia de Validez
+dgtsgn_model.property.dgtsgn_keyFirstValidity.description=Primer Dia de Validez
+dgtsgn_model.property.dgtsgn_keyLastValidity.title=Ultimo Dia de Validez
+dgtsgn_model.property.dgtsgn_keyLastValidity.description=Ultimo Dia de Validez
+dgtsgn_model.property.dgtsgn_keyAlgorithm.title=Algoritmo
+dgtsgn_model.property.dgtsgn_keyAlgorithm.description=Algoritmo de encriptación
+
+dgtsgn_model.aspect.dgtsgnn_image.title=Imagen
+dgtsgn_model.aspect.dgtsgn_image.description=Imagen
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_fr_FR.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_fr_FR.properties
new file mode 100644
index 0000000..3b58ecf
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_fr_FR.properties
@@ -0,0 +1,31 @@
+#aspect signed
+dgtsgn_model.aspect.dgtsgn_signed.title=Document sign�
+dgtsgn_model.aspect.dgtsgn_signed.description=Document sign�
+dgtsgn_model.property.dgtsgn_signedby.title=Sign� par
+dgtsgn_model.property.dgtsgn_signedbye.description=Sign� par
+dgtsgn_model.property.dgtsgn_signaturedate.title=Date de signature
+dgtsgn_model.property.dgtsgn_signaturedate.description=Date de signature
+dgtsgn_model.property.dgtsgn_location.title=Localisation
+dgtsgn_model.property.dgtsgn_location.description=Localisation
+dgtsgn_model.property.dgtsgn_reason.title=Raison
+dgtsgn_model.property.dgtsgn_reason.description=Raison
+dgtsgn_model.property.dgtsgn_validity.title=Validit�
+dgtsgn_model.property.dgtsgn_validity.description=Validit�
+
+dgtsgn_model.aspect.dgtsgn_key.title=Clef
+dgtsgn_model.aspect.dgtsgn_key.description=Clef
+dgtsgn_model.property.dgtsgn_keyType.title=Type
+dgtsgn_model.property.dgtsgn_keyType.description=Type
+dgtsgn_model.property.dgtsgn_keyAlias.title=Alias
+dgtsgn_model.property.dgtsgn_keyAlias.description=Alias
+dgtsgn_model.property.dgtsgn_keySubject.title=Sujet
+dgtsgn_model.property.dgtsgn_keySubject.description=Sujet
+dgtsgn_model.property.dgtsgn_keyFirstValidity.title=Premier jour de validit�
+dgtsgn_model.property.dgtsgn_keyFirstValidity.description=Premier jour de validit�
+dgtsgn_model.property.dgtsgn_keyLastValidity.title=Dernier jour de validit�
+dgtsgn_model.property.dgtsgn_keyLastValidity.description=Dernier jour de validit�
+dgtsgn_model.property.dgtsgn_keyAlgorithm.title=Algorithme
+dgtsgn_model.property.dgtsgn_keyAlgorithm.description=Algorithme
+
+dgtsgn_model.aspect.dgtsgn_image.title=Image
+dgtsgn_model.aspect.dgtsgn_image.description=Image
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_ru.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_ru.properties
new file mode 100644
index 0000000..a602e1a
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_ru.properties
@@ -0,0 +1,31 @@
+#aspect signed
+dgtsgn_model.aspect.dgtsgn_signed.title=\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u043D\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442
+dgtsgn_model.aspect.dgtsgn_signed.description=\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u043D\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442
+dgtsgn_model.property.dgtsgn_signedby.title=\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u043D
+dgtsgn_model.property.dgtsgn_signedbye.description=\u041F\u043E\u0434\u043F\u0438\u0441\u0430\u043D
+dgtsgn_model.property.dgtsgn_signaturedate.title=\u0414\u0430\u0442\u0430 \u043F\u043E\u0434\u043F\u0438\u0441\u0430\u043D\u0438\u044F
+dgtsgn_model.property.dgtsgn_signaturedate.description=\u0414\u0430\u0442\u0430 \u043F\u043E\u0434\u043F\u0438\u0441\u0438
+dgtsgn_model.property.dgtsgn_location.title=\u0420\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435
+dgtsgn_model.property.dgtsgn_location.description=\u0420\u0430\u0441\u043F\u043E\u043B\u043E\u0436\u0435\u043D\u0438\u0435
+dgtsgn_model.property.dgtsgn_reason.title=\u041F\u0440\u0438\u0447\u0438\u043D\u0430
+dgtsgn_model.property.dgtsgn_reason.description=\u041F\u0440\u0438\u0447\u0438\u043D\u0430
+dgtsgn_model.property.dgtsgn_validity.title=\u041F\u043E\u0434\u043B\u0438\u043D\u043D\u043E\u0441\u0442\u044C
+dgtsgn_model.property.dgtsgn_validity.description=\u041F\u043E\u0434\u043B\u0438\u043D\u043D\u043E\u0441\u0442\u044C
+
+dgtsgn_model.aspect.dgtsgn_key.title=\u041A\u043B\u044E\u0447
+dgtsgn_model.aspect.dgtsgn_key.description=\u041A\u043B\u044E\u0447
+dgtsgn_model.property.dgtsgn_keyType.title=\u0422\u0438\u043F
+dgtsgn_model.property.dgtsgn_keyType.description=\u0422\u0438\u043F
+dgtsgn_model.property.dgtsgn_keyAlias.title=\u041F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C
+dgtsgn_model.property.dgtsgn_keyAlias.description=\u041F\u0441\u0435\u0432\u0434\u043E\u043D\u0438\u043C
+dgtsgn_model.property.dgtsgn_keySubject.title=\u0421\u0443\u0431\u044A\u0435\u043A\u0442
+dgtsgn_model.property.dgtsgn_keySubject.description=\u0421\u0443\u0431\u044A\u0435\u043A\u0442
+dgtsgn_model.property.dgtsgn_keyFirstValidity.title=\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D \u0441:
+dgtsgn_model.property.dgtsgn_keyFirstValidity.description=\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D \u0441:
+dgtsgn_model.property.dgtsgn_keyLastValidity.title=\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D \u0434\u043E:
+dgtsgn_model.property.dgtsgn_keyLastValidity.description=\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u0435\u043D \u0434\u043E:
+dgtsgn_model.property.dgtsgn_keyAlgorithm.title=\u0410\u043B\u0433\u043E\u0440\u0438\u0442\u043C
+dgtsgn_model.property.dgtsgn_keyAlgorithm.description=\u0410\u043B\u0433\u043E\u0440\u0438\u0442\u043C
+
+dgtsgn_model.aspect.dgtsgnn_image.title=\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435
+dgtsgn_model.aspect.dgtsgn_image.description=\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_sv.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_sv.properties
new file mode 100644
index 0000000..5075c44
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages_sv.properties
@@ -0,0 +1,31 @@
+#aspect signed
+dgtsgn_model.aspect.dgtsgn_signed.title=Signerat dokument
+dgtsgn_model.aspect.dgtsgn_signed.description=Signerat dokument
+dgtsgn_model.property.dgtsgn_signedby.title=Signerat av
+dgtsgn_model.property.dgtsgn_signedbye.description=Signerat av
+dgtsgn_model.property.dgtsgn_signaturedate.title=Signeringsdatum
+dgtsgn_model.property.dgtsgn_signaturedate.description=Signeringsdatum
+dgtsgn_model.property.dgtsgn_location.title=Plats
+dgtsgn_model.property.dgtsgn_location.description=Plats
+dgtsgn_model.property.dgtsgn_reason.title=Orsak
+dgtsgn_model.property.dgtsgn_reason.description=Orsak
+dgtsgn_model.property.dgtsgn_validity.title=Giltighet
+dgtsgn_model.property.dgtsgn_validity.description=Giltighet
+
+dgtsgn_model.aspect.dgtsgn_key.title=Nyckel
+dgtsgn_model.aspect.dgtsgn_key.description=Nyckel
+dgtsgn_model.property.dgtsgn_keyType.title=Typ
+dgtsgn_model.property.dgtsgn_keyType.description=Typ
+dgtsgn_model.property.dgtsgn_keyAlias.title=Alias
+dgtsgn_model.property.dgtsgn_keyAlias.description=Alias
+dgtsgn_model.property.dgtsgn_keySubject.title=\u00c4mne
+dgtsgn_model.property.dgtsgn_keySubject.description=\u00c4mne
+dgtsgn_model.property.dgtsgn_keyFirstValidity.title=F\u00f6rsta giltighetsdatum
+dgtsgn_model.property.dgtsgn_keyFirstValidity.description=F\u00f6rsta giltighetsdatum
+dgtsgn_model.property.dgtsgn_keyLastValidity.title=Sista giltighetsdatum
+dgtsgn_model.property.dgtsgn_keyLastValidity.description=Sista giltighetsdatum
+dgtsgn_model.property.dgtsgn_keyAlgorithm.title=Algoritm
+dgtsgn_model.property.dgtsgn_keyAlgorithm.description=Algoritm
+
+dgtsgn_model.aspect.dgtsgnn_image.title=Bild
+dgtsgn_model.aspect.dgtsgn_image.description=Bild
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/model/digitalSigningModel.xml b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/model/digitalSigningModel.xml
new file mode 100644
index 0000000..298ae09
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/model/digitalSigningModel.xml
@@ -0,0 +1,120 @@
+
+
+
+
+ Digital Signing Content Model
+ Emmanuel ROUX
+ 1.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Signed
+
+
+ Signed By
+ d:text
+
+
+ Signature Date
+ d:datetime
+
+
+ Location
+ d:text
+
+
+ Reason
+ d:text
+
+
+ Validity
+ d:date
+
+
+ Original doc
+ d:noderef
+
+
+
+
+
+ Key
+
+
+ Type
+ d:text
+
+
+ Alias
+ d:text
+
+
+ Subject
+ d:text
+
+
+ First day validity
+ d:date
+
+
+ Last day validity
+ d:date
+
+
+ Algorithm
+ d:text
+
+
+ Alert
+ d:text
+
+
+ Alert
+ d:boolean
+
+
+ Secret
+ d:encrypted
+ true
+
+
+
+
+
+
+ Image
+
+
+
+
+
+ Signed documents
+
+
+ Related signed doc
+
+ false
+ true
+
+
+ cm:content
+ false
+ true
+
+
+
+
+
+
+
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/module-context.xml b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/module-context.xml
new file mode 100644
index 0000000..ee71b37
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/module-context.xml
@@ -0,0 +1,303 @@
+
+
+
+
+
+
+ true
+
+
+ true
+
+
+
+ classpath:alfresco/module/digitalSigningAlfresco/digitalSigning.properties
+
+
+
+
+
+
+
+
+ alfresco/module/digitalSigningAlfresco/model/digitalSigningModel.xml
+
+
+
+
+ alfresco/module/digitalSigningAlfresco/messages/signingContentModel-messages
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ digitalSigning
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ ${mail.from.default}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/module.properties b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/module.properties
new file mode 100644
index 0000000..4f8c13a
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/module.properties
@@ -0,0 +1,47 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
+
+# SDK Sample module
+
+# ==== Beginning of Alfresco required/optional properties ====== #
+# NB: These properties are filtered at build time by Maven, single
+# sourcing from POM properties
+module.id=digitalSigningAlfresco
+#module.aliases=myModule-123, my-module
+module.title=Alfresco Digital Signing Plugin
+module.description=Alfresco Digital Signing Plugin
+module.version=1.2.1-20190902.152217
+# The following optional properties can be used to prevent the module from being added
+# to inappropriate versions of the WAR file.
+# module.repo.version.min=2.0
+# module.repo.version.max=2.1
+
+# FIXME: This dependencies should come out of mvn dependencies on amp
+
+# The following describe dependencies on other modules
+# Depends on net.sf.myproject.module.SupportModuleA version 1.2.1 or later
+# module.depends.net.sf.myproject.module.SupportModuleA=1.2.1-*
+# Depends on net.sf.myproject.module.SupportModuleA version 1.2.1 to 2.0
+# module.depends.net.sf.myproject.module.SupportModuleB=1.2.1-2.0
+# Depends on net.sf.myproject.module.SupportModuleC - any version
+# module.depends.net.sf.myproject.module.SupportModuleB=*
+
+
+# ==== End of Alfresco required/optional properties ======= #
+
+
+# ==== Beginning of module required properties/optional ====== #
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert.ftl b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert.ftl
new file mode 100644
index 0000000..d65da68
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert.ftl
@@ -0,0 +1,6 @@
+Hello,
+
+Your signing key expired soon.
+The expiration date is ${expiration?string("dd/MM/yyyy")}
+
+Regards.
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_en.ftl b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_en.ftl
new file mode 100644
index 0000000..d65da68
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_en.ftl
@@ -0,0 +1,6 @@
+Hello,
+
+Your signing key expired soon.
+The expiration date is ${expiration?string("dd/MM/yyyy")}
+
+Regards.
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_es.ftl b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_es.ftl
new file mode 100644
index 0000000..d344fb5
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_es.ftl
@@ -0,0 +1,5 @@
+Hola,
+Tu certificado de firma electrónica vencerá pronto.
+La fecha de vencimiento es: ${expiration?string("dd/MM/yyyy")}
+
+Saludos.
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_fr_FR.ftl b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_fr_FR.ftl
new file mode 100644
index 0000000..5cd9084
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_fr_FR.ftl
@@ -0,0 +1,6 @@
+Bonjour,
+
+Votre clef de signature expire bient�t.
+Elle expire le ${expiration?string("dd/MM/yyyy")}
+
+Cordialement.
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_ru.ftl b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_ru.ftl
new file mode 100644
index 0000000..63d1011
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_ru.ftl
@@ -0,0 +1,7 @@
+Здравствуйте,
+
+Ваш ключ электронной подписи скоро истекает.
+Дата истечения ${expiration?string("dd/MM/yyyy")}
+Обратитесь к администратору для продления ключа.
+
+С наилучшими пожеланиями.
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_sv.ftl b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_sv.ftl
new file mode 100644
index 0000000..6b560c4
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/alfresco/module/digitalSigningAlfresco/templates/keyAlert_sv.ftl
@@ -0,0 +1,6 @@
+Hej,
+
+Din singeringsnyckels giltighetstid upph\u00f6r inom kort.
+Utg\u00e5ngsdatumet \u00e4r ${expiration?string("yyyy--MM-dd")}
+
+MVH
\ No newline at end of file
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/action/SigningActionExecuter.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/action/SigningActionExecuter.class
new file mode 100644
index 0000000..8e41929
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/action/SigningActionExecuter.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/DigitalSigningDTO.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/DigitalSigningDTO.class
new file mode 100644
index 0000000..3d79451
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/DigitalSigningDTO.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/KeyInfoDTO.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/KeyInfoDTO.class
new file mode 100644
index 0000000..6a31eaf
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/KeyInfoDTO.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/VerifyResultDTO.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/VerifyResultDTO.class
new file mode 100644
index 0000000..9b6285a
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/VerifyResultDTO.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/VerifyingDTO.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/VerifyingDTO.class
new file mode 100644
index 0000000..ef0e1a2
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/dto/VerifyingDTO.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/model/SigningConstants.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/model/SigningConstants.class
new file mode 100644
index 0000000..f7ef2b9
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/model/SigningConstants.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/model/SigningModel.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/model/SigningModel.class
new file mode 100644
index 0000000..911cd7c
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/model/SigningModel.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$1.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$1.class
new file mode 100644
index 0000000..0305bc1
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$1.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$2.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$2.class
new file mode 100644
index 0000000..5c8fddc
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$2.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$3.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$3.class
new file mode 100644
index 0000000..9706e63
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$3.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$4.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$4.class
new file mode 100644
index 0000000..90fbe17
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$4.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$5.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$5.class
new file mode 100644
index 0000000..2208c59
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert$5.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert.class
new file mode 100644
index 0000000..ce4480c
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlert.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlertJob.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlertJob.class
new file mode 100644
index 0000000..05040e4
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/scheduledAction/CertificateAlertJob.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/script/SigningServiceScript.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/script/SigningServiceScript.class
new file mode 100644
index 0000000..111c490
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/script/SigningServiceScript.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/CreatePDFAExt.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/CreatePDFAExt.class
new file mode 100644
index 0000000..00f8ae5
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/CreatePDFAExt.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/DigestAlgorithm$Registry.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/DigestAlgorithm$Registry.class
new file mode 100644
index 0000000..f12a3fc
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/DigestAlgorithm$Registry.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/DigestAlgorithm.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/DigestAlgorithm.class
new file mode 100644
index 0000000..d7c95d6
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/DigestAlgorithm.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/SigningService.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/SigningService.class
new file mode 100644
index 0000000..f02072e
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/SigningService.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB Color Space Profile.icm b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB Color Space Profile.icm
new file mode 100644
index 0000000..7dd3c76
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB Color Space Profile.icm differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB Color Space Profile.icm.LICENSE.txt b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB Color Space Profile.icm.LICENSE.txt
new file mode 100644
index 0000000..9b817e3
--- /dev/null
+++ b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB Color Space Profile.icm.LICENSE.txt
@@ -0,0 +1,14 @@
+Obtained from: http://www.srgb.com/usingsrgb.html
+
+The file "sRGB Color Space Profile.icm" is:
+Copyright (c) 1998 Hewlett-Packard Company
+
+To anyone who acknowledges that the file "sRGB Color Space Profile.icm"
+is provided "AS IS" WITH NO EXPRESS OR IMPLIED WARRANTY:
+permission to use, copy and distribute this file for any purpose is hereby
+granted without fee, provided that the file is not changed including the HP
+copyright notice tag, and that the name of Hewlett-Packard Company not be
+used in advertising or publicity pertaining to distribution of the software
+without specific, written prior permission. Hewlett-Packard Company makes
+no representations about the suitability of this software for any purpose.
+
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB.icc b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB.icc
new file mode 100644
index 0000000..bbb7a4a
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB.icc differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB_CS_profile.icm b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB_CS_profile.icm
new file mode 100644
index 0000000..7dd3c76
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB_CS_profile.icm differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB_CS_profile.icm.ori b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB_CS_profile.icm.ori
new file mode 100644
index 0000000..7dd3c76
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/service/sRGB_CS_profile.icm.ori differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/utils/CryptUtils.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/utils/CryptUtils.class
new file mode 100644
index 0000000..fd1fb75
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/utils/CryptUtils.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/utils/SigningUtils.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/utils/SigningUtils.class
new file mode 100644
index 0000000..091981a
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/utils/SigningUtils.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/ChooseAlias$1.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/ChooseAlias$1.class
new file mode 100644
index 0000000..9e0c447
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/ChooseAlias$1.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/ChooseAlias$2.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/ChooseAlias$2.class
new file mode 100644
index 0000000..04a2051
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/ChooseAlias$2.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/ChooseAlias.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/ChooseAlias.class
new file mode 100644
index 0000000..b9929ab
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/ChooseAlias.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Delete$1.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Delete$1.class
new file mode 100644
index 0000000..49e1533
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Delete$1.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Delete$2.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Delete$2.class
new file mode 100644
index 0000000..0ea7955
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Delete$2.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Delete.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Delete.class
new file mode 100644
index 0000000..207c27f
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Delete.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Image$1.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Image$1.class
new file mode 100644
index 0000000..78a0735
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Image$1.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Image$2.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Image$2.class
new file mode 100644
index 0000000..0700888
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Image$2.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Image.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Image.class
new file mode 100644
index 0000000..c1cd046
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/Image.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable$1.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable$1.class
new file mode 100644
index 0000000..e25ead7
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable$1.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable$2.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable$2.class
new file mode 100644
index 0000000..eb7f0be
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable$2.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable.class
new file mode 100644
index 0000000..14db983
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/IsPdfTransformable.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignUpload$1.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignUpload$1.class
new file mode 100644
index 0000000..4d3fd75
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignUpload$1.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignUpload$2.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignUpload$2.class
new file mode 100644
index 0000000..4fabe89
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignUpload$2.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignUpload.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignUpload.class
new file mode 100644
index 0000000..86a3c62
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignUpload.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignatureInformation$1.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignatureInformation$1.class
new file mode 100644
index 0000000..2c38161
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignatureInformation$1.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignatureInformation$2.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignatureInformation$2.class
new file mode 100644
index 0000000..4141fe7
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignatureInformation$2.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignatureInformation.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignatureInformation.class
new file mode 100644
index 0000000..401f97e
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SignatureInformation.class differ
diff --git a/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SigningWebScript.class b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SigningWebScript.class
new file mode 100644
index 0000000..76d0986
Binary files /dev/null and b/DigitalSigningAlfresco/target/classes/org/alfresco/plugin/digitalSigning/webscript/SigningWebScript.class differ
diff --git a/DigitalSigningAlfresco/target/digitalSigningAlfresco-1.2.1.jar b/DigitalSigningAlfresco/target/digitalSigningAlfresco-1.2.1.jar
new file mode 100644
index 0000000..1b3b24f
Binary files /dev/null and b/DigitalSigningAlfresco/target/digitalSigningAlfresco-1.2.1.jar differ
diff --git a/DigitalSigningAlfresco/target/digitalSigningAlfresco-1.2.5.amp b/DigitalSigningAlfresco/target/digitalSigningAlfresco-1.2.5.amp
new file mode 100644
index 0000000..dfadfaf
Binary files /dev/null and b/DigitalSigningAlfresco/target/digitalSigningAlfresco-1.2.5.amp differ
diff --git a/DigitalSigningAlfresco/target/maven-archiver/pom.properties b/DigitalSigningAlfresco/target/maven-archiver/pom.properties
new file mode 100644
index 0000000..ee02c72
--- /dev/null
+++ b/DigitalSigningAlfresco/target/maven-archiver/pom.properties
@@ -0,0 +1,5 @@
+#Generated by Maven
+#Mon Sep 02 17:22:35 CAT 2019
+version=1.2.1
+groupId=org.alfresco.plugin
+artifactId=digitalSigningAlfresco
diff --git a/DigitalSigningShare/.project b/DigitalSigningShare/.project
new file mode 100644
index 0000000..a2cf2c6
--- /dev/null
+++ b/DigitalSigningShare/.project
@@ -0,0 +1,17 @@
+
+
+ digitalSigningShare
+
+
+
+
+
+ org.eclipse.m2e.core.maven2Builder
+
+
+
+
+
+ org.eclipse.m2e.core.maven2Nature
+
+
diff --git a/DigitalSigningShare/.settings/org.eclipse.core.resources.prefs b/DigitalSigningShare/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..99f26c0
--- /dev/null
+++ b/DigitalSigningShare/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/=UTF-8
diff --git a/DigitalSigningShare/.settings/org.eclipse.m2e.core.prefs b/DigitalSigningShare/.settings/org.eclipse.m2e.core.prefs
new file mode 100644
index 0000000..f897a7f
--- /dev/null
+++ b/DigitalSigningShare/.settings/org.eclipse.m2e.core.prefs
@@ -0,0 +1,4 @@
+activeProfiles=
+eclipse.preferences.version=1
+resolveWorkspaceProjects=true
+version=1
diff --git a/README.md b/README.md
index 0d9e296..5534545 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# DigitalSigning
-Updated to work with Alfresco SDK 3 and Alfresco community 5.2
+Updated to work with Alfresco SDK 4 and Alfresco community 6.1.2
###### [Reminder compatibility the version of sdk with alfresco version](http://docs.alfresco.com/5.1/concepts/alfresco-sdk-compatibility.html)
###### [New compatibility with the SDK 3.0.0](http://ecmarchitect.com/archives/2017/04/24/4235)
@@ -18,6 +18,11 @@ or the following command with the assembly plugin
mvn clean source:jar install package assembly:single
```
+## Realese ###
+
+Modified by Dercioink
+
+
### License
All right of these code belong to rouxemmanuel.