Class SoapSignClient

    • Method Detail

      • sign

        public Long[] sign​(String sid,
                           Long[] docIds,
                           String reason)
                    throws Exception
        Description copied from interface: SignService
        Signs a set of documents
        Specified by:
        sign in interface SignService
        Parameters:
        sid - The session identifier
        docIds - Identifiers of the documents you wants to sign
        reason - Reason for the signature
        Returns:
        The list of the documents that were signed
        Throws:
        Exception - error in the server
      • markDocumentSigned

        public void markDocumentSigned​(String sid,
                                       long docId,
                                       String reason,
                                       String certificate)
                                throws Exception
        Description copied from interface: SignService
        Marks a document as signed(it does not apply any signature, just marks the document as signed)
        Specified by:
        markDocumentSigned in interface SignService
        Parameters:
        sid - The session identifier
        docId - Identifier of the document
        reason - Reason for the signature
        certificate - Description of the certificate to save in the even
        Throws:
        Exception - error in the server