aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
AgeCommit message (Collapse)AuthorFilesLines
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 ↵tknall6-7/+18
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 ↵tknall2-10/+23
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.tknall5-5/+7
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 ↵tknall2-2/+7
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 ↵tknall3-10/+55
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- more loggingtknall5-37/+51
- commandline: signature mode (textual, binary) set optional (setting default mode, equivalent to api usage) - documentation updated git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@736 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-27git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@733 ↵pdanner1-1/+1
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-27- build script for command line version extendedtknall2-17/+3
- 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-27git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@731 ↵pdanner1-3/+15
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
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-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-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 truepdanner1-3/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@704 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-10Changed defaultvalue of enable_placeholder_search config parameter to falsepdanner3-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 ↵pdanner5-67/+27
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-07Added enable_placeholder_search config parameterpdanner1-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 fromtknall1-18/+23
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-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...)tknall8-14/+13
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