Class DataToSignASiCSWithCAdESFromArchive
java.lang.Object
eu.europa.esig.dss.asic.common.signature.AbstractGetDataToSignHelper
eu.europa.esig.dss.asic.common.signature.asics.AbstractGetDataToSignASiCS
eu.europa.esig.dss.asic.cades.signature.asics.AbstractGetDataToSignASiCSWithCAdES
eu.europa.esig.dss.asic.cades.signature.asics.DataToSignASiCSWithCAdESFromArchive
- All Implemented Interfaces:
GetDataToSignASiCWithCAdESHelper
public class DataToSignASiCSWithCAdESFromArchive
extends AbstractGetDataToSignASiCSWithCAdES
implements GetDataToSignASiCWithCAdESHelper
A class to generate a DataToSign with ASiC-S with CAdES from an existing archive
-
Field Summary
Fields inherited from class eu.europa.esig.dss.asic.common.signature.AbstractGetDataToSignHelper
asicContent
-
Constructor Summary
ConstructorDescriptionDataToSignASiCSWithCAdESFromArchive
(ASiCContent asicContent) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of detached documents NOTE: In case of ASiC-S signature, we need the detached contentReturns a signed file document NOTE: In CMS/CAdES, only one file can be signed
-
Constructor Details
-
DataToSignASiCSWithCAdESFromArchive
Default constructor- Parameters:
asicContent
-ASiCContent
-
-
Method Details
-
getToBeSigned
Description copied from interface:GetDataToSignASiCWithCAdESHelper
Returns a signed file document NOTE: In CMS/CAdES, only one file can be signed- Specified by:
getToBeSigned
in interfaceGetDataToSignASiCWithCAdESHelper
- Returns:
DSSDocument
to sign
-
getDetachedContents
Description copied from interface:GetDataToSignASiCWithCAdESHelper
Returns a list of detached documents NOTE: In case of ASiC-S signature, we need the detached content- Specified by:
getDetachedContents
in interfaceGetDataToSignASiCWithCAdESHelper
- Returns:
- a list of detached
DSSDocument
s
-