aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
AgeCommit message (Collapse)AuthorFilesLines
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-01Use user friendly output for Subject and Issuer Nametknall1-2/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@662 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 placeholderspdanner5-49/+93
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-30removed 1.5 depspdanner1-2/+4
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@654 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@650 ↵pdanner1-1/+1
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-29added hasbeencorrected flagpdanner1-0/+11
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@632 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added ognl support for text signpdanner1-1/+31
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@631 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29improved ognl evalpdanner1-0/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@630 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added correction on verifypdanner1-10/+33
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@629 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added exception result for verifypdanner1-0/+10
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@628 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added hasbeencorrected flagpdanner1-2/+20
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@627 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added DynamicSignatureProfile supportpdanner1-4/+36
added override properties git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@626 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29loggingpdanner1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@625 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added hasbeencorrected flagpdanner1-0/+9
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@624 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added datasourceholderpdanner2-8/+38
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@623 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29holder object for datasourcespdanner1-0/+22
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@622 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29fixed some wprinz stuffpdanner1-17/+21
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@621 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added exception result for verifypdanner1-0/+13
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@620 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added override propertiespdanner1-0/+33
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@619 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added DynamicSignatureProfile supportpdanner3-0/+308
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@618 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added hasbeencorrected flagpdanner2-0/+11
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@617 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added DynamicSignatureProfile supportpdanner1-0/+50
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@616 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-26Placeholder-image handlingpdanner9-11/+698
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@613 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-26Changes for xmldsig reconstructionpdanner19-144/+1106
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