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 RemoteDocument
extendDocument(ExtendDocumentDTO extendDocumentDto)
This web service operation extends the signature of a given document to the level of the signature provided.ToBeSignedDTO
getDataToSign(DataToSignOneDocumentDTO dataToSignDto)
This method computes the digest to be signedvoid
setService(RemoteDocumentSignatureService service)
RemoteDocument
signDocument(SignOneDocumentDTO signDocumentDto)
This web service operation signs a document according to a previously signed digest, a level of signature, some signature properties and keyInfo.RemoteDocument
timestampDocument(TimestampOneDocumentDTO timestampDocument)
This web service operation timestamps a document according to the provided timestamp parameters.
-
Constructor Details
-
SoapDocumentSignatureServiceImpl
public SoapDocumentSignatureServiceImpl()
-
-
Method Details
-
setService
-
getDataToSign
Description copied from interface:SoapDocumentSignatureService
This method computes the digest to be signed- Specified by:
getDataToSign
in interfaceSoapDocumentSignatureService
- Parameters:
dataToSignDto
- a DTO which contains the document to sign and parameters- Returns:
- the data to be signed
-
signDocument
Description copied from interface:SoapDocumentSignatureService
This web service operation signs a document according to a previously signed digest, a level of signature, some signature properties and keyInfo.- Specified by:
signDocument
in interfaceSoapDocumentSignatureService
- Parameters:
signDocumentDto
- a DTO which contains the document to be signed, the parameters and the signature value- Returns:
- the signed document
-
extendDocument
Description copied from interface:SoapDocumentSignatureService
This 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:
extendDocument
in interfaceSoapDocumentSignatureService
- Parameters:
extendDocumentDto
- a DTO which contains the document to be extented and the parameters- Returns:
- the document with an extended signature
-
timestampDocument
Description copied from interface:SoapDocumentSignatureService
This web service operation timestamps a document according to the provided timestamp parameters.- Specified by:
timestampDocument
in interfaceSoapDocumentSignatureService
- Parameters:
timestampDocument
- a DTO which contains the document to be timestamped and timestamp parameters- Returns:
- a timestamped document
-