aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2011-01-24- new reference configurationtknall4-77/+83
- 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-11git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@723 ↵tknall1-5/+17
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-11git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@722 ↵tknall1-0/+1
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
2011-01-11Bugfix: TIFF based QR-Codes resulted in NPE.tknall1-1/+13
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@720 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-16maintain JDK 1.4 compatibilitytknall1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@719 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-16git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@717 ↵pdanner1-0/+3
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-16verify(VerifyAfterReconstructXMLDsigParameters) now uses the signatureDevice ↵pdanner3-12/+26
which was used in reconstructXMLDsig(...) if non is set explicitly in the VerifyAfterReconstructXMLDsigParameters git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@716 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-16Moved MATCH_MODE_* constants from SignParameters to Constants.pdanner5-29/+49
Added javadoc and updated Anwendungsbeschreibung git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@715 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-16Changed default values of signParameters.isCheckForPlaceholder() and config ↵pdanner1-0/+0
property enable_placeholder_search git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@714 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-16Changed default values of signParameters.isCheckForPlaceholder() and config ↵pdanner1-5/+11
property enable_placeholder_search git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@713 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-16Changed default values of signParameters.isCheckForPlaceholder() and config ↵pdanner3-17/+32
property enable_placeholder_search git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@711 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-15javadocpdanner3-4/+56
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@710 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-14git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@708 ↵tknall1-3/+8
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-14git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@707 ↵tknall1-3/+15
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-13Minor changes to ease web -> pdf-as handlingpdanner3-15/+31
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@706 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-13git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@705 ↵pdanner3-2/+28
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-10Changed default value of enable_placeholder_check to truepdanner2-3/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@704 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-10POM and m2-repo updated.tknall1-0/+6
SignatureVerificationDemo updated. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@703 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-10Changed defaultvalue of enable_placeholder_search config parameter to falsepdanner4-12/+12
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@702 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-10Removed unnecessary parameters from ↵pdanner6-68/+28
ReconstructXMLDsigAfterAnalysisParameters; Added getReconstructedXMLDsig() method to VerifyResult git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@700 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-09moved suppress_validate_exceptions to verifyparameterspdanner2-11/+27
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-07Updates in order to show how to retrieve reconstructed XMLDSig.tknall1-1/+53
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@694 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-07Added enable_placeholder_search config parameterpdanner2-17/+54
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@692 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-07Updates in order to benefit fromtknall2-18/+32
at.gv.egiz.pdfas.api.verify.VerifyResult.isVerificationDone() at.gv.egiz.pdfas.api.verify.VerifyResult.getVerificationException() git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@691 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Added javadocpdanner2-5/+42
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@689 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@687 ↵pdanner1-70/+60
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@681 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Necessary changes for separation of pdf-as-web and rest of the projectpdanner27-139/+1359
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@680 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Moved to pdf-as-web projectpdanner1-26/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@679 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Moved to pdf-as-web projectpdanner12-1451/+31
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@678 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-06Moved to pdf-as-web projectpdanner52-1788/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@674 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@673 ↵pdanner3-212/+0
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-03Demos updated in order to show new features.tknall3-254/+125
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@669 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-03git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@668 ↵pdanner1-3/+10
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-03Minor updates (log messages...)tknall9-15/+14
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-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