aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas/commandline
AgeCommit message (Collapse)AuthorFilesLines
2011-06-21Copyright headers fixedtkellner1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@781 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-06-21Merge branch 'license_change'tkellner1-3/+0
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 filestkellner2-14/+45
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@778 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-17Source file encoding issues fixed.tknall1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@760 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-02-04- fixed: handling incomplete response from citizen card environment (missing ↵tknall1-5/+7
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-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@741 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-27- more loggingtknall1-15/+13
- 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-27- build script for command line version extendedtknall1-15/+1
- 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
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-16Moved MATCH_MODE_* constants from SignParameters to Constants.pdanner1-5/+5
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-10Changed defaultvalue of enable_placeholder_search config parameter to falsepdanner1-7/+7
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@702 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-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-03Minor updates (log messages...)tknall1-2/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@667 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-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-26Placeholder-image handlingpdanner1-6/+89
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@613 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-08-12more loggingtknall1-0/+1
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-01-14- Errorcode for unsupported signature method introducedtknall2-3/+23
- 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-05added text sig version 1.2.0ferbas1-0/+6
fixed text extraction encoding bug git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@523 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-02-06Examples for the help screen of the commandline version corrected.tknall1-2/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@332 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-02-04Minor updates for commandline invokation.tknall1-21/+51
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@328 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-01-14Switching to itext-2.1.5-rev3628.tknall1-1/+1
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
2008-10-10Deprecated webapp-folder removed from svn repository.tknall1-3/+3
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.tknall1-1/+4
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-13Detection of incremental updates updated.tknall1-1/+6
Bug fixed. There was an error concerning empty HashInputData parsing a MOA CreateXMLSignatureResponse. Demo source for API usage created. Issue resolved: Prevent signature of empty document which leads to a meaningless error message from the bku. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@284 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-11Serious bug solved. Method storeCertificate tried to fetch a certificate ↵tknall1-2/+1
from store before storing it. If not found (within the store resp. via ldap) the certificate was not stored. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@282 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-10Manual deployment of pdf-as configuration (commandline parameter -ddc) ↵tknall1-3/+4
considers the system property pdf-as.work-dir. Internal default configuration updated. log4.properties within the workdir is now being considered using the api. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@280 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-09Web-Application: Configuration may be declared via system property ↵tknall1-4/+33
"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
2007-12-17Change Request "Document Correction"netconomy1-4/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@239 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-12-07neu: CaptionNotFoundException 701 in BinarySignature wenn zuwinig Platz, ↵netconomy1-22/+24
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 APInetconomy1-0/+1071
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@233 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-08-24TR: Update zu SwA-Kommunikation mit MOA-SS/SP knowcenter1-5/+10
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@190 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-08-17Performancenetconomy1-0/+167
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@167 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c