Webservice: Sign

signature operations [Commercial editions only]

Index Method Request(s) Response Description
1 generateCertificate sid
generates a new certificate for the user
2 sign sid
docIds
reason
id signs a set of documents; returns the identifiers of all the signed documents
3 markDocumentSigned sid
docId
reason
certificate
marks a document as signed(it does not apply any signature, just marks the document as signed)
4 uploadCertificate sid
privateKey
certificate
imports an existing certificate file for the user

Method #1: generateCertificate

generates a new certificate for the user

Request

Name Type Required Multiple Description
     sid
String Y

Method #2: sign

signs a set of documents; returns the identifiers of all the signed documents

Request

Name Type Required Multiple Description
     sid
String Y
     docIds
Long Y Y identifiers of the documents you wants to sign
     reason
String Y reason for the signature

Response

Name Type Required Multiple Description
     id
Long Y Y

Method #3: markDocumentSigned

marks a document as signed(it does not apply any signature, just marks the document as signed)

Request

Name Type Required Multiple Description
     sid
String Y
     docId
Long Y identifier of the document
     reason
String Y reason for the signature
     certificate
String Y certificate details

Method #4: uploadCertificate

imports an existing certificate file for the user

Request

Name Type Required Multiple Description
     sid
String Y
     privateKey
String Y
     certificate
DataHandler Y