aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/knowcenter/wag/egov/egiz/sig/connectors
AgeCommit message (Collapse)AuthorFilesLines
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 introducedtknall1-2/+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-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-4/+30
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@496 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-10added atrust bku supportferbas1-3/+8
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@495 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19configuration extension: internal vs. (old)external config fileferbas1-4/+8
read templates from internal git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@455 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19configuration extension: internal vs. (old)external config fileferbas1-7/+13
read templates from internal git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@454 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19configuration extension: internal vs. (old)external config fileferbas1-3/+6
read templates from internal git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@453 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19configuration extension: internal vs. (old)external config fileferbas1-6/+12
read templates from internal git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@452 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19null pointer fixferbas1-2/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@451 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19configuration extension: internal vs. (old)external config fileferbas1-1/+2
read templates from internal git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@450 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19configuration extension: internal vs. (old)external config fileferbas1-3/+6
read templates from internal git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@449 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19configuration extension: internal vs. (old)external config fileferbas1-8/+14
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@448 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19configuration extension: internal vs. (old)external config fileferbas1-2/+4
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@447 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@415 ↵ferbas1-4/+4
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13refactored to signature objectferbas1-56/+56
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@414 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13baik, timestamp, ognlferbas1-23/+19
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@413 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-02added algorithmferbas1-0/+107
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@384 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-02dynamic algorithm support, compatibility modeferbas2-3/+20
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@380 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-02dynamic algorithm support, compatibility modeferbas1-0/+7
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@379 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-02dynamic algorithm support, compatibility modeferbas3-3/+15
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@378 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27added support for dynamic algorithm suites / acos04ferbas9-102/+119
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@363 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27added support for dynamic algorithm suites / acos04ferbas1-2/+7
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@362 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27added replaces for dynamic signature suitesferbas1-0/+17
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@361 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27depracated: parameterized codinghelper with hash methodferbas1-5/+5
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@360 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27introduced common base class for connector environmentsferbas1-0/+29
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@359 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27improved pattern for bku version parsing (to allow snapshot versions)ferbas1-1/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@358 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-27depracated: parameterized codinghelper with hash methodferbas1-3/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@357 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-20Parsing of CreateXMLSignatureResponse improved (needed for SHA256 based ↵REL-3.0.9-20090929@374tknall1-1/+5
signatures). git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@347 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-10-19Minor bug fixed: Signature device support should be checked before ↵tknall2-3/+4
evaluating ErrorResponse. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@345 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-04-27New signature layout for new MOCCA bku integrated (etsi-moc-1.1).tknall9-90/+164
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.tknall7-2/+49
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-04Some more log messages (e.g. encoding related issues).tknall2-3/+4
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@329wprinz2-6/+20
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-149/+220
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.tknall3-14/+724
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 ↵tknall3-4/+47
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.tknall1-4/+0
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-3/+2
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-09Web-Application: Configuration may be declared via system property ↵tknall1-2/+3
"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-04-24Two bug fixed: 1) Unable to find certificate if binary signature does not ↵tknall2-2/+8
contain the serial number; 2) Certificates thoese issuer names contain certain RDNs (e.g. EMAILADDRESS) could not be retrieved from certstore. PDF-AS library version is logged in order to lighten bugfixing. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@258 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-04-02Bug Fix: "XmlRequest" -> "XMLRequest"troessler1-1/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@255 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-03-04SignatureProfile extended in order to retrieve further profile information ↵tknall1-0/+6
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 EnvelopingBase64MOAConnectornetconomy3-36/+59
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@249 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c