aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas/api
AgeCommit message (Collapse)AuthorFilesLines
2010-12-16git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@717 ↵pdanner1-0/+3
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-16verify(VerifyAfterReconstructXMLDsigParameters) now uses the signatureDevice ↵pdanner2-9/+19
which was used in reconstructXMLDsig(...) if non is set explicitly in the VerifyAfterReconstructXMLDsigParameters git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@716 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-16Moved MATCH_MODE_* constants from SignParameters to Constants.pdanner2-21/+40
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 ↵pdanner2-5/+8
property enable_placeholder_search git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@711 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-15javadocpdanner3-4/+56
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@710 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-13Minor changes to ease web -> pdf-as handlingpdanner1-2/+4
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@706 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-13git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@705 ↵pdanner3-2/+28
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-10Changed defaultvalue of enable_placeholder_search config parameter to falsepdanner1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@702 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-10Removed unnecessary parameters from ↵pdanner2-52/+10
ReconstructXMLDsigAfterAnalysisParameters; Added getReconstructedXMLDsig() method to VerifyResult git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@700 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-09moved suppress_validate_exceptions to verifyparameterspdanner1-0/+25
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@698 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Added javadocpdanner1-4/+11
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@689 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Necessary changes for separation of pdf-as-web and rest of the projectpdanner16-8/+579
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@680 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-03Minor updates (log messages...)tknall1-3/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@667 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-30removed 1.5 depspdanner1-2/+4
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@654 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added exception result for verifypdanner1-0/+13
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@620 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added override propertiespdanner1-0/+33
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@619 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added DynamicSignatureProfile supportpdanner3-0/+308
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@618 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added hasbeencorrected flagpdanner2-0/+11
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@617 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added DynamicSignatureProfile supportpdanner1-0/+50
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@616 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-26Changes for xmldsig reconstructionpdanner8-1/+697
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@612 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-10-07Provide profile description via API call.tknall1-4/+8
More logging. WebApp: Bugfix for IE9 (download Link accessed twice) WebApp: Prevent Set-Cookie to be sent to BKU WebApp: Statistical logging added git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@592 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-04-08minor updates of the web application, more logging added, ↵tknall1-2/+2
default-configuration: a-trust ccs support disabled until bugfixes ccs version is available, pdf-as configuration: small signature profile added git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@581 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-03-16Catching OutOfMemory exceptions, returning appropriate error message/codetknall1-0/+80
Binary signature: bug concerning indirect pdf objects fixed SignaturePositioning improved (Signature position can be declared by String which is parsed) Some more error codes (Out of memory, Invalid signature position) iText utility for creation of pdf files added ConfigUtils updated (destination of configuration to be extracted can now be chosen) PDFASUtils updated (more tools) WebApplication: Freetext pdf creation implemented WebApplication: XSS security updates git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@580 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-15Index for Adobe.PDF-AS Signatures adjustedtknall1-0/+4
Configuration updates Minor bug (Configuration key for adobe sign field was adobeSignFieldName which did not match the key in the configuration) git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@519 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-14Error code created for protected pdf documents.tknall2-6/+6
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 basisferbas4-29/+34
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@506 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-12-02Non-textual objects may be extracted during the analysis phase of the ↵tknall4-8/+44
signature verification process git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@485 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-27removed duplicated gettimestampferbas1-6/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@467 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-26added annotationtypeferbas1-7/+20
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@465 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@428 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-0/+19
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@427 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-0/+15
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@426 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added timestampferbas1-0/+6
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@425 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-19added non text oject infoferbas1-0/+63
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@424 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13added timestampferbas1-0/+7
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@390 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13javadocferbas1-0/+6
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@389 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13Timestamper supportferbas2-0/+51
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@388 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-11-13added TimeStamperferbas1-0/+21
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@387 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2009-04-27New signature layout for new MOCCA bku integrated (etsi-moc-1.1).tknall1-0/+2
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.tknall1-3/+3
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@329wprinz1-1/+47
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-11-25Preparation for multilingual support for web application.tknall1-13/+19
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.tknall1-0/+10
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/+12
MOA-VerifyXMLSignatureResponses implemented. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@295 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2008-06-10Manual deployment of pdf-as configuration (commandline parameter -ddc) ↵tknall1-1/+1
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 ↵tknall2-0/+121
"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-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-03-05SignatureProfile interface modified. Added method to retrieve signature ↵tknall1-48/+34
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 ↵tknall1-0/+32
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 updatestknall2-1/+3
(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