Class DataToSignASiCEWithXAdESFromFiles
java.lang.Object
eu.europa.esig.dss.asic.xades.signature.asice.AbstractDataToSignASiCEWithXAdES
eu.europa.esig.dss.asic.xades.signature.asice.DataToSignASiCEWithXAdESFromFiles
- All Implemented Interfaces:
GetDataToSignHelper
,GetDataToSignASiCWithXAdESHelper
public class DataToSignASiCEWithXAdESFromFiles extends AbstractDataToSignASiCEWithXAdES implements GetDataToSignASiCWithXAdESHelper
A class to generate a DataToSign with ASiC-E with XAdES from a files to be signed
-
Constructor Summary
Constructors Constructor Description DataToSignASiCEWithXAdESFromFiles(List<DSSDocument> filesToBeSigned, ASiCParameters asicParameters)
The default constructor -
Method Summary
Modifier and Type Method Description DSSDocument
getExistingSignature()
Returns the signature document (used for parallel signatures)List<DSSDocument>
getManifestFiles()
Returns a list of manifest documentsDSSDocument
getRootDocument()
Returns the root document (used for OpenDocument files)String
getSignatureFilename()
Returns a signature filenameList<DSSDocument>
getSignatures()
Returns a list of signature documentsList<DSSDocument>
getSignedDocuments()
Returns a list of signed documentsString
getTimestampFilename()
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
-
DataToSignASiCEWithXAdESFromFiles
public DataToSignASiCEWithXAdESFromFiles(List<DSSDocument> filesToBeSigned, ASiCParameters asicParameters)The default constructor- Parameters:
filesToBeSigned
- a list ofDSSDocument
to be signedasicParameters
-ASiCParameters
-
-
Method Details
-
getToBeSigned
Description copied from interface:GetDataToSignASiCWithXAdESHelper
Returns a list of documents to be signed (XAdES allows to sign multiple files)- Specified by:
getToBeSigned
in interfaceGetDataToSignASiCWithXAdESHelper
- Returns:
- a list of
DSSDocument
s
-
getSignatureFilename
Description copied from interface:GetDataToSignHelper
Returns a signature filename- Specified by:
getSignatureFilename
in interfaceGetDataToSignHelper
- Returns:
String
signature filename
-
getTimestampFilename
Description copied from interface:GetDataToSignHelper
Returns a timestamp filename- Specified by:
getTimestampFilename
in interfaceGetDataToSignHelper
- Returns:
String
timestamp filename
-
getSignedDocuments
Description copied from interface:GetDataToSignHelper
Returns a list of signed documents- Specified by:
getSignedDocuments
in interfaceGetDataToSignHelper
- Returns:
- a list of
DSSDocument
that has been signed
-
getExistingSignature
Description copied from interface:GetDataToSignASiCWithXAdESHelper
Returns the signature document (used for parallel signatures)- Specified by:
getExistingSignature
in interfaceGetDataToSignASiCWithXAdESHelper
- Returns:
DSSDocument
-
getManifestFiles
Description copied from interface:GetDataToSignHelper
Returns a list of manifest documents- Specified by:
getManifestFiles
in interfaceGetDataToSignHelper
- Returns:
- a list of
DSSDocument
manifests
-
getSignatures
Description copied from interface:GetDataToSignHelper
Returns a list of signature documents- Specified by:
getSignatures
in interfaceGetDataToSignHelper
- Returns:
- a list of
DSSDocument
signatures
-
getRootDocument
Description copied from interface:GetDataToSignASiCWithXAdESHelper
Returns the root document (used for OpenDocument files)- Specified by:
getRootDocument
in interfaceGetDataToSignASiCWithXAdESHelper
- Returns:
DSSDocument
-