public static KeyResponse <TData> Empty(ApduResponseStatus apduStatus, KeyResponseStatus status) { return(new KeyResponse <TData>(ApduResponse.Empty(apduStatus), null, status)); }
public Task <KeyResponse <string> > GetVersionAsync(CancellationToken cancellationToken = new CancellationToken()) { var keyResponse = new KeyResponse <string>(ApduResponse.Empty(ApduResponseStatus.NoError), U2FConsts.U2Fv2, KeyResponseStatus.Success); return(TaskEx.FromResult(keyResponse)); }