aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter
AgeCommit message (Collapse)AuthorFilesLines
2010-12-06Necessary changes for separation of pdf-as-web and rest of the projectpdanner4-56/+26
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@680 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Removed dependency for VerifyServletpdanner1-2/+29
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@677 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Moved to pdf-as-web projectpdanner11-1674/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@676 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Moved to pdf-as-web projectpdanner8-2616/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@675 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-03Minor updates (log messages...)tknall4-7/+8
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@667 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-01Workaround implemented regarding a bug with RFC2253 names where RDNs were ↵tknall1-4/+211
not resolved at signing time (resulting from a BKU that could not resolve the respective OIDs): e.g. 2.5.4.5=#1306323030383034,CN=Foreigner CA,C=BE The example shows a RDN "2.5.4.5" which should have been resolved to "serialNumber" at signing time. Imagine a line break between "Foreigner" and "CA" within the signature block. After text extraction the Name looks like as follows: 2.5.4.5=#1306323030383034, CN=ForeignerCA,C=BE We recognize that the name shows spaces prior to RDNs and that the space between "Foreigner" and "CA" is missing due to text extraction/reconstruction. The naive approach would be to take the complete RFC2253 name from the certificate, since that name has also been used for signature. But this does not work in some cases because while the BKU was not able to resolve 2.5.4.5 on signing time, the entity invoking pdfas for verification might be at verification time, so that taking the name from certificate on verification time, may not result in the name we had at signing time. This workaround merges information from text extraction with information from the certificate. The method takes all RDNs from the extracted text and merges them with the values from the certificate (considering the case where the textual version shows BER encoded values (e.g. <code>#1306323030383034</code>). git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@665 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-01Since the subject name in the signature block does not affect verification a ↵tknall1-4/+4
more user friendly version is used where escaped Names are already resolved. Instead of strict RFC2253 name "serialNumber=xxx,CN=xxx,OU=xxx,O=x\, xx,C=AT" the following user friendly name ist used: "serialNumber=xxx,CN=xxx,OU=xxx,O=x, xx,C=AT" git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@664 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-01Splitting Names like "serialNumber=xxx,CN=Abteilung,OU=Unterorganisation\, ↵tknall1-3/+15
die der Organisation untergeordnet ist,O=Organisation,C=AT" fixed. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@663 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-01Typo fixedtknall1-3/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@661 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-01improved RDN Map, removed static oid map (java 1.6)pdanner1-49/+16
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@660 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-01fixed override properties for binsig with placeholderspdanner3-7/+39
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@659 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-01added tostringpdanner1-0/+21
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@658 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-30OID-Map added in order to support all commons subject DNstknall1-4/+25
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@655 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@651 ↵pdanner1-0/+4
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@645 ↵pdanner1-2/+3
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@644 ↵pdanner1-2/+2
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29strict checking vor signparam versionspdanner1-3/+18
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@643 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29improved prepareVerifyRequest to disable "default verify"pdanner1-27/+30
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@642 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29improvements for ognlpdanner1-7/+21
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@641 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29improved prepareVerifyRequest to disable "default verify"pdanner1-22/+29
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@640 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added DynamicSignatureProfile supportpdanner1-30/+50
improved collections git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@639 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29improved collectionspdanner1-13/+25
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@638 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added exception result for verifypdanner1-1/+12
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@637 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added override propertiespdanner1-0/+10
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@636 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29fixed some wprinz stuffpdanner1-16/+21
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@635 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added DynamicSignatureProfile supportpdanner3-10/+59
added override properties git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@634 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added DynamicSignatureProfile supportpdanner1-21/+48
added override properties git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@633 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-26Placeholder-image handlingpdanner2-5/+65
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@613 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-26Changes for xmldsig reconstructionpdanner9-111/+221
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@612 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-23Fix for not exactly vertically centered textREL-3.1.1@923pdanner1-0/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@610 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-09signature positioning bugfixpdanner1-251/+36
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@607 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-08added compression for signature update block (excluding xobject, including ↵pdanner1-3/+17
fonts!) added subsetting for pdfa caption font git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@605 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-08added compression for signature update block (excluding xobject, including ↵pdanner1-3/+5
fonts!) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@604 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-08improved alt textpdanner1-29/+7
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@603 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-08git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@602 ↵pdanner1-0/+2
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-04- Added image[valign|halign] config parameters to allow separate alignment ↵pdanner7-37/+120
of images. - Normalization of value cell values does not remove multiple newlines any more git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@601 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-03Bug Nr. #534 fixed. Alignment params are now properly inherited to all table ↵pdanner4-51/+131
cells. Also added the Style params valuevalign and valuehalign to allow separate alignment for value cells. If those are not set value cells are aligned as any other cell. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@600 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-03added alt textpdanner1-4/+37
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@599 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-03added sructcontent/wai supportpdanner1-9/+13
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@598 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-03added sructcontent/wai supportpdanner1-2/+12
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@597 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-02added helper for WAI / struct contentpdanner1-0/+277
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@595 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-10-07Provide profile description via API call.tknall4-10/+9
More logging. WebApp: Bugfix for IE9 (download Link accessed twice) WebApp: Prevent Set-Cookie to be sent to BKU WebApp: Statistical logging added git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@592 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-08-20Internal error passed as RuntimeException instead of being ignored.tknall2-27/+89
PdfAsFactory: Switch implemented that allows to skip provider registration. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@589 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-08-12more loggingtknall10-17/+88
new errorcode for invalid signature dictionary (232) detect invalid signature dictionary detect errors (invalid glyph mappings) when extracting text remove useless certificate digest calculation remove invocation of erroneous getCertDigest method webapp: hotfix for NPE adjustments for new mocca (applet) version (layout) POM: removed deprecated maven elements git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@587 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-04-08minor updates of the web application, more logging added, ↵tknall3-2/+5
default-configuration: a-trust ccs support disabled until bugfixes ccs version is available, pdf-as configuration: small signature profile added git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@581 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-03-16Catching OutOfMemory exceptions, returning appropriate error message/codetknall8-42/+133
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
2010-02-03fixed getCertAlg for old VMsferbas1-1/+5
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@571 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-19- handling protected documents improved.tknall4-6/+15
- minor web application improvements git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@557 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-18- bug fixed (new method v1.2.0 was not accepted by web verification connector)tknall2-5/+5
- minor bugs fixed in error.jsp - updating SIGNATURBLOCK.jsp (-> v1.2.0) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@555 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-15Bug regarding table formatting fixedtknall2-2/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@554 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c