コード例 #1
0
        /// <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));
        }
コード例 #2
0
        /// <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));
        }