aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java
AgeCommit message (Collapse)AuthorFilesLines
2013-01-09pdf-as-lib maven project files moved to pdf-as-libtknall1-2108/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/pdf-as/trunk@926 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-08-30Bug-Fix for EMAIL/EMAILADDRESS problem in ZID documentsrpiazzi1-9/+74
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@799 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-06-21License replaced/added in .java filestkellner1-15/+23
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@778 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-01fixed override properties for binsig with placeholderspdanner1-4/+12
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@659 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-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-04- Added image[valign|halign] config parameters to allow separate alignment ↵pdanner1-2/+3
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 ↵pdanner1-1/+3
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-08-12more loggingtknall1-8/+53
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-01-15Bug regarding table formatting fixedtknall1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@554 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-14- Errorcode for unsupported signature method introducedtknall1-1/+1
- Errorcode for unknown (internal error) introduced - Fixed issue: in case of unexpected error (RunTimeException for instance) the output file was not deleted - Some System.out.println commands replaced by log.debug messages - Typos fixed - "can-break-after" character list extended: "." added - Configuration updated - DefaultConfiguration updated - internal version set to 3.1 in preparation for release - maven2-repository updated (pdfbox-0.7.2-pdfas-2 compiled for log4j) - pdfbox-0.7.2-pdfas-2 updated (some debug messages) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@552 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19set nowrap -> fix #331ferbas1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@446 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13baik: timestamp, /algferbas1-1/+46
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@410 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27parameterized codinghelper with hash methodferbas1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@355 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-17(Default) configuration updated regarding new configuration keys.tknall1-9/+8
Update concerting exclusion of minimal layout profiles for verification. APIDemo updated. Many printStackTraces replaces with logger-messages. Web-Application: New error code (251) introduced: Textual signature of files with no extractable textual content (e.g. files that solely contain images) is prevented. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@293 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-11Serious bug solved. Method storeCertificate tried to fetch a certificate ↵tknall1-3/+11
from store before storing it. If not found (within the store resp. via ldap) the certificate was not stored. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@282 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-04-24Two bug fixed: 1) Unable to find certificate if binary signature does not ↵tknall1-13/+32
contain the serial number; 2) Certificates thoese issuer names contain certain RDNs (e.g. EMAILADDRESS) could not be retrieved from certstore. PDF-AS library version is logged in order to lighten bugfixing. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@258 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-04-02Bug Fix: "XmlRequest" -> "XMLRequest"troessler1-1/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@255 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-03-04SignatureProfile extended in order to retrieve further profile information ↵tknall1-2/+2
via API call. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@251 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-08-27bigfix "add cert when signing"netconomy1-0/+16
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@203 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-08-17Performancenetconomy1-5/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@167 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-26Verification of single signatures now works. Error page (error.jsp) uses CSS ↵knowcenter1-1/+1
formating. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@158 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-24Template Versioning, BKU and MOA 1.1.0 (detached)knowcenter1-9/+0
NOTE: MOA enveloping is still not fixed git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@149 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-07-17git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@134 ↵knowcenter1-0/+9
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-05-24git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@104 ↵tknall1-0/+1
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-05-22git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@96 ↵tknall1-1/+11
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-05-18detached connectorsknowcenter1-16/+20
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@92 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-05-16enveloping connectorsknowcenter1-2/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@81 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-02-07Bugfix: Querformat, BKU 2.7.x, ...tknall1-28/+147
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@35 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2006-12-13ldap support improvedtknall1-5/+27
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@20 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2006-12-13git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@18 ↵tknall1-53/+35
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2006-12-07knowcenter adjustments from 2006-12-01 mergedtknall1-62/+9
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@13 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2006-12-06some FIXMEs and TODOs addedtknall1-1/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@8 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2006-12-01ldap-api support addedtknall1-8/+95
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@6 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2006-12-01Initial import of release 2.2.REL-2.2@923tknall1-0/+1499
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@4 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c