aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov/egiz/pdf
AgeCommit message (Collapse)AuthorFilesLines
2010-01-14- Errorcode for unsupported signature method introducedtknall3-3/+3
- 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-14cleanupferbas1-1/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@551 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-14fixing ognl + linebreakferbas1-1/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@550 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-12fixed linebreak problemferbas2-18/+12
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@543 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-11- check implemented: responses are validated upon valid SL content ↵tknall2-6/+24
(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
2010-01-05added text sig version 1.2.0ferbas1-2/+2
fixed text extraction encoding bug git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@537 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-05added newline \n supportferbas1-1/+18
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@536 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-05narrow sig skipping to Adobe.PDF-AS filterferbas1-2/+31
added debugging git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@535 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-05embed verify url for handlerferbas1-11/+13
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@534 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-21web application: many minor improvements (pdf/a selection for instance)tknall1-1/+14
Adobe signature attribute: added feature allowing configuration of field "reason" configuration updates default configuration updated git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@521 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-15Index for Adobe.PDF-AS Signatures adjustedtknall1-2/+29
Configuration updates Minor bug (Configuration key for adobe sign field was adobeSignFieldName which did not match the key in the configuration) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@519 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-14Error code created for protected pdf documents.tknall1-6/+8
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-10improved nonObjectExtraction. Use per signature basisferbas1-0/+26
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@506 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-10cleanupferbas1-1/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@505 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-10git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@503 ↵ferbas1-2/+4
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-10refactored adobe signature fieldferbas1-112/+12
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@494 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-10adobe signature field helperferbas1-0/+187
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@493 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-04added config property adobeSignTextferbas1-9/+44
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@488 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-03improved adobe sig attribute; SubFilter -> Methodeferbas1-8/+13
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@487 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-02moved nontextobject extraction to objectextractorferbas1-127/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@476 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-02added annotation extraction with pdfbox 0.8.0ferbas1-0/+171
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@475 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-02added adobe sig attributeferbas1-3/+77
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@474 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-26improved exception handlingferbas1-28/+69
added annotation extraction (deactivated, needs pdfbox 0.8.0) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@464 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-7/+100
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@445 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-0/+7
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@444 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13timestamp, pdf/versionferbas1-3/+50
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@408 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13baik: timestamp, /algferbas1-3/+133
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@407 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@406 ↵ferbas1-0/+3
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-09-29Bug concerning text matching algorithm fixed.tknall1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@341 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-09-11Bugfixestknall1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@339 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-03-19Build script for command line version updated.tknall1-2/+2
JavaDoc fixes. Some updates for debugging messages. Parser for MOCCA-CreateXMLSignatureResponses enhanced. Many updates and fixes for the external web app interface. New profile for invisible signatures added. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@333 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-02-04Removing some TODOs, Example to override profile keyidentifier added to APIDemotknall1-5/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@324 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-01-14Switching to itext-2.1.5-rev3628.tknall1-2/+3
itext library: minor adjustments for pdf-as Adding new error code (103) for invalid pdfa/1b font configuration. Minor updates for PDF/A support. Support for local MOCCA CCS added. Multi language for web application. Encoding issue for web application fixed by implementing an EncodingFilter. Dynamic sign upload form implemented. Order of input fields for dynamic upload form changed. MOCCA logo added to sign upload form. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@319 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-01-13changes for configuing pdf/a modegfliess2-8/+54
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@317 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-11-25Minor support for TrueType fonts in preparation of PDF/A added.tknall1-1/+34
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@313 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-10-10Deprecated webapp-folder removed from svn repository.tknall1-0/+1
New DefaultConfiguration.zip integrated in order to allow mocca signatures. Minor bug concerning choice of cce within the web application fixed. Signature with new online bku MOCCA integrated (new signature device "moc" created). Configuration keys for mocca added. New error codes (371 = signature verification not supported by this connector, 372 = invalid signing time) introduced. Optional check of the signing time for the web application implemented. At signature creation time the signing time is checked for plausibility. This is a workaround for the ITS:mac-linux signing time bug. New configuration key ("signing_time_tolerance") added (applies to web application only) to overcome invalid signing times. A signature is only accepted if its signing time is within a time frame of [current time - signing_time_tolerance, current time + signing_time_tolerance] where signing_time_tolerance is interpreted as seconds. Bugfix: Correct extraction of signatures with wrong signing times implemented. (The order of the signatures is still invalid in case of false signing times.) Optional override of the dynamic creation of the signature retrieval url (locrefcontent) implemented in order to overcome ssl problems (retrieve_signature_data_url_override). Note: Assure that this URL is accessible from the citizen card environment. Download of signed pdf-file for external application interface adjusted. Verification of mocca signed documents implemented. Retrieval of xml response via multipart implemented (mocca strictly follows security layer spec) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@296 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-17(Default) configuration updated regarding new configuration keys.tknall4-28/+16
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-16line_break_tolerance über config.properties konfigurierbarREL-3.0.6@290wprinz2-8/+24
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@289 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-16Update concerning the exclusion of minimal layout signatures performed.tknall1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@287 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-09Web-Application: Configuration may be declared via system property ↵tknall2-1/+24
"pdf-as.work-dir" or via Servlet-Init-Parameter "work-dir". Bug fixed in RetrieveSignatureDataServlet: Response header didn't contain a content length attribute. The ITS Mac BKU rejects those requests. Workaround for ITS Mac BKU integrated. A redirect via response does only work if the response contains a valid SL request (e.g. a NullOperationRequest). API: The configuration folder may be omitted at instantiating the api. Configuration may be set via system property "pdf-as.work-dir". If no configuration is given at all, the current user's home directory is searched for a folder "PDF-AS". If not found a default configuration is created. If the configuration is explicitely given than the temporary folder is located within the given directory otherwise within the user's temporary directory. Declaring the configuration folder, replacements for system properties like "${catalina.base}/conf/pdfas" may be used. Web-Application: Session is now being invalidated after download of the signed pdf file. Web-Application: Every hardcoded context "pdf-as" has been replaced. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@277 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-05-30CR Unsichtbare Felderwprinz2-221/+382
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@274 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-05-30CR Unsichtbare Felderwprinz1-1/+14
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@268 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-05-30CR Unsichtbare Felderwprinz1-11/+36
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@264 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-01-18update dealing with incremental updatestknall1-0/+61
(NoSignatureHolder introduced that indicates incremental updates. NoSignatureHolders are transported as SignatureHolder withing analysis but are finally removed to maintain compatibility. This allowes to show which signatures are followed by incremental updates containing no signature. If the last signature is followed by an incremental update, an exception is thrown to indicate an illegal modification. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@248 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-12-10Absolute filename for image declaration fixed.tknall1-3/+12
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@237 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-12-07neu: CaptionNotFoundException 701 in BinarySignature wenn zuwinig Platz, ↵netconomy1-2/+9
verbessertes Ex Handling git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@235 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-11-29PDF-AS APInetconomy4-0/+43
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@233 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-11-29EGIZDate intern auf Date-Berechnung umgestelltnetconomy1-134/+170
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@232 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-11-27serious bug in EGIZDate fixed (comparison was performed in 12-hour-mode, ↵tknall1-1/+9
therefore sigs over noon were broken), jce- and ecc-provider are now being registered in Settingsreader git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@231 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-09-19log date parsingtknall1-2/+5
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@214 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c