Class RestMultipleDocumentSignatureServiceImpl
- java.lang.Object
-
- eu.europa.esig.dss.ws.signature.rest.RestMultipleDocumentSignatureServiceImpl
-
- All Implemented Interfaces:
RestMultipleDocumentSignatureService,Serializable
public class RestMultipleDocumentSignatureServiceImpl extends Object implements RestMultipleDocumentSignatureService
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestMultipleDocumentSignatureServiceImpl()
-
Method Summary
Modifier and Type Method Description RemoteDocumentextendDocument(ExtendDocumentDTO extendDocumentDto)Extends the level of the signatures in the toExtendDocumentToBeSignedDTOgetDataToSign(DataToSignMultipleDocumentsDTO dataToSignDto)Retrieves the bytes of the data that need to be signed based on the toSignDocument and parameters.voidsetService(RemoteMultipleDocumentsSignatureService service)RemoteDocumentsignDocument(SignMultipleDocumentDTO signDocumentDto)Signs the toSignDocuments with the provided signatureValue.
-
-
-
Method Detail
-
setService
public void setService(RemoteMultipleDocumentsSignatureService service)
-
getDataToSign
public ToBeSignedDTO getDataToSign(DataToSignMultipleDocumentsDTO dataToSignDto)
Description copied from interface:RestMultipleDocumentSignatureServiceRetrieves the bytes of the data that need to be signed based on the toSignDocument and parameters.- Specified by:
getDataToSignin interfaceRestMultipleDocumentSignatureService- Parameters:
dataToSignDto- a DTO with the needed information (one or more document(s) and parameters) to compute the data to be signed- Returns:
- the data to be signed
-
signDocument
public RemoteDocument signDocument(SignMultipleDocumentDTO signDocumentDto)
Description copied from interface:RestMultipleDocumentSignatureServiceSigns the toSignDocuments with the provided signatureValue.- Specified by:
signDocumentin interfaceRestMultipleDocumentSignatureService- Parameters:
signDocumentDto- a DTO with the needed information (one or more document(s), parameters and signature value) to generate the signed document- Returns:
- the signed document
-
extendDocument
public RemoteDocument extendDocument(ExtendDocumentDTO extendDocumentDto)
Description copied from interface:RestMultipleDocumentSignatureServiceExtends the level of the signatures in the toExtendDocument- Specified by:
extendDocumentin interfaceRestMultipleDocumentSignatureService- Parameters:
extendDocumentDto- a DTO with the needed information (the signed document and extension parameters) to generate the extended document- Returns:
- the extended document
-
-