aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter
AgeCommit message (Collapse)AuthorFilesLines
2011-02-04git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@744 ↵tknall1-4/+0
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-04- fixed: handling incomplete response from citizen card environment (missing ↵tknall4-2/+10
headers "user-agent" or "Server") - fixed: do not try to delete non-existing file git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@743 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-01New (optional) configuration key introduced that supressed the Exception ↵tknall1-6/+7
when incremental updates without further signatures are found. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@742 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-01Introducing constants for error codes.tknall2-3/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@741 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-01- Bug fixed (placeholder strict mode was not applied when document does not ↵tknall1-1/+1
contain any (valid) placeholder image) - Documentation updated. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@740 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-28Logging in case of too small signature blocks extended (now a warning is ↵tknall1-1/+1
logged regardless the fact WHY a signature block is small (API, Placeholder or Configuration)). The default threshold value is 150. An optional configuration key (global "default.signature_block_width_warning_threshold=xyz" and local per profile "sig_obj.PROFILE.signature_block_width_warning_threshold=xyz") has been added in order to make the threshold configurable (there might be profiles some day that need to be small, e.g. some versions of minimal layout blocks). git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@739 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-27re-enabling /Alt Texttknall1-1/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@737 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-27- build script for command line version extendedtknall1-2/+2
- some developer comments removed - more debug messages - missing message for error code 322 added git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@732 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-24- new reference configurationtknall1-74/+74
- maven2 repository updated git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@727 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-24added manual calculation of parentTreeNextKey because some pdfcreators don't ↵pdanner1-5/+22
build this key as they should git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@725 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-11Useless debug message removed.tknall1-1/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@721 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-16Encoding problem in JavaDoctknall1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@718 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-09moved suppress_validate_exceptions to verifyparameterspdanner1-11/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@698 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-09added suppress_validate_exceptions parameterpdanner1-18/+28
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@695 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
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