From 11b5950be66bcc9d6f0bb28d3fc9d211bc70f4d9 Mon Sep 17 00:00:00 2001 From: tknall Date: Tue, 16 Mar 2010 12:07:29 +0000 Subject: Catching OutOfMemory exceptions, returning appropriate error message/code Binary signature: bug concerning indirect pdf objects fixed SignaturePositioning improved (Signature position can be declared by String which is parsed) Some more error codes (Out of memory, Invalid signature position) iText utility for creation of pdf files added ConfigUtils updated (destination of configuration to be extracted can now be chosen) PDFASUtils updated (more tools) WebApplication: Freetext pdf creation implemented WebApplication: XSS security updates git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@580 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- .../templates/default.bku.verify.template.detached.xml | 14 +++++++++++++- .../default.bku.verify.template.enveloping.old.xml | 7 ++++++- .../templates/default.bku.verify.template.enveloping.xml | 7 ++++++- .../templates/default.moa.verify.template.enveloping.xml | 12 +++++++++++- 4 files changed, 36 insertions(+), 4 deletions(-) (limited to 'src/main/resources/config/templates') diff --git a/src/main/resources/config/templates/default.bku.verify.template.detached.xml b/src/main/resources/config/templates/default.bku.verify.template.detached.xml index 977098a..8948ea2 100644 --- a/src/main/resources/config/templates/default.bku.verify.template.detached.xml +++ b/src/main/resources/config/templates/default.bku.verify.template.detached.xml @@ -1 +1,13 @@ -DigestValueSignedDataReplaceDigestValueSignedPropertiesReplaceSignatureValueReplaceX509CertificateReplaceSigningTimeReplaceDigestValueX509CertificateReplaceX509IssuerNameReplaceX509SerialNumberReplaceMimeTypeReplace \ No newline at end of file + + + + + + +DigestValueSignedDataReplace + +DigestValueSignedPropertiesReplace +SignatureValueReplace +X509CertificateReplace +SigningTimeReplaceDigestValueX509CertificateReplaceX509IssuerNameReplaceX509SerialNumberReplaceMimeTypeReplace + \ No newline at end of file diff --git a/src/main/resources/config/templates/default.bku.verify.template.enveloping.old.xml b/src/main/resources/config/templates/default.bku.verify.template.enveloping.old.xml index 4a8968a..cf64b3b 100644 --- a/src/main/resources/config/templates/default.bku.verify.template.enveloping.old.xml +++ b/src/main/resources/config/templates/default.bku.verify.template.enveloping.old.xml @@ -1 +1,6 @@ -id('signed-data-object-SigDataObjURIReplace')/node()DigestValueSignedDataReplaceid('etsi-data-object-EtsiDataObjURIReplace')/node()DigestValueSignedPropertiesReplaceSignatureValueReplaceX509CertificateReplaceBase64ContentReplaceSigningTimeReplaceDigestValueX509CertificateReplaceX509IssuerNameReplaceX509SerialNumberReplacetext/plain \ No newline at end of file +id('signed-data-object-SigDataObjURIReplace')/node()DigestValueSignedDataReplaceid('etsi-data-object-EtsiDataObjURIReplace')/node()DigestValueSignedPropertiesReplace +SignatureValueReplace +X509CertificateReplace +Base64ContentReplace +SigningTimeReplaceDigestValueX509CertificateReplaceX509IssuerNameReplaceX509SerialNumberReplacetext/plain + \ No newline at end of file diff --git a/src/main/resources/config/templates/default.bku.verify.template.enveloping.xml b/src/main/resources/config/templates/default.bku.verify.template.enveloping.xml index c43a99a..bd30d70 100644 --- a/src/main/resources/config/templates/default.bku.verify.template.enveloping.xml +++ b/src/main/resources/config/templates/default.bku.verify.template.enveloping.xml @@ -1 +1,6 @@ -id('signed-data-object-SigDataObjURIReplace')/node()DigestValueSignedDataReplaceDigestValueSignedPropertiesReplaceSignatureValueReplaceX509CertificateReplaceBase64ContentReplaceSigningTimeReplaceDigestValueX509CertificateReplaceX509IssuerNameReplaceX509SerialNumberReplacetext/plain \ No newline at end of file +id('signed-data-object-SigDataObjURIReplace')/node()DigestValueSignedDataReplaceDigestValueSignedPropertiesReplace +SignatureValueReplace +X509CertificateReplace +Base64ContentReplace +SigningTimeReplaceDigestValueX509CertificateReplaceX509IssuerNameReplaceX509SerialNumberReplacetext/plain + \ No newline at end of file diff --git a/src/main/resources/config/templates/default.moa.verify.template.enveloping.xml b/src/main/resources/config/templates/default.moa.verify.template.enveloping.xml index f04f101..0d4b3db 100644 --- a/src/main/resources/config/templates/default.moa.verify.template.enveloping.xml +++ b/src/main/resources/config/templates/default.moa.verify.template.enveloping.xml @@ -1 +1,11 @@ -DigestValueSignedDataReplaceDigestValueSignedPropertiesReplaceSignatureValueReplaceX509CertificateReplaceBase64ContentReplaceSigningTimeReplaceDigestValueX509CertificateReplaceX509IssuerNameReplaceX509SerialNumberReplacetext/plain \ No newline at end of file + +DigestValueSignedDataReplaceDigestValueSignedPropertiesReplace +SignatureValueReplace + + +X509CertificateReplace + + +Base64ContentReplace +SigningTimeReplaceDigestValueX509CertificateReplaceX509IssuerNameReplaceX509SerialNumberReplacetext/plain + \ No newline at end of file -- cgit v1.2.3