Class AbstractEvidenceRecordIncorporationParameters
java.lang.Object
eu.europa.esig.dss.evidencerecord.AbstractEvidenceRecordIncorporationParameters
- All Implemented Interfaces:
SerializableEvidenceRecordIncorporationParameters,Serializable
- Direct Known Subclasses:
CAdESEvidenceRecordIncorporationParameters,XAdESEvidenceRecordIncorporationParameters
public abstract class AbstractEvidenceRecordIncorporationParameters
extends Object
implements SerializableEvidenceRecordIncorporationParameters
Contains parameters used on Evidence Record incorporation within an existing signature
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor -
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.
-
Constructor Details
-
AbstractEvidenceRecordIncorporationParameters
protected AbstractEvidenceRecordIncorporationParameters()Default constructor
-
-
Method Details
-
getSignatureId
Description copied from interface:SerializableEvidenceRecordIncorporationParametersGets an identifier of signature to include the evidence record into- Specified by:
getSignatureIdin interfaceSerializableEvidenceRecordIncorporationParameters- Returns:
String
-
setSignatureId
Description copied from interface:SerializableEvidenceRecordIncorporationParametersSets 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.- Specified by:
setSignatureIdin interfaceSerializableEvidenceRecordIncorporationParameters- Parameters:
signatureId-String
-
getDetachedContents
Description copied from interface:SerializableEvidenceRecordIncorporationParametersGets detached documents signed by a signature- Specified by:
getDetachedContentsin interfaceSerializableEvidenceRecordIncorporationParameters- Returns:
- a list of
DSSDocuments
-
setDetachedContents
Description copied from interface:SerializableEvidenceRecordIncorporationParametersSets detached documents signed by a signature- Specified by:
setDetachedContentsin interfaceSerializableEvidenceRecordIncorporationParameters- Parameters:
detachedContents- a list ofDSSDocuments
-
isParallelEvidenceRecord
public boolean isParallelEvidenceRecord()Description copied from interface:SerializableEvidenceRecordIncorporationParametersGets 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.- Specified by:
isParallelEvidenceRecordin interfaceSerializableEvidenceRecordIncorporationParameters- Returns:
- whether the evidence record should be included in the existing (latest) evidence-record unsigned property
-
setParallelEvidenceRecord
public void setParallelEvidenceRecord(boolean parallelEvidenceRecord) Description copied from interface:SerializableEvidenceRecordIncorporationParametersSets 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)
- Specified by:
setParallelEvidenceRecordin interfaceSerializableEvidenceRecordIncorporationParameters- Parameters:
parallelEvidenceRecord- whether the evidence record should be included in the existing (latest) evidence-record unsigned property
-