From c0ea288869c5c21d93c59702148305eefa3f1f51 Mon Sep 17 00:00:00 2001 From: pdanner Date: Mon, 13 Dec 2010 16:00:29 +0000 Subject: Minor changes to ease web -> pdf-as handling git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@706 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/java/at/gv/egiz/pdfas/api/internal/PdfAsInternal.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java/at/gv/egiz/pdfas/api/internal') diff --git a/src/main/java/at/gv/egiz/pdfas/api/internal/PdfAsInternal.java b/src/main/java/at/gv/egiz/pdfas/api/internal/PdfAsInternal.java index f3a4962..bb5b940 100644 --- a/src/main/java/at/gv/egiz/pdfas/api/internal/PdfAsInternal.java +++ b/src/main/java/at/gv/egiz/pdfas/api/internal/PdfAsInternal.java @@ -46,7 +46,7 @@ public interface PdfAsInternal { * @return the signed document + additional info * @throws PdfAsException */ - public SignResult finishLocalSign(PdfAs pdfAs, SignParameters signParameters, SignatureDetailInformation sdi, LocalBKUParams bkuParams, String xmlResponse) throws PdfAsException; + public SignResult finishLocalSign(PdfAs pdfAs, SignParameters signParameters, SignatureDetailInformation sdi, LocalBKUParams bkuParams, boolean multipart, String xmlResponse) throws PdfAsException; /** * Get the security layer address for the given connector. (zB: http://127.0.0.1:3495/http-security-layer-request) @@ -60,14 +60,16 @@ public interface PdfAsInternal { /** * Get the CreateXMLSignatureRequest for the given parameters. + * The request will use the given callback address to retrieve the data to sign. * * @param signParameters the sign parameters. {@link SignParameters#getSignatureDevice()} determines the connector to use. + * @param multipart true to select a {@link at.knowcenter.wag.egov.egiz.sig.connectors.LocalConnector} that uses multipart requests * @param loc_ref_url the URL where to retrieve the PDF to sign * @param sdi {@link SignatureDetailInformation#getSignatureData()} provides the data to be signed. * @return * @throws ConnectorException */ - public String prepareLocalSignRequest(SignParameters signParameters, String loc_ref_url, SignatureDetailInformation sdi) throws ConnectorException; + public String prepareLocalSignRequest(SignParameters signParameters, boolean multipart, String loc_ref_url, SignatureDetailInformation sdi) throws ConnectorException; /** * Create an AnalyzeResult from raw text, instead of a PDF. -- cgit v1.2.3