Class SoapDocumentSignatureServiceImpl
- java.lang.Object
-
- eu.europa.esig.dss.ws.signature.soap.SoapDocumentSignatureServiceImpl
-
- All Implemented Interfaces:
SoapDocumentSignatureService,Serializable
public class SoapDocumentSignatureServiceImpl extends Object implements SoapDocumentSignatureService
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SoapDocumentSignatureServiceImpl()
-
Method Summary
Modifier and Type Method Description RemoteDocumentextendDocument(ExtendDocumentDTO extendDocumentDto)This web service operation extends the signature of a given document to the level of the signature provided.ToBeSignedDTOgetDataToSign(DataToSignOneDocumentDTO dataToSignDto)This method computes the digest to be signedvoidsetService(RemoteDocumentSignatureService service)RemoteDocumentsignDocument(SignOneDocumentDTO signDocumentDto)This web service operation signs a document according to a previously signed digest, a level of signature, some signature properties and keyInfo.
-
-
-
Method Detail
-
setService
public void setService(RemoteDocumentSignatureService service)
-
getDataToSign
public ToBeSignedDTO getDataToSign(DataToSignOneDocumentDTO dataToSignDto)
Description copied from interface:SoapDocumentSignatureServiceThis method computes the digest to be signed- Specified by:
getDataToSignin interfaceSoapDocumentSignatureService- Parameters:
dataToSignDto- a DTO which contains the document to sign and parameters- Returns:
- the data to be signed
-
signDocument
public RemoteDocument signDocument(SignOneDocumentDTO signDocumentDto)
Description copied from interface:SoapDocumentSignatureServiceThis web service operation signs a document according to a previously signed digest, a level of signature, some signature properties and keyInfo.- Specified by:
signDocumentin interfaceSoapDocumentSignatureService- Parameters:
signDocumentDto- a DTO which contains the document to be signed, the parameters and the signature value- Returns:
- the signed document
-
extendDocument
public RemoteDocument extendDocument(ExtendDocumentDTO extendDocumentDto)
Description copied from interface:SoapDocumentSignatureServiceThis web service operation extends the signature of a given document to the level of the signature provided. The document is only changed, if the given signature level is 'higher' than the signature level of the document.- Specified by:
extendDocumentin interfaceSoapDocumentSignatureService- Parameters:
extendDocumentDto- a DTO which contains the document to be extented and the parameters- Returns:
- the document with an extended signature
-
-