aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-legacy
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-legacy')
-rw-r--r--pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java b/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java
index fafeb037..30814ff3 100644
--- a/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java
+++ b/pdf-as-legacy/src/main/java/at/gv/egiz/pdfas/wrapper/PdfAsObject.java
@@ -46,9 +46,13 @@ public class PdfAsObject implements PdfAs {
public SignResult sign(SignParameters signParameters,
SignatureDetailInformation signatureDetailInformation)
throws PdfAsException {
-
// Create the signature ....
+ SignParameter signParameter4 = PdfAsFactory.createSignParameter(
+ this.configuration, new ByteArrayDataSource(signParameters
+ .getDocument().getAsByteArray()));
+ SignParameterWrapper wrapper = new SignParameterWrapper(signParameters, signParameter4);
+
// TODO wait for SL wrapper implementation
return null;
}