aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov/egiz/sig
AgeCommit message (Collapse)AuthorFilesLines
2013-01-09pdf-as-lib maven project files moved to pdf-as-libtknall65-16930/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/pdf-as/trunk@926 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-11-21Added two new chars to consider at the workaround introduced with the ↵rpiazzi1-1/+3
previous changes git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@882 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-11-18Added workaround because the workaround in ↵rpiazzi1-1/+18
at.gv.egiz.pdfas.impl.signator.binary.BinarySignator_1_0_0.fillReplacesWithValues() caused another problem. For details see the code of this class in the method "getSubjectDNMap()". git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@881 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-11-02Deleted some test-code System.out.printlnrpiazzi1-0/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@879 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-08-19Added SignatureType SIG_SUBJECT that is needed when replacing the signator ↵rpiazzi1-1/+8
name with a static value from the config file git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@792 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
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 fixedtkellner32-34/+31
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@781 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-06-21Merge branch 'license_change'tkellner47-109/+16
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 filestkellner65-262/+1483
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-02-17Source file encoding issues fixed.tknall1-3/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@760 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 ↵tknall3-1/+9
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-01Introducing constants for error codes.tknall1-2/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@741 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Necessary changes for separation of pdf-as-web and rest of the projectpdanner2-25/+11
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@680 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-03Minor updates (log messages...)tknall3-6/+7
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-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 placeholderspdanner2-4/+14
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@659 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-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-26Changes for xmldsig reconstructionpdanner8-110/+220
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@612 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 ↵pdanner2-33/+35
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 loggingtknall2-9/+54
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-02-03fixed getCertAlg for old VMsferbas1-1/+5
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@571 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-18- bug fixed (new method v1.2.0 was not accepted by web verification connector)tknall1-4/+4
- minor bugs fixed in error.jsp - updating SIGNATURBLOCK.jsp (-> v1.2.0) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@555 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-15- fixing bug #411tknall1-3/+3
- fixed invalid verification link in configuration - removed some needless log.info messages git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@553 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-14- Errorcode for unsupported signature method introducedtknall3-7/+4
- 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
2010-01-11- check implemented: responses are validated upon valid SL content ↵tknall2-8/+20
(ErrorResponse, Create|VerifyXMLSignatureResponse) (ErrorCode 340) - new errorcode added (340: unable to receive suitable response) - default signature validation links changed (-> http://www.signaturpruefung.gv.at) - recognition of non-textual objects: static switch implemented allowing to configure behaviour (at compile time) in case of signatures (default behaviour: skip detection of all signatures as non-textual objects) - minor bug fixed: invalid evaluation of response charset resulting in invalid warn debug message - configuration updated - Default configuration updated git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@542 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-14./template -> /templateferbas1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@514 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-14./template -> /templateferbas2-2/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@513 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-14./template -> /templateferbas1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@512 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-14new template loadingferbas1-12/+14
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@511 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-14new template loadingferbas1-8/+10
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@510 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-14Error code created for protected pdf documents.tknall4-4/+14
SettingsReader: Debug message for getInternalResource added (TRACE) multipart/formdata: align multipart charset with data charset added FIXME notes for FileHelper.readFromFile Signature/Verification-Demo updated git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@507 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-10added atrust bku supportferbas1-2/+4
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@499 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c