aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas/impl
AgeCommit message (Collapse)AuthorFilesLines
2010-01-05added text sig version 1.2.0ferbas1-0/+30
fixed text extraction encoding bug git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@528 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-01-05added text sig version 1.2.0ferbas1-1/+6
fixed text extraction encoding bug git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@527 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@526 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-14Error code created for protected pdf documents.tknall1-3/+5
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 basisferbas5-70/+56
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@506 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-03improved adobe sig attribute; SubFilter -> Methodeferbas2-2/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@487 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-03improved adobe sig attribute; SubFilter -> Methodeferbas1-8/+9
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@486 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-02Non-textual objects may be extracted during the analysis phase of the ↵tknall3-7/+58
signature verification process git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@485 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-02Rejecting unknown /replaces names upon verification of binary signaturestknall1-0/+4
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@481 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-02added annotation extraction with pdfbox 0.8.0ferbas1-2/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@470 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-02added adobe sig attributeferbas1-46/+17
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@469 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-02added signatureinformation for adobe sig attributeferbas1-8/+9
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@468 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-27removed duplicated gettimestampferbas1-4/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@467 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-0/+14
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@437 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-0/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@436 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-0/+9
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@435 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@434 ↵ferbas1-2/+2
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-0/+11
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@433 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-1/+21
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@432 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added timestampferbas1-1/+12
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@431 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-2/+10
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@430 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13prepared baik hackferbas1-0/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@400 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13baik supportferbas1-10/+55
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@399 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13added timestamp supportferbas1-2/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@398 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13added timestamp supportferbas1-0/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@397 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13baik support: timestamp, ognlferbas1-26/+90
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@396 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13added timestamp supportferbas1-8/+9
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@395 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13added timestamp supportferbas1-0/+10
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@394 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13added timestamp supportferbas1-1/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@393 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13added timestamp supportferbas1-0/+7
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@392 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-09-11Bugfixestknall2-3/+21
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-1/+1
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-01-29api signatureKeyIdentifier override added, brz distribution assembly for ↵REL-3.0.9-20090129-rev322@329wprinz2-2/+10
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
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