aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas
AgeCommit message (Collapse)AuthorFilesLines
2009-11-02added hasprefix parameterferbas2-6/+25
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@377 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27removed has_sig_idferbas1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@352 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27removed has_sig_idferbas1-1/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@351 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27removed has_sig_idferbas1-1/+28
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@350 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27removed has_sig_idferbas1-1/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@349 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27added support for dynamic algorithm suites / acos04ferbas3-0/+454
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@348 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-09-11Bugfixestknall3-3/+22
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@339 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-04-27New signature layout for new MOCCA bku integrated (etsi-moc-1.1).tknall3-79/+75
New architecture implemented that allows different signature layouts for single types of BKUs. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@337 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-03-19Build script for command line version updated.tknall3-9/+22
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-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.tknall2-22/+52
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@328 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-02-04Some more log messages (e.g. encoding related issues).tknall2-6/+36
Updating web application (in external invocation mode) enhancing support for being used within an iframe. Two new (optional) parameters for external invocation mode: locale: defines the locale being used for webapp (e.g. locale=de or locale=de_DE), invoke-app-error-url: can be used to declare a callback url to the calling web application in order to transfer error messages from pdf-as. In case of error pdf-as redirects the user to the error-page-url (if given) providing the error and the cause in url encoded parameters ("error", "cause"). Formatter for mocca signature params enhanced. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@323 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-01-29api signatureKeyIdentifier override added, brz distribution assembly for ↵REL-3.0.9-20090129-rev322@329wprinz4-3/+79
maven, mime-type argument checking in SignResult constructor fixed git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@322 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-01-14Switching to itext-2.1.5-rev3628.tknall6-85/+260
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-11-25Preparation for multilingual support for web application.tknall4-13/+190
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@312 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-10-10Deprecated webapp-folder removed from svn repository.tknall7-9/+241
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-07-15Parsing of PublicAuthority-Flag and PublicAuthority-Code from ↵tknall2-0/+28
MOA-VerifyXMLSignatureResponses implemented. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@295 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-17(Default) configuration updated regarding new configuration keys.tknall10-24/+33
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-1/+5
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@289 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-13Detection of incremental updates updated.tknall4-174/+93
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-12A new check for the existence of a configuration has been implemented. The ↵tknall3-3/+137
extraction is skipped if any files or folders would be overwritten. Files like log- or temp-files may exist and do not prevent the deployment of the default configuration. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@283 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-11Serious bug solved. Method storeCertificate tried to fetch a certificate ↵tknall3-3/+67
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) ↵tknall4-15/+24
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 ↵tknall10-42/+451
"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-06-09Default-Profile auch im API auswerten, wenn Profil-Id == nullwprinz1-0/+7
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@276 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-02Dokumentation: VTime gibt signingTime zurück, wenn keine VTime verfügbar ↵wprinz1-0/+8
(Änderung von TKNALL im VerifyResultAdapter) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@275 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-05-30CR Unsichtbare Felderwprinz1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@272 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-05-30CR Unsichtbare Felderwprinz1-7/+13
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@271 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-05-30CR Unsichtbare Felderwprinz1-1/+10
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@270 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-05-30CR Unsichtbare Felderwprinz1-8/+31
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@269 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-05-29CR Unsichtbare Felder: neuer ErrorCodewprinz1-0/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@261 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-04-29a) Two stage verification (analysis and verification) now throws ↵REL-3.0.5-rev260@260tknall2-3/+8
PDFDocumentException(ErrorCode.DOCUMENT_NOT_SIGNED,...) if necessary. b) Do not try to remove svn-metadata while clearing temporary directory any more (preventing annoying error message). git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@259 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-04-03Web application adapted for Maven2 (/webapps -> /src/main/webapps).tknall2-4/+4
Recognition of citizen card environment integrated. New style sheets. Web app classes adapted in order to avoid popup blocker of ie7 and to avoid an ITS bku bug. Maven2 repository updated. Eclipse project settings adapted in order to enable Eclipse Web Tools Platform usage. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@256 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-03-05SignatureProfile interface modified. Added method to retrieve signature ↵tknall3-143/+172
block entries of the current profile relevant for the signature block search algorithm. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@253 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-03-04SignatureProfile extended in order to retrieve further profile information ↵tknall3-2/+99
via API call. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@251 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-01-25RHID und VTime für EnvelopingBase64MOAConnectornetconomy1-2/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@249 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-01-18update dealing with incremental updatestknall5-17/+75
(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
2008-01-18bugfix concerning VerifyResultAdapter fixed (verificationtime=null -> ↵tknall1-0/+6
verificationtime has to be set to signationtime) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@246 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-01-07incremental update check reintroducedtknall1-104/+168
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@244 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-12-17Change Request "Document Correction"netconomy9-9/+463
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@239 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-12-17Rückbau FULL_CONSERVATIVE partitioningnetconomy1-0/+43
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@238 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-12-07neu: CaptionNotFoundException 701 in BinarySignature wenn zuwinig Platz, ↵netconomy5-24/+138
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 APInetconomy59-18/+5089
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@233 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-11-27serious bug in EGIZDate fixed (comparison was performed in 12-hour-mode, ↵tknall1-19/+32
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-11-22fixed the "NullPtrEx Freie Texteingabe" bugREL-3.0.2@923netconomy1-0/+4
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@228 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-11-22Fixed the "assume only signature blocks" typonetconomy1-5/+28
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@226 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-11-21Config-parameter "check_document" introduced.tknall2-3/+162
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@224 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-09-20git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@216 ↵knowcenter1-1/+2
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-09-16fixed bug concerning compilation of callback url for external applicationtknall1-2/+15
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@213 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-09-16minor bug fixed (query url for external webapp was not correctly built)tknall1-0/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@212 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c