Interface SerializableEvidenceRecordIncorporationParameters

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractEvidenceRecordIncorporationParameters, CAdESEvidenceRecordIncorporationParameters, XAdESEvidenceRecordIncorporationParameters

public interface SerializableEvidenceRecordIncorporationParameters extends Serializable
This interface contains common methods for evidence records incorporation within existing signatures
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets detached documents signed by a signature
    Gets an identifier of signature to include the evidence record into
    boolean
    Gets whether the evidence record should be incorporated within an existing (latest) evidence-record unsigned property, when available.
    void
    Sets detached documents signed by a signature
    void
    setParallelEvidenceRecord(boolean parallelEvidenceRecord)
    Sets whether the evidence record should be incorporated within an existing (latest) evidence-record unsigned property, when available.
    void
    setSignatureId(String signatureId)
    Sets an identifier of signature to include the evidence record into.
  • Method Details

    • getSignatureId

      String getSignatureId()
      Gets an identifier of signature to include the evidence record into
      Returns:
      String
    • setSignatureId

      void setSignatureId(String signatureId)
      Sets an identifier of signature to include the evidence record into. When a document with a single signature is provided, the value can be set to null. Otherwise, the signature with the given identifier shall be found in order to perform the operation.
      Parameters:
      signatureId - String
    • getDetachedContents

      List<DSSDocument> getDetachedContents()
      Gets detached documents signed by a signature
      Returns:
      a list of DSSDocuments
    • setDetachedContents

      void setDetachedContents(List<DSSDocument> detachedContents)
      Sets detached documents signed by a signature
      Parameters:
      detachedContents - a list of DSSDocuments
    • isParallelEvidenceRecord

      boolean isParallelEvidenceRecord()
      Gets whether the evidence record should be incorporated within an existing (latest) evidence-record unsigned property, when available. Otherwise, a new evidence record attribute is to be created for incorporation of the evidence record.
      Returns:
      whether the evidence record should be included in the existing (latest) evidence-record unsigned property
    • setParallelEvidenceRecord

      void setParallelEvidenceRecord(boolean parallelEvidenceRecord)
      Sets whether the evidence record should be incorporated within an existing (latest) evidence-record unsigned property, when available. Otherwise, a new evidence record attribute is to be created for incorporation of the evidence record.

      Default : FALSE (a new evidence record unsigned property is to be created)

      Parameters:
      parallelEvidenceRecord - whether the evidence record should be included in the existing (latest) evidence-record unsigned property