@@ -34,9 +34,8 @@ internal class SmartCardConnection : IYubiKeyConnection
34
34
private readonly byte [ ] ? _applicationId ;
35
35
private readonly ISmartCardConnection _smartCardConnection ;
36
36
private IApduTransform _apduPipeline ;
37
-
38
37
private bool _disposedValue ;
39
- private bool IsOath => GetIsAuth ( ) ;
38
+ private bool IsOath => GetIsOauth ( ) ;
40
39
public ISelectApplicationData ? SelectApplicationData { get ; set ; }
41
40
42
41
/// <summary>
@@ -48,7 +47,7 @@ internal class SmartCardConnection : IYubiKeyConnection
48
47
public SmartCardConnection (
49
48
ISmartCardDevice smartCardDevice ,
50
49
YubiKeyApplication yubiKeyApplication )
51
- : this ( smartCardDevice , yubiKeyApplication , ( byte [ ] ? ) null )
50
+ : this ( smartCardDevice , yubiKeyApplication , null )
52
51
{
53
52
if ( yubiKeyApplication == YubiKeyApplication . Fido2 )
54
53
{
@@ -110,7 +109,7 @@ protected SmartCardConnection(
110
109
_smartCardConnection = smartCardDevice . Connect ( ) ;
111
110
112
111
// Set up the pipeline
113
- _apduPipeline = new SmartCardTransform ( _smartCardConnection ) ;
112
+ _apduPipeline = new SmartCardTransform ( _smartCardConnection ) ;
114
113
_apduPipeline = AddResponseChainingTransform ( _apduPipeline ) ;
115
114
_apduPipeline = new CommandChainingTransform ( _apduPipeline ) ;
116
115
}
@@ -210,7 +209,7 @@ private void SelectApplication()
210
209
SelectApplicationData = response . GetData ( ) ;
211
210
}
212
211
213
- private bool GetIsAuth ( ) =>
212
+ private bool GetIsOauth ( ) =>
214
213
_yubiKeyApplication == YubiKeyApplication . Oath ||
215
214
( _applicationId != null &&
216
215
_applicationId . SequenceEqual (
0 commit comments