aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas/impl/api
AgeCommit message (Collapse)AuthorFilesLines
2011-06-24Added connectors for mobile and mobiletest devices when choosing Connectorrpiazzi1-0/+13
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@783 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-06-21Copyright headers fixedtkellner16-16/+16
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@781 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-06-21Merge branch 'license_change'tkellner18-50/+2
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@780 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-06-21License replaced/added in .java filestkellner18-0/+414
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@778 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-28Logging in case of too small signature blocks extended (now a warning is ↵tknall1-8/+53
logged regardless the fact WHY a signature block is small (API, Placeholder or Configuration)). The default threshold value is 150. An optional configuration key (global "default.signature_block_width_warning_threshold=xyz" and local per profile "sig_obj.PROFILE.signature_block_width_warning_threshold=xyz") has been added in order to make the threshold configurable (there might be profiles some day that need to be small, e.g. some versions of minimal layout blocks). git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@739 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-27- more loggingtknall1-1/+2
- commandline: signature mode (textual, binary) set optional (setting default mode, equivalent to api usage) - documentation updated git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@736 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-27git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@733 ↵pdanner1-1/+1
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2011-01-27git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@731 ↵pdanner1-3/+15
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-16verify(VerifyAfterReconstructXMLDsigParameters) now uses the signatureDevice ↵pdanner1-3/+7
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.pdanner1-1/+1
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 ↵pdanner1-12/+24
property enable_placeholder_search git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@711 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-13Minor changes to ease web -> pdf-as handlingpdanner2-13/+27
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@706 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-10Changed default value of enable_placeholder_check to truepdanner1-3/+3
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@704 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-10Changed defaultvalue of enable_placeholder_search config parameter to falsepdanner1-4/+4
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@702 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-10Removed unnecessary parameters from ↵pdanner3-15/+17
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-07Added enable_placeholder_search config parameterpdanner1-17/+54
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@692 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Added javadocpdanner1-1/+31
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@689 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@687 ↵pdanner1-70/+60
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-06Necessary changes for separation of pdf-as-web and rest of the projectpdanner6-74/+753
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@680 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-03git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@668 ↵pdanner1-3/+10
7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-12-03Minor updates (log messages...)tknall1-1/+0
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@667 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added exception result for verifypdanner1-0/+10
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@628 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added hasbeencorrected flagpdanner1-2/+20
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@627 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29added DynamicSignatureProfile supportpdanner1-4/+36
added override properties git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@626 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-29loggingpdanner1-1/+1
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@625 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-11-26Changes for xmldsig reconstructionpdanner1-32/+135
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.tknall2-9/+42
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-08-20Internal error passed as RuntimeException instead of being ignored.tknall1-3/+35
PdfAsFactory: Switch implemented that allows to skip provider registration. git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@589 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
2010-03-16Catching OutOfMemory exceptions, returning appropriate error message/codetknall1-55/+69
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-10improved nonObjectExtraction. Use per signature basisferbas4-67/+49
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 ↵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-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/+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-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-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-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.tknall2-3/+18
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-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-04-29a) Two stage verification (analysis and verification) now throws ↵REL-3.0.5-rev260@260tknall1-0/+7
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