예제 #1
0
 public static KeyResponse <TData> Empty(ApduResponseStatus apduStatus, KeyResponseStatus status)
 {
     return(new KeyResponse <TData>(ApduResponse.Empty(apduStatus), null, status));
 }
예제 #2
0
        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));
        }