aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas/impl
AgeCommit message (Collapse)AuthorFilesLines
2008-10-10Deprecated webapp-folder removed from svn repository.tknall1-5/+39
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 ↵tknall1-0/+16
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.tknall7-20/+26
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.tknall1-108/+81
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-1/+2
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-0/+2
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-18/+17
"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-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-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-03-05SignatureProfile interface modified. Added method to retrieve signature ↵tknall2-95/+138
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 ↵tknall2-2/+67
via API call. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@251 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-01-18update dealing with incremental updatestknall3-16/+72
(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"netconomy3-0/+322
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, ↵netconomy1-1/+1
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 APInetconomy21-12/+1491
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-21Config-parameter "check_document" introduced.tknall1-3/+159
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@224 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-09-06Streaming Rückbaunetconomy10-21/+175
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@210 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-08-27bigfix "add cert when signing"netconomy1-0/+15
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@203 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2007-08-17Performancenetconomy31-0/+3245
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@167 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c