aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter
AgeCommit message (Collapse)AuthorFilesLines
2011-08-19Added SIG_SUBJECT as possible SignatureType when replacing signator with ↵rpiazzi1-0/+5
static name inserted as SIG_SUBJECT within config file git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@791 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-06-21Copyright headers fixedtkellner36-38/+35
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@781 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-06-21Merge branch 'license_change'tkellner69-139/+34
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@780 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-06-21License replaced/added in .java filestkellner181-1595/+4048
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@778 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-06-21git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@777 ↵rpiazzi1-0/+7
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-03-07Added errorhandling for replacePlaceholderpdanner1-3/+18
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@776 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-03-07add more defense if link struct cannot be foundpdanner1-5/+9
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@775 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-17preparation for releasetknall1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@763 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-17fixed link overlay text pospdanner1-22/+23
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@762 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-17Source file encoding issues fixed.tknall3-5/+5
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@760 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-15improved link overlay positioningpdanner1-10/+37
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@758 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-15added verify link overlay positionpdanner2-30/+111
switched postion (logo <> sigblock) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@756 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-14- layout spec v1.4.0 addedtknall1-1/+1
- configuration adjusted git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@749 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-11added additional wai/structcontent support: verify link, signature logopdanner3-181/+453
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@748 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-04git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@745 ↵tknall1-1/+1
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
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