/// <summary> /// End create signature (async) /// </summary> /// <param name="asyncResult">async result</param> /// <returns>KSI signature</returns> public IKsiSignature EndSign(IAsyncResult asyncResult) { HAAsyncResult ar = GetHAAsyncResult(asyncResult); HASignRequestRunner runner = GetRequestRunner <HASignRequestRunner>(ar); return(runner.EndSign(ar)); }
/// <summary> /// Get sign request response payload (async). /// </summary> /// <param name="asyncResult">async result</param> /// <returns>Request response payload</returns> public SignRequestResponsePayload GetSignResponsePayload(IAsyncResult asyncResult) { HAAsyncResult ar = GetHAAsyncResult(asyncResult); HASignRequestRunner requestRunner = GetRequestRunner <HASignRequestRunner>(ar); return(requestRunner.GetSignResponsePayload(ar)); }