Class DataToSignASiCEWithCAdESHelper
java.lang.Object
eu.europa.esig.dss.asic.common.signature.AbstractGetDataToSignHelper
eu.europa.esig.dss.asic.cades.signature.asice.DataToSignASiCEWithCAdESHelper
- All Implemented Interfaces:
GetDataToSignASiCWithCAdESHelper
public class DataToSignASiCEWithCAdESHelper
extends AbstractGetDataToSignHelper
implements GetDataToSignASiCWithCAdESHelper
An abstract class to generate a DataToSign with ASiC-E with CAdES
-
Field Summary
Fields inherited from class eu.europa.esig.dss.asic.common.signature.AbstractGetDataToSignHelper
asicContent
-
Constructor Summary
ConstructorDescriptionDataToSignASiCEWithCAdESHelper
(ASiCContent asicContent, DSSDocument toBeSigned) 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
-
DataToSignASiCEWithCAdESHelper
The default constructor- Parameters:
asicContent
-ASiCContent
toBeSigned
-DSSDocument
-
-
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
-