diff options
author | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-07 14:52:01 +0000 |
---|---|---|
committer | tkellner <tkellner@3a0b52a2-8410-0410-bc02-ff6273a87459> | 2012-08-07 14:52:01 +0000 |
commit | db574d4297913a9acae96330c1a0269c2bc92bff (patch) | |
tree | 06fabdc3b6ffbc88837df831d68883dae0778461 /trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java | |
parent | 94bf81d31e74a209d60f2fd4f1f20448770bf1a0 (diff) | |
download | pdf-over-db574d4297913a9acae96330c1a0269c2bc92bff.tar.gz pdf-over-db574d4297913a9acae96330c1a0269c2bc92bff.tar.bz2 pdf-over-db574d4297913a9acae96330c1a0269c2bc92bff.zip |
Added class templates
Old class files edited to match templates
Fixed missing comments
git-svn-id: https://svn.iaik.tugraz.at/svn/egiz/prj/current/12PDF-OVER-4.0@12277 3a0b52a2-8410-0410-bc02-ff6273a87459
Diffstat (limited to 'trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java')
-rw-r--r-- | trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java index 7332a13e..bd324e9f 100644 --- a/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java +++ b/trunk/pdf-over-signer/pdf-over-sigpdfas/src/main/java/at/asit/pdfover/signer/pdfas/PdfAsSignatureParameter.java @@ -1,23 +1,57 @@ +/* + * Copyright 2012 by A-SIT, Secure Information Technology Center Austria + * + * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by + * the European Commission - subsequent versions of the EUPL (the "Licence"); + * You may not use this work except in compliance with the Licence. + * You may obtain a copy of the Licence at: + * http://joinup.ec.europa.eu/software/page/eupl + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the Licence is distributed on an "AS IS" basis, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the Licence for the specific language governing permissions and + * limitations under the Licence. + */ package at.asit.pdfover.signer.pdfas; +//Imports +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import at.asit.pdfover.signator.SignatureDimension; import at.asit.pdfover.signator.SignatureParameter; import at.gv.egiz.pdfas.api.sign.pos.SignaturePositioning; import at.gv.egiz.pdfas.api.io.DataSource; +/** + * Implementation of SignatureParameter specific for PDF - AS Library + */ public class PdfAsSignatureParameter extends SignatureParameter { + /** + * SFL4J Logger instance + **/ + private static final Logger log = LoggerFactory.getLogger(PdfAsSignatureParameter.class); + @Override public SignatureDimension getPlaceholderDimension() { // TODO Auto-generated method stub return null; } + /** + * Gets the PDFAS Positioning + * @return SignaturePositioning + */ public SignaturePositioning getPDFASPositioning() { // TODO: implement Signature creation return new SignaturePositioning(); } + /** + * Gets PDF - AS specific data source + * @return ByteArrayPDFASDataSource + */ public DataSource getPDFASDataSource() { // TODO: implement Signature creation return new ByteArrayPDFASDataSource(null); |