Exemple #1
0
        public void Sign()
        {
            IESignature sign = ctx["ESignature"] as IESignature;

            F_INST_WORKITEM inst = DAL.WorkFlow.WorkItemInstance.Get(this.ID);

            inst.Cert       = sign.GetStrSignCert();
            inst.Esignature = sign.GetStrSignData(this.ActivityInstance.FlowInstance.FormDigest);;

            DAL.WorkFlow.WorkItemInstance.Save(inst);
        }
Exemple #2
0
 public Status(
     IDocumentSignRepository repository,
     ISetSignTaskComplete setSignTaskComplete,
     DocumentHubSettings documentHubSettings,
     ISetSigningStepComplete setSigningStepComplete,
     IElectronicSignatureProviderStatus electronicSignatureProviderStatus,
     IUpdateDocumentStatus updateDocumentStatus,
     IESignature eSignature,
     IDocumentStatus documentStatus)
 {
     _repository                        = repository;
     _setSignTaskComplete               = setSignTaskComplete;
     _documentHubSettings               = documentHubSettings;
     _setSigningStepComplete            = setSigningStepComplete;
     _electronicSignatureProviderStatus = electronicSignatureProviderStatus;
     _updateDocumentStatus              = updateDocumentStatus;
     _eSignature                        = eSignature;
     _documentStatus                    = documentStatus;
 }