Interface SoapMultipleDocumentsSignatureService
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SoapMultipleDocumentsSignatureServiceImpl
public interface SoapMultipleDocumentsSignatureService extends Serializable
Interface for the Contract of the Signature Web Service. The signing web service allows to create a new signature or to extend existing one. Different forms of signature: XAdES, ASiC-S or ASiC-E are accepted. The digital signature of a document in a web environment is performed in three steps: 1. Creating a byte stream representing the data to be signed. 2. Hashing of the data previously obtained and its encryption. 3. The creation of the envelope containing all the elements of a digital signature. The process is controlled by a set of parameters.
-
-
Method Summary
Modifier and Type Method Description RemoteDocumentextendDocument(ExtendDocumentDTO extendDocument)This web service operation extends the signature of a given document to the level of the signature provided.ToBeSignedDTOgetDataToSign(DataToSignMultipleDocumentsDTO dataToSign)This method computes the digest to be signedRemoteDocumentsignDocument(SignMultipleDocumentDTO signDocument)This web service operation signs a document according to a previously signed digest, a level of signature, some signature properties and keyInfo.
-
-
-
Method Detail
-
getDataToSign
ToBeSignedDTO getDataToSign(DataToSignMultipleDocumentsDTO dataToSign)
This method computes the digest to be signed- Parameters:
dataToSign- a DTO which contains the documents to sign and parameters- Returns:
- the data to be signed
-
signDocument
RemoteDocument signDocument(SignMultipleDocumentDTO signDocument)
This web service operation signs a document according to a previously signed digest, a level of signature, some signature properties and keyInfo.- Parameters:
signDocument- a DTO which contains the documents to be signed, the parameters and the signature value- Returns:
- the signed document
-
extendDocument
RemoteDocument extendDocument(ExtendDocumentDTO extendDocument)
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.- Parameters:
extendDocument- a DTO which contains the document to be extented and the parameters- Returns:
- the document with an extended signature
-
-