Interface GetDataToSignASiCWithCAdESHelper

All Known Implementing Classes:
DataToSignASiCEWithCAdESHelper, DataToSignASiCSWithCAdESFromArchive, DataToSignASiCSWithCAdESFromFiles

public interface GetDataToSignASiCWithCAdESHelper
The interface defining a helper to create a ToBeSigned data for an ASiC with CAdES
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a list of detached documents NOTE: In case of ASiC-S signature, we need the detached content
    Returns a signed file document NOTE: In CMS/CAdES, only one file can be signed
  • Method Details

    • getToBeSigned

      DSSDocument getToBeSigned()
      Returns a signed file document NOTE: In CMS/CAdES, only one file can be signed
      Returns:
      DSSDocument to sign
    • getDetachedContents

      List<DSSDocument> getDetachedContents()
      Returns a list of detached documents NOTE: In case of ASiC-S signature, we need the detached content
      Returns:
      a list of detached DSSDocuments