Class DataToSignASiCSWithCAdESFromFiles
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.DataToSignASiCSWithCAdESFromFiles
- All Implemented Interfaces:
GetDataToSignASiCWithCAdESHelper
public class DataToSignASiCSWithCAdESFromFiles
extends AbstractGetDataToSignASiCSWithCAdES
implements GetDataToSignASiCWithCAdESHelper
A class to generate a DataToSign with ASiC-S with CAdES from a files to be signed
-
Field Summary
Fields inherited from class eu.europa.esig.dss.asic.common.signature.AbstractGetDataToSignHelper
asicContent
-
Constructor Summary
ConstructorDescriptionDataToSignASiCSWithCAdESFromFiles
(ASiCContent asicContent) The 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
-
DataToSignASiCSWithCAdESFromFiles
The 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
-