Class DataToSignASiCEWithXAdESFromArchive
java.lang.Object
eu.europa.esig.dss.asic.xades.signature.asice.AbstractDataToSignASiCEWithXAdES
eu.europa.esig.dss.asic.xades.signature.asice.DataToSignASiCEWithXAdESFromArchive
- All Implemented Interfaces:
GetDataToSignHelper,GetDataToSignASiCWithXAdESHelper
public class DataToSignASiCEWithXAdESFromArchive extends AbstractDataToSignASiCEWithXAdES implements GetDataToSignASiCWithXAdESHelper
A class to generate a DataToSign with ASiC-E with XAdES from an existing archive
-
Constructor Summary
Constructors Constructor Description DataToSignASiCEWithXAdESFromArchive(List<DSSDocument> signedDocuments, List<DSSDocument> existingSignatures, List<DSSDocument> existingManifests, ASiCParameters asicParameters)The default constructor -
Method Summary
Modifier and Type Method Description DSSDocumentgetExistingSignature()Returns the signature document (used for parallel signatures)List<DSSDocument>getManifestFiles()Returns a list of manifest documentsDSSDocumentgetRootDocument()Returns the root document (used for OpenDocument files)StringgetSignatureFilename()Returns a signature filenameList<DSSDocument>getSignatures()Returns a list of signature documentsList<DSSDocument>getSignedDocuments()Returns a list of signed documentsStringgetTimestampFilename()Returns a timestamp filenameList<DSSDocument>getToBeSigned()Returns a list of documents to be signed (XAdES allows to sign multiple files)Methods inherited from class eu.europa.esig.dss.asic.xades.signature.asice.AbstractDataToSignASiCEWithXAdES
getASiCManifest, getSignatureFileName
-
Constructor Details
-
DataToSignASiCEWithXAdESFromArchive
public DataToSignASiCEWithXAdESFromArchive(List<DSSDocument> signedDocuments, List<DSSDocument> existingSignatures, List<DSSDocument> existingManifests, ASiCParameters asicParameters)The default constructor- Parameters:
signedDocuments- a list ofDSSDocumentsigned documentsexistingSignatures- a list ofDSSDocumentsignature documentsexistingManifests- a list ofDSSDocumentmanifest documentsasicParameters-ASiCParameters
-
-
Method Details
-
getSignatureFilename
Description copied from interface:GetDataToSignHelperReturns a signature filename- Specified by:
getSignatureFilenamein interfaceGetDataToSignHelper- Returns:
Stringsignature filename
-
getTimestampFilename
Description copied from interface:GetDataToSignHelperReturns a timestamp filename- Specified by:
getTimestampFilenamein interfaceGetDataToSignHelper- Returns:
Stringtimestamp filename
-
getToBeSigned
Description copied from interface:GetDataToSignASiCWithXAdESHelperReturns a list of documents to be signed (XAdES allows to sign multiple files)- Specified by:
getToBeSignedin interfaceGetDataToSignASiCWithXAdESHelper- Returns:
- a list of
DSSDocuments
-
getExistingSignature
Description copied from interface:GetDataToSignASiCWithXAdESHelperReturns the signature document (used for parallel signatures)- Specified by:
getExistingSignaturein interfaceGetDataToSignASiCWithXAdESHelper- Returns:
DSSDocument
-
getSignedDocuments
Description copied from interface:GetDataToSignHelperReturns a list of signed documents- Specified by:
getSignedDocumentsin interfaceGetDataToSignHelper- Returns:
- a list of
DSSDocumentthat has been signed
-
getManifestFiles
Description copied from interface:GetDataToSignHelperReturns a list of manifest documents- Specified by:
getManifestFilesin interfaceGetDataToSignHelper- Returns:
- a list of
DSSDocumentmanifests
-
getSignatures
Description copied from interface:GetDataToSignHelperReturns a list of signature documents- Specified by:
getSignaturesin interfaceGetDataToSignHelper- Returns:
- a list of
DSSDocumentsignatures
-
getRootDocument
Description copied from interface:GetDataToSignASiCWithXAdESHelperReturns the root document (used for OpenDocument files)- Specified by:
getRootDocumentin interfaceGetDataToSignASiCWithXAdESHelper- Returns:
DSSDocument
-