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 RemoteDocument
extendDocument(ExtendDocumentDTO extendDocumentDto)
Extends the level of the signatures in the toExtendDocumentToBeSignedDTO
getDataToSign(DataToSignMultipleDocumentsDTO dataToSignDto)
Retrieves the bytes of the data that need to be signed based on the toSignDocument and parameters.void
setService(RemoteMultipleDocumentsSignatureService service)
RemoteDocument
signDocument(SignMultipleDocumentDTO signDocumentDto)
Signs the toSignDocuments with the provided signatureValue.RemoteDocument
timestampDocuments(TimestampMultipleDocumentDTO timestampDocument)
Timestamps the toTimestampDocuments with the provided timestamp parameters.
-
Constructor Details
-
RestMultipleDocumentSignatureServiceImpl
public RestMultipleDocumentSignatureServiceImpl()
-
-
Method Details
-
setService
-
getDataToSign
Description copied from interface:RestMultipleDocumentSignatureService
Retrieves the bytes of the data that need to be signed based on the toSignDocument and parameters.- Specified by:
getDataToSign
in 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
Description copied from interface:RestMultipleDocumentSignatureService
Signs the toSignDocuments with the provided signatureValue.- Specified by:
signDocument
in 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
Description copied from interface:RestMultipleDocumentSignatureService
Extends the level of the signatures in the toExtendDocument- Specified by:
extendDocument
in interfaceRestMultipleDocumentSignatureService
- Parameters:
extendDocumentDto
- a DTO with the needed information (the signed document and extension parameters) to generate the extended document- Returns:
- the extended document
-
timestampDocuments
Description copied from interface:RestMultipleDocumentSignatureService
Timestamps the toTimestampDocuments with the provided timestamp parameters.- Specified by:
timestampDocuments
in interfaceRestMultipleDocumentSignatureService
- Parameters:
timestampDocument
- a DTO with the needed information (one or more document(s) and timestamp parameters) to timestamp the document(s)- Returns:
- a timestamped document
-