Class RestDocumentSignatureServiceImpl
- java.lang.Object
-
- eu.europa.esig.dss.ws.signature.common.AbstractRemoteSignatureServiceImpl
-
- eu.europa.esig.dss.ws.signature.rest.RestDocumentSignatureServiceImpl
-
- All Implemented Interfaces:
RestDocumentSignatureService,Serializable
public class RestDocumentSignatureServiceImpl extends AbstractRemoteSignatureServiceImpl implements RestDocumentSignatureService
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RestDocumentSignatureServiceImpl()
-
Method Summary
Modifier and Type Method Description RemoteDocumentextendDocument(ExtendDocumentDTO extendDocumentDto)Extends the level of the signatures in the toExtendDocumentToBeSignedDTOgetDataToSign(DataToSignOneDocumentDTO dataToSignDto)Retrieves the bytes of the data that need to be signed based on the toSignDocument and parameters.voidsetService(RemoteDocumentSignatureService service)RemoteDocumentsignDocument(SignOneDocumentDTO signDocumentDto)Signs the toSignDocument with the provided signatureValue.-
Methods inherited from class eu.europa.esig.dss.ws.signature.common.AbstractRemoteSignatureServiceImpl
createParameters, fillParameters, getASiCSignatureParameters, toSignatureValue
-
-
-
-
Method Detail
-
setService
public void setService(RemoteDocumentSignatureService service)
-
getDataToSign
public ToBeSignedDTO getDataToSign(DataToSignOneDocumentDTO dataToSignDto)
Description copied from interface:RestDocumentSignatureServiceRetrieves the bytes of the data that need to be signed based on the toSignDocument and parameters.- Specified by:
getDataToSignin interfaceRestDocumentSignatureService- Parameters:
dataToSignDto- a DTO with the needed information (document and parameters) to compute the data to be signed- Returns:
- the data to be signed
-
signDocument
public RemoteDocument signDocument(SignOneDocumentDTO signDocumentDto)
Description copied from interface:RestDocumentSignatureServiceSigns the toSignDocument with the provided signatureValue.- Specified by:
signDocumentin interfaceRestDocumentSignatureService- Parameters:
signDocumentDto- a DTO with the needed information (document, parameter and signature value) to generate the signed document- Returns:
- the signed document
-
extendDocument
public RemoteDocument extendDocument(ExtendDocumentDTO extendDocumentDto)
Description copied from interface:RestDocumentSignatureServiceExtends the level of the signatures in the toExtendDocument- Specified by:
extendDocumentin interfaceRestDocumentSignatureService- Parameters:
extendDocumentDto- a DTO with the needed information (the signed document and extension parameters) to generate the extended document- Returns:
- the extended document
-
-