Class PreparePdfSignaturePageInput

java.lang.Object
se.idsec.signservice.integration.document.pdf.PreparePdfSignaturePageInput
All Implemented Interfaces:
Serializable, Extensible

public class PreparePdfSignaturePageInput extends Object implements Extensible
Class that represents the input to ExtendedSignServiceIntegrationService.preparePdfSignaturePage(String, byte[], PdfSignaturePagePreferences) when implemented as a REST endpoint.
Author:
Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
See Also:
  • Constructor Details

    • PreparePdfSignaturePageInput

      public PreparePdfSignaturePageInput()
    • PreparePdfSignaturePageInput

      public PreparePdfSignaturePageInput(String pdfDocument, PdfSignaturePagePreferences signaturePagePreferences, Extension extension)
  • Method Details

    • getExtension

      public Extension getExtension()
      Returns the extension parameters for the instance.
      Specified by:
      getExtension in interface Extensible
      Returns:
      the extension, or null if no extensions are set
    • setExtension

      public void setExtension(Extension extension)
      Assigns the extension parameters for the instance.
      Specified by:
      setExtension in interface Extensible
      Parameters:
      extension - the extension
    • builder

    • toBuilder

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getPdfDocument

      public String getPdfDocument()
      The contents of the PDF document that is to be prepared in Base64 encoded format.
      Returns:
      the PDF document (in Base64 encoded format)
    • setPdfDocument

      public void setPdfDocument(String pdfDocument)
      The contents of the PDF document that is to be prepared in Base64 encoded format.
      Parameters:
      pdfDocument - the PDF document (in Base64 encoded format)
    • getSignaturePagePreferences

      public PdfSignaturePagePreferences getSignaturePagePreferences()
      The preferences of how to prepare the PDF document for a PDF signature page and signature image.
      Returns:
      preferences of how to prepare the PDF document for a PDF signature page and signature image
    • setSignaturePagePreferences

      public void setSignaturePagePreferences(PdfSignaturePagePreferences signaturePagePreferences)
      The preferences of how to prepare the PDF document for a PDF signature page and signature image.
      Parameters:
      signaturePagePreferences - preferences of how to prepare the PDF document for a PDF signature page and signature image