Package eu.europa.esig.dss.model
Interface SerializableEvidenceRecordIncorporationParameters
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
AbstractEvidenceRecordIncorporationParameters,CAdESEvidenceRecordIncorporationParameters,XAdESEvidenceRecordIncorporationParameters
This interface contains common methods for evidence records incorporation within existing signatures
-
Method Summary
Modifier and TypeMethodDescriptionGets detached documents signed by a signatureGets an identifier of signature to include the evidence record intobooleanGets whether the evidence record should be incorporated within an existing (latest) evidence-record unsigned property, when available.voidsetDetachedContents(List<DSSDocument> detachedContents) Sets detached documents signed by a signaturevoidsetParallelEvidenceRecord(boolean parallelEvidenceRecord) Sets whether the evidence record should be incorporated within an existing (latest) evidence-record unsigned property, when available.voidsetSignatureId(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
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
Sets detached documents signed by a signature- Parameters:
detachedContents- a list ofDSSDocuments
-
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
-