diff --git a/Yubico.Core/src/Yubico/Core/Cryptography/CmacPrimitivesOpenSsl.cs b/Yubico.Core/src/Yubico/Core/Cryptography/CmacPrimitivesOpenSsl.cs index 94f88c041..57c6211af 100644 --- a/Yubico.Core/src/Yubico/Core/Cryptography/CmacPrimitivesOpenSsl.cs +++ b/Yubico.Core/src/Yubico/Core/Cryptography/CmacPrimitivesOpenSsl.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Runtime.InteropServices; using System.Security; using System.Security.Cryptography; using Yubico.PlatformInterop; diff --git a/Yubico.Core/src/Yubico/Core/Cryptography/ICmacPrimitives.cs b/Yubico.Core/src/Yubico/Core/Cryptography/ICmacPrimitives.cs index b5ba72b38..0e824ff5f 100644 --- a/Yubico.Core/src/Yubico/Core/Cryptography/ICmacPrimitives.cs +++ b/Yubico.Core/src/Yubico/Core/Cryptography/ICmacPrimitives.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using Yubico.PlatformInterop; namespace Yubico.Core.Cryptography { diff --git a/Yubico.Core/src/Yubico/Core/Iso7816/CommandApdu.cs b/Yubico.Core/src/Yubico/Core/Iso7816/CommandApdu.cs index a0b05ebbf..388133509 100644 --- a/Yubico.Core/src/Yubico/Core/Iso7816/CommandApdu.cs +++ b/Yubico.Core/src/Yubico/Core/Iso7816/CommandApdu.cs @@ -14,10 +14,8 @@ using System; using System.Buffers.Binary; -using System.Collections.Generic; using System.Globalization; using System.IO; -using System.Linq; namespace Yubico.Core.Iso7816 { diff --git a/Yubico.Core/src/Yubico/Core/Tlv/TlvEncoder.cs b/Yubico.Core/src/Yubico/Core/Tlv/TlvEncoder.cs index df76c017d..c900cd10c 100644 --- a/Yubico.Core/src/Yubico/Core/Tlv/TlvEncoder.cs +++ b/Yubico.Core/src/Yubico/Core/Tlv/TlvEncoder.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; namespace Yubico.Core.Tlv { diff --git a/Yubico.Core/src/Yubico/PlatformInterop/Linux/Udev/LinuxUdevScan.cs b/Yubico.Core/src/Yubico/PlatformInterop/Linux/Udev/LinuxUdevScan.cs index 1dd35eeb7..8a41e72c3 100644 --- a/Yubico.Core/src/Yubico/PlatformInterop/Linux/Udev/LinuxUdevScan.cs +++ b/Yubico.Core/src/Yubico/PlatformInterop/Linux/Udev/LinuxUdevScan.cs @@ -15,7 +15,6 @@ using System; using System.Collections.Generic; using System.Runtime.InteropServices; -using System.Text; using Yubico.Core.Devices.Hid; namespace Yubico.PlatformInterop diff --git a/Yubico.Core/tests/Yubico/Core/Buffers/Base16Tests.cs b/Yubico.Core/tests/Yubico/Core/Buffers/Base16Tests.cs index bbbe7c6ac..4c3dc008f 100644 --- a/Yubico.Core/tests/Yubico/Core/Buffers/Base16Tests.cs +++ b/Yubico.Core/tests/Yubico/Core/Buffers/Base16Tests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using System.Linq; using Xunit; diff --git a/Yubico.Core/tests/Yubico/Core/Buffers/ModHexTests.cs b/Yubico.Core/tests/Yubico/Core/Buffers/ModHexTests.cs index 1b58f8aaf..d1180c39b 100644 --- a/Yubico.Core/tests/Yubico/Core/Buffers/ModHexTests.cs +++ b/Yubico.Core/tests/Yubico/Core/Buffers/ModHexTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using System.Linq; using Xunit; diff --git a/Yubico.Core/tests/Yubico/Core/Cryptography/CryptoSupport.cs b/Yubico.Core/tests/Yubico/Core/Cryptography/CryptoSupport.cs index f558de01e..247f8889b 100644 --- a/Yubico.Core/tests/Yubico/Core/Cryptography/CryptoSupport.cs +++ b/Yubico.Core/tests/Yubico/Core/Cryptography/CryptoSupport.cs @@ -12,9 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using System.Security.Cryptography; -using Xunit; namespace Yubico.Core.Cryptography { diff --git a/Yubico.Core/tests/Yubico/Core/Cryptography/GenerateKeyPairTests.cs b/Yubico.Core/tests/Yubico/Core/Cryptography/GenerateKeyPairTests.cs index 446c8f5d0..ff90c6b22 100644 --- a/Yubico.Core/tests/Yubico/Core/Cryptography/GenerateKeyPairTests.cs +++ b/Yubico.Core/tests/Yubico/Core/Cryptography/GenerateKeyPairTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using System.Security.Cryptography; using Xunit; diff --git a/Yubico.Core/tests/Yubico/Core/Devices/Hid/HidConnectionTests.cs b/Yubico.Core/tests/Yubico/Core/Devices/Hid/HidConnectionTests.cs index ce007f7fc..f928abf4b 100644 --- a/Yubico.Core/tests/Yubico/Core/Devices/Hid/HidConnectionTests.cs +++ b/Yubico.Core/tests/Yubico/Core/Devices/Hid/HidConnectionTests.cs @@ -12,13 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Linq; -using Moq; -using Xunit; -using Yubico.Core.Buffers; -using Yubico.PlatformInterop; - namespace Yubico.Core.Devices.Hid.UnitTests { diff --git a/Yubico.Core/tests/Yubico/Core/Devices/Hid/HidDeviceTests.cs b/Yubico.Core/tests/Yubico/Core/Devices/Hid/HidDeviceTests.cs index 2dc2430a2..47d8bc9f5 100644 --- a/Yubico.Core/tests/Yubico/Core/Devices/Hid/HidDeviceTests.cs +++ b/Yubico.Core/tests/Yubico/Core/Devices/Hid/HidDeviceTests.cs @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using Xunit; - namespace Yubico.Core.Devices.Hid.UnitTests { diff --git a/Yubico.YubiKey/examples/Fido2SampleCode/KeyCollector/Fido2KeyCollectorOperation.cs b/Yubico.YubiKey/examples/Fido2SampleCode/KeyCollector/Fido2KeyCollectorOperation.cs index 28c74d78b..1e2fb8cc3 100644 --- a/Yubico.YubiKey/examples/Fido2SampleCode/KeyCollector/Fido2KeyCollectorOperation.cs +++ b/Yubico.YubiKey/examples/Fido2SampleCode/KeyCollector/Fido2KeyCollectorOperation.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.Fido2SampleCode { public enum Fido2KeyCollectorOperation diff --git a/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2MainMenuItem.cs b/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2MainMenuItem.cs index e4125299b..0cd590bc0 100644 --- a/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2MainMenuItem.cs +++ b/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2MainMenuItem.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.Fido2SampleCode { public enum Fido2MainMenuItem diff --git a/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2SampleGui.cs b/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2SampleGui.cs index f7d830a23..bdbd1b3e5 100644 --- a/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2SampleGui.cs +++ b/Yubico.YubiKey/examples/Fido2SampleCode/Run/Fido2SampleGui.cs @@ -18,7 +18,6 @@ using System.Threading; using System.Threading.Tasks; using System.Windows.Forms; -using Yubico.YubiKey; using Yubico.YubiKey.Sample.SharedCode; namespace Yubico.YubiKey.Sample.Fido2SampleCode diff --git a/Yubico.YubiKey/examples/Fido2SampleCode/Run/SampleStart.cs b/Yubico.YubiKey/examples/Fido2SampleCode/Run/SampleStart.cs index f85890852..d8fd5e9e8 100644 --- a/Yubico.YubiKey/examples/Fido2SampleCode/Run/SampleStart.cs +++ b/Yubico.YubiKey/examples/Fido2SampleCode/Run/SampleStart.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using Yubico.YubiKey.Sample.SharedCode; namespace Yubico.YubiKey.Sample.Fido2SampleCode { diff --git a/Yubico.YubiKey/examples/OathSampleCode/YubiKeyOperations/ResetApplication.cs b/Yubico.YubiKey/examples/OathSampleCode/YubiKeyOperations/ResetApplication.cs index 82f16a29d..4a98a7702 100644 --- a/Yubico.YubiKey/examples/OathSampleCode/YubiKeyOperations/ResetApplication.cs +++ b/Yubico.YubiKey/examples/OathSampleCode/YubiKeyOperations/ResetApplication.cs @@ -13,7 +13,6 @@ // limitations under the License. using Yubico.YubiKey.Oath; -using Yubico.YubiKey.Sample.SharedCode; namespace Yubico.YubiKey.Sample.OathSampleCode { diff --git a/Yubico.YubiKey/examples/PivSampleCode/Run/PivMainMenuItem.cs b/Yubico.YubiKey/examples/PivSampleCode/Run/PivMainMenuItem.cs index 4c99fc3fc..b4423a1be 100644 --- a/Yubico.YubiKey/examples/PivSampleCode/Run/PivMainMenuItem.cs +++ b/Yubico.YubiKey/examples/PivSampleCode/Run/PivMainMenuItem.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.PivSampleCode { public enum PivMainMenuItem diff --git a/Yubico.YubiKey/examples/PivSampleCode/Run/SampleStart.cs b/Yubico.YubiKey/examples/PivSampleCode/Run/SampleStart.cs index 6aee3b223..e24a2a2d6 100644 --- a/Yubico.YubiKey/examples/PivSampleCode/Run/SampleStart.cs +++ b/Yubico.YubiKey/examples/PivSampleCode/Run/SampleStart.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.PivSampleCode { internal sealed class StartProgram diff --git a/Yubico.YubiKey/examples/PivSampleCode/YubiKeyOperations/PinOnlyMode.cs b/Yubico.YubiKey/examples/PivSampleCode/YubiKeyOperations/PinOnlyMode.cs index c3c67e4e4..81cf67026 100644 --- a/Yubico.YubiKey/examples/PivSampleCode/YubiKeyOperations/PinOnlyMode.cs +++ b/Yubico.YubiKey/examples/PivSampleCode/YubiKeyOperations/PinOnlyMode.cs @@ -14,7 +14,6 @@ using System; using Yubico.YubiKey.Piv; -using Yubico.YubiKey.Sample.SharedCode; namespace Yubico.YubiKey.Sample.PivSampleCode { diff --git a/Yubico.YubiKey/examples/SharedSampleCode/Menu/MessageType.cs b/Yubico.YubiKey/examples/SharedSampleCode/Menu/MessageType.cs index 818e0a7ee..b835ee863 100644 --- a/Yubico.YubiKey/examples/SharedSampleCode/Menu/MessageType.cs +++ b/Yubico.YubiKey/examples/SharedSampleCode/Menu/MessageType.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.SharedCode { // When calling SampleMenu.WriteMessage, pass in one of these enum values as diff --git a/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ChooseYubiKey.cs b/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ChooseYubiKey.cs index 072e4199e..669dcd35f 100644 --- a/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ChooseYubiKey.cs +++ b/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ChooseYubiKey.cs @@ -14,7 +14,6 @@ using System; using System.Collections.Generic; -using System.Globalization; using System.Linq; namespace Yubico.YubiKey.Sample.SharedCode diff --git a/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ListYubiKeys.cs b/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ListYubiKeys.cs index ff0b80045..008b26d24 100644 --- a/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ListYubiKeys.cs +++ b/Yubico.YubiKey/examples/SharedSampleCode/YubiKeyOperations/ListYubiKeys.cs @@ -15,7 +15,6 @@ using System.Collections.Generic; using System.Globalization; using System.Linq; -using Yubico.YubiKey; namespace Yubico.YubiKey.Sample.SharedCode { diff --git a/Yubico.YubiKey/examples/U2fSampleCode/KeyCollector/U2fKeyCollectorOperation.cs b/Yubico.YubiKey/examples/U2fSampleCode/KeyCollector/U2fKeyCollectorOperation.cs index 22bab72ff..52ff895b7 100644 --- a/Yubico.YubiKey/examples/U2fSampleCode/KeyCollector/U2fKeyCollectorOperation.cs +++ b/Yubico.YubiKey/examples/U2fSampleCode/KeyCollector/U2fKeyCollectorOperation.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.U2fSampleCode { public enum U2fKeyCollectorOperation diff --git a/Yubico.YubiKey/examples/U2fSampleCode/Run/SampleStart.cs b/Yubico.YubiKey/examples/U2fSampleCode/Run/SampleStart.cs index 646b6f630..3dab1ae2a 100644 --- a/Yubico.YubiKey/examples/U2fSampleCode/Run/SampleStart.cs +++ b/Yubico.YubiKey/examples/U2fSampleCode/Run/SampleStart.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.U2fSampleCode { internal sealed class StartProgram diff --git a/Yubico.YubiKey/examples/U2fSampleCode/Run/U2fMainMenuItem.cs b/Yubico.YubiKey/examples/U2fSampleCode/Run/U2fMainMenuItem.cs index a1202927b..b7b4a9e5a 100644 --- a/Yubico.YubiKey/examples/U2fSampleCode/Run/U2fMainMenuItem.cs +++ b/Yubico.YubiKey/examples/U2fSampleCode/Run/U2fMainMenuItem.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Sample.U2fSampleCode { public enum U2fMainMenuItem diff --git a/Yubico.YubiKey/examples/U2fSampleCode/YubiKeyOperations/U2fReset.cs b/Yubico.YubiKey/examples/U2fSampleCode/YubiKeyOperations/U2fReset.cs index bc4362d76..ab9af48e9 100644 --- a/Yubico.YubiKey/examples/U2fSampleCode/YubiKeyOperations/U2fReset.cs +++ b/Yubico.YubiKey/examples/U2fSampleCode/YubiKeyOperations/U2fReset.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Diagnostics; using System.Globalization; using System.Threading; using System.Threading.Tasks; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/AuthenticatorTransports.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/AuthenticatorTransports.cs index 03491a023..232f1aef6 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/AuthenticatorTransports.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/AuthenticatorTransports.cs @@ -12,12 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Collections.Generic; -using System.Formats.Cbor; -using System.Globalization; -using Yubico.YubiKey.Fido2.Cbor; - namespace Yubico.YubiKey.Fido2 { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/BioEnrollBeginResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/BioEnrollBeginResponse.cs index 2dcd9fc11..cc140b67c 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/BioEnrollBeginResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/BioEnrollBeginResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Fido2.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ConfigResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ConfigResponse.cs index 3ef021237..36fa27c93 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ConfigResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ConfigResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Fido2.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnableEnterpriseAttestationCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnableEnterpriseAttestationCommand.cs index 30e40da0a..e35987894 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnableEnterpriseAttestationCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnableEnterpriseAttestationCommand.cs @@ -14,7 +14,6 @@ using System; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Fido2.Cbor; using Yubico.YubiKey.Fido2.PinProtocols; namespace Yubico.YubiKey.Fido2.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnumerateCredentialsGetNextResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnumerateCredentialsGetNextResponse.cs index dc65924d2..2200d478b 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnumerateCredentialsGetNextResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnumerateCredentialsGetNextResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Fido2.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnumerateRpsGetNextResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnumerateRpsGetNextResponse.cs index 847be0b1e..6aaf9a0ab 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnumerateRpsGetNextResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/EnumerateRpsGetNextResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Fido2.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetAssertionCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetAssertionCommand.cs index 7820e4bb7..89b3e79a2 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetAssertionCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetAssertionCommand.cs @@ -14,7 +14,6 @@ using System; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Fido2.PinProtocols; namespace Yubico.YubiKey.Fido2.Commands { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetBioModalityResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetBioModalityResponse.cs index d508e8f9e..66e1c26ec 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetBioModalityResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetBioModalityResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Fido2.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetFingerprintSensorInfoResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetFingerprintSensorInfoResponse.cs index e2d8cbf44..ba2b5d405 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetFingerprintSensorInfoResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetFingerprintSensorInfoResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Fido2.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetNextAssertionCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetNextAssertionCommand.cs index 3a72704c4..b0aa4cc87 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetNextAssertionCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/GetNextAssertionCommand.cs @@ -12,9 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Fido2.PinProtocols; namespace Yubico.YubiKey.Fido2.Commands { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/MakeCredentialCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/MakeCredentialCommand.cs index fa7f59494..1771451b0 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/MakeCredentialCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/MakeCredentialCommand.cs @@ -14,7 +14,6 @@ using System; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Fido2.PinProtocols; namespace Yubico.YubiKey.Fido2.Commands { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/RequirementValue.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/RequirementValue.cs index 534b20d76..83c5eb9d9 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/RequirementValue.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/RequirementValue.cs @@ -12,14 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Collections.Generic; -using System.Formats.Cbor; -using System.Globalization; -using Yubico.YubiKey.Fido2.Cbor; -using Yubico.YubiKey.Fido2.Cose; -using Yubico.YubiKey.Fido2.PinProtocols; - namespace Yubico.YubiKey.Fido2 { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ResetResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ResetResponse.cs index ca0aecb31..84b82f8fa 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ResetResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ResetResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Fido2.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/SetLargeBlobResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/SetLargeBlobResponse.cs index 7eceb2f98..9ef8b4411 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/SetLargeBlobResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/SetLargeBlobResponse.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Globalization; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Fido2.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ToggleAlwaysUvCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ToggleAlwaysUvCommand.cs index 9c5acb6ff..6cccbde16 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ToggleAlwaysUvCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Commands/ToggleAlwaysUvCommand.cs @@ -14,7 +14,6 @@ using System; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Fido2.Cbor; using Yubico.YubiKey.Fido2.PinProtocols; namespace Yubico.YubiKey.Fido2.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Cose/CoseKey.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Cose/CoseKey.cs index 82a7e7dfd..f2363184f 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Cose/CoseKey.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Cose/CoseKey.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Formats.Cbor; using System.Globalization; using Yubico.YubiKey.Fido2.Cbor; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/CredentialId.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/CredentialId.cs index 01a6f4664..c34bd4089 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/CredentialId.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/CredentialId.cs @@ -15,7 +15,6 @@ using System; using System.Collections.Generic; using System.Formats.Cbor; -using System.Globalization; using Yubico.YubiKey.Fido2.Cbor; namespace Yubico.YubiKey.Fido2 diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Fido2Session.BioEnrollment.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Fido2Session.BioEnrollment.cs index 01bbfff87..f239e9202 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Fido2Session.BioEnrollment.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Fido2Session.BioEnrollment.cs @@ -15,8 +15,6 @@ using System; using System.Collections.Generic; using System.Security; -using System.Threading; -using System.Threading.Tasks; using Yubico.Core.Logging; using Yubico.YubiKey.Fido2.Commands; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Fido2Session.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Fido2Session.cs index 6c9657dd8..90d482276 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Fido2Session.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/Fido2Session.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Threading; using Yubico.Core.Logging; using Yubico.YubiKey.Fido2.Commands; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/GetAssertionParameters.Extensions.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/GetAssertionParameters.Extensions.cs index 9014d1d02..bc8c36dae 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/GetAssertionParameters.Extensions.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/GetAssertionParameters.Extensions.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using Yubico.YubiKey.Fido2.Cbor; using Yubico.YubiKey.Fido2.PinProtocols; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/OptionValue.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/OptionValue.cs index 961e32c19..7e7993352 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/OptionValue.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/OptionValue.cs @@ -12,14 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Collections.Generic; -using System.Formats.Cbor; -using System.Globalization; -using Yubico.YubiKey.Fido2.Cbor; -using Yubico.YubiKey.Fido2.Cose; -using Yubico.YubiKey.Fido2.PinProtocols; - namespace Yubico.YubiKey.Fido2 { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/ParameterHelpers.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/ParameterHelpers.cs index 9e9382ac0..1f771c61e 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/ParameterHelpers.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/ParameterHelpers.cs @@ -15,7 +15,6 @@ using System; using System.Collections.Generic; using System.Formats.Cbor; -using System.Globalization; using Yubico.YubiKey.Fido2.Cose; namespace Yubico.YubiKey.Fido2 diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/PinProtocols/PinUvAuthProtocolOne.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/PinProtocols/PinUvAuthProtocolOne.cs index 74d945ca4..409b46cf9 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/PinProtocols/PinUvAuthProtocolOne.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/PinProtocols/PinUvAuthProtocolOne.cs @@ -14,7 +14,6 @@ using System; using System.Globalization; -using System.IO; using System.Security.Cryptography; using Yubico.YubiKey.Cryptography; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/PinProtocols/PinUvAuthProtocolTwo.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/PinProtocols/PinUvAuthProtocolTwo.cs index f69c5e76f..f73d307ca 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/PinProtocols/PinUvAuthProtocolTwo.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/PinProtocols/PinUvAuthProtocolTwo.cs @@ -14,7 +14,6 @@ using System; using System.Globalization; -using System.IO; using System.Security.Cryptography; using System.Text; using Yubico.YubiKey.Cryptography; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/SerializedLargeBlobArray.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/SerializedLargeBlobArray.cs index df5998c24..b91bd025b 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/SerializedLargeBlobArray.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/SerializedLargeBlobArray.cs @@ -19,7 +19,6 @@ using System.Security.Cryptography; using Yubico.Core.Logging; using Yubico.YubiKey.Cryptography; -using Yubico.YubiKey.Fido2.Cbor; namespace Yubico.YubiKey.Fido2 { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/UserEntity.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/UserEntity.cs index 3e4c39f15..3ee623cf8 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/UserEntity.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Fido2/UserEntity.cs @@ -13,9 +13,7 @@ // limitations under the License. using System; -using System.Collections.Generic; using System.Formats.Cbor; -using System.Globalization; using Yubico.YubiKey.Fido2.Cbor; namespace Yubico.YubiKey.Fido2 diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/ICancelApduTransform.cs b/Yubico.YubiKey/src/Yubico/YubiKey/ICancelApduTransform.cs index 28c2f183a..2e320574a 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/ICancelApduTransform.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/ICancelApduTransform.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/ICancelConnection.cs b/Yubico.YubiKey/src/Yubico/YubiKey/ICancelConnection.cs index b4b16fa68..213dda9e5 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/ICancelConnection.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/ICancelConnection.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/ImageProcessorVersion.cs b/Yubico.YubiKey/src/Yubico/YubiKey/ImageProcessorVersion.cs index 5146443c8..c50c5e6a7 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/ImageProcessorVersion.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/ImageProcessorVersion.cs @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Diagnostics.CodeAnalysis; - namespace Yubico.YubiKey { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/BaseSelectApplicationCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/BaseSelectApplicationCommand.cs index f0411fc54..8ea3db278 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/BaseSelectApplicationCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/BaseSelectApplicationCommand.cs @@ -13,8 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; -using System.Text; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.InterIndustry.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/GenericSelectApplicationData.cs b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/GenericSelectApplicationData.cs index e6f00cb42..d48afa932 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/GenericSelectApplicationData.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/GenericSelectApplicationData.cs @@ -13,8 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; -using System.Text; namespace Yubico.YubiKey.InterIndustry.Commands { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/GenericSelectResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/GenericSelectResponse.cs index 31c637a3a..1550be1fd 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/GenericSelectResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/GenericSelectResponse.cs @@ -13,8 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; -using System.Text; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.InterIndustry.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationCommand.cs index 8d39604f2..cf9dcf1ab 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationCommand.cs @@ -12,10 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Collections.Generic; -using System.Text; - namespace Yubico.YubiKey.InterIndustry.Commands { public interface ISelectApplicationCommand : IYubiKeyCommand diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationData.cs b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationData.cs index 185c6c9b1..b92d98db5 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationData.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationData.cs @@ -13,8 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; -using System.Text; namespace Yubico.YubiKey.InterIndustry.Commands { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationResponse.cs index 9859d6811..bdb10809e 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/ISelectApplicationResponse.cs @@ -12,10 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Collections.Generic; -using System.Text; - namespace Yubico.YubiKey.InterIndustry.Commands { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/SelectApplicationCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/SelectApplicationCommand.cs index f7465e12f..029821e78 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/SelectApplicationCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/InterIndustry/Commands/SelectApplicationCommand.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.InterIndustry.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/KeyboardReport.cs b/Yubico.YubiKey/src/Yubico/YubiKey/KeyboardReport.cs index ef7992dd5..f832cea62 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/KeyboardReport.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/KeyboardReport.cs @@ -15,7 +15,6 @@ using System; using System.Diagnostics; using System.Globalization; -using System.Linq; namespace Yubico.YubiKey { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Management/Commands/DeviceResetCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Management/Commands/DeviceResetCommand.cs index dba570cd2..72e55804d 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Management/Commands/DeviceResetCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Management/Commands/DeviceResetCommand.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Management.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Management/Commands/DeviceResetResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Management/Commands/DeviceResetResponse.cs index 0fb207c82..83212af48 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Management/Commands/DeviceResetResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Management/Commands/DeviceResetResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Management.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Oath/Commands/CalculateAllCredentialsCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Oath/Commands/CalculateAllCredentialsCommand.cs index af5e458ba..1ab4ad6cf 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Oath/Commands/CalculateAllCredentialsCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Oath/Commands/CalculateAllCredentialsCommand.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; using Yubico.Core.Tlv; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Oath/Commands/OathChallengeResponseBaseCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Oath/Commands/OathChallengeResponseBaseCommand.cs index 27d67609d..7e3a19b52 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Oath/Commands/OathChallengeResponseBaseCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Oath/Commands/OathChallengeResponseBaseCommand.cs @@ -14,7 +14,6 @@ using System; using System.Buffers.Binary; -using System.Linq; using System.Security.Cryptography; using Yubico.YubiKey.Cryptography; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Oath/CredentialType.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Oath/CredentialType.cs index 78c134fcb..6585fca68 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Oath/CredentialType.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Oath/CredentialType.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Oath { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Oath/OathSession.Credential.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Oath/OathSession.Credential.cs index 78731677b..989400f68 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Oath/OathSession.Credential.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Oath/OathSession.Credential.cs @@ -14,7 +14,6 @@ using System; using System.Collections.Generic; -using System.Linq; using System.Security; using Yubico.YubiKey.Oath.Commands; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Pipelines/FidoTransform.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Pipelines/FidoTransform.cs index 901b9e841..f586a6065 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Pipelines/FidoTransform.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Pipelines/FidoTransform.cs @@ -18,7 +18,6 @@ using System.Security.Cryptography; using Yubico.Core.Devices.Hid; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Fido2; using Yubico.YubiKey.Fido2.Commands; namespace Yubico.YubiKey.Pipelines diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/AuthenticateKeyAgreeCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/AuthenticateKeyAgreeCommand.cs index f08d18818..90582675f 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/AuthenticateKeyAgreeCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/AuthenticateKeyAgreeCommand.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using System.Globalization; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/ChangeReferenceDataCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/ChangeReferenceDataCommand.cs index f371c294e..291ef5e9f 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/ChangeReferenceDataCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/ChangeReferenceDataCommand.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using System.Globalization; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/GetBioMetadataCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/GetBioMetadataCommand.cs index 0a6634351..f8d365ddf 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/GetBioMetadataCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/GetBioMetadataCommand.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Globalization; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Piv.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/GetSerialNumberResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/GetSerialNumberResponse.cs index 163a737a5..a5d07ea4a 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/GetSerialNumberResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/GetSerialNumberResponse.cs @@ -14,7 +14,6 @@ using System; using System.Buffers.Binary; -using System.Linq; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Piv.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/ISymmetricForManagementKey.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/ISymmetricForManagementKey.cs index b8a3dbd57..18f507e39 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/ISymmetricForManagementKey.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/ISymmetricForManagementKey.cs @@ -13,9 +13,6 @@ // limitations under the License. using System; -using System.Globalization; -using System.Security.Cryptography; -using Yubico.YubiKey.Cryptography; namespace Yubico.YubiKey.Piv.Commands { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/InitializeAuthenticateManagementKeyCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/InitializeAuthenticateManagementKeyCommand.cs index a1164d87b..66d0ec641 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/InitializeAuthenticateManagementKeyCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/InitializeAuthenticateManagementKeyCommand.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Collections.Generic; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Piv.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/PivResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/PivResponse.cs index 0bb62d2e5..b3fa3171d 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/PivResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/PivResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Piv.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/SetManagementKeyResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/SetManagementKeyResponse.cs index 479e35138..56d95055b 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/SetManagementKeyResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/SetManagementKeyResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Piv.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyPinCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyPinCommand.cs index a6c28d0e1..f5c7da5a5 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyPinCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyPinCommand.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using System.Globalization; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyTemporaryPinCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyTemporaryPinCommand.cs index 5bb7b23ca..44a4b83da 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyTemporaryPinCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyTemporaryPinCommand.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using System.Globalization; using Yubico.Core.Iso7816; using Yubico.Core.Tlv; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyTemporaryPinResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyTemporaryPinResponse.cs index b931854bd..aaab702b5 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyTemporaryPinResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyTemporaryPinResponse.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Globalization; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.Piv.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyUvCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyUvCommand.cs index 797ae421f..6aa51ecf3 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyUvCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/Commands/VerifyUvCommand.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using System.Globalization; using Yubico.Core.Iso7816; using Yubico.Core.Tlv; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivBioMetadata.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivBioMetadata.cs index 6a0d9bbd6..27db58fdc 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivBioMetadata.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivBioMetadata.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Diagnostics; using System.Globalization; using Yubico.Core.Tlv; using Yubico.YubiKey.Piv.Commands; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivPinPolicy.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivPinPolicy.cs index 8742133a1..4eabffc10 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivPinPolicy.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivPinPolicy.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Piv { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivTouchPolicy.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivTouchPolicy.cs index c1625a281..7ce760945 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivTouchPolicy.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Piv/PivTouchPolicy.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.Piv { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Scp03/Commands/DeleteKeyCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Scp03/Commands/DeleteKeyCommand.cs index 7edba0462..4aca9fdad 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Scp03/Commands/DeleteKeyCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Scp03/Commands/DeleteKeyCommand.cs @@ -13,9 +13,7 @@ // limitations under the License. using System; -using System.Security.Cryptography; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Cryptography; namespace Yubico.YubiKey.Scp03.Commands { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/Scp03/Derivation.cs b/Yubico.YubiKey/src/Yubico/YubiKey/Scp03/Derivation.cs index d14cda868..2e697a268 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/Scp03/Derivation.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/Scp03/Derivation.cs @@ -15,7 +15,6 @@ using System; using System.Security.Cryptography; using Yubico.Core.Cryptography; -using Yubico.PlatformInterop; using Yubico.YubiKey.Cryptography; namespace Yubico.YubiKey.Scp03 diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/TemplateStorageVersion.cs b/Yubico.YubiKey/src/Yubico/YubiKey/TemplateStorageVersion.cs index e10be9976..f5299cf7f 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/TemplateStorageVersion.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/TemplateStorageVersion.cs @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Diagnostics.CodeAnalysis; - namespace Yubico.YubiKey { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/AuthenticateCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/AuthenticateCommand.cs index dcd408bce..360f1e5cf 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/AuthenticateCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/AuthenticateCommand.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Globalization; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/AuthenticateResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/AuthenticateResponse.cs index afe9f56a9..f396df660 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/AuthenticateResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/AuthenticateResponse.cs @@ -13,8 +13,6 @@ // limitations under the License. using System; -using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/RegisterCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/RegisterCommand.cs index c18aadf79..e16ed5bd6 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/RegisterCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/RegisterCommand.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Globalization; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/ResetResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/ResetResponse.cs index 2f6ce87e0..6e38c9ac2 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/ResetResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/ResetResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/SetPinCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/SetPinCommand.cs index a7399399a..07fadda2f 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/SetPinCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/SetPinCommand.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Globalization; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/SetPinResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/SetPinResponse.cs index d1719b134..6dda17853 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/SetPinResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/SetPinResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/VerifyPinCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/VerifyPinCommand.cs index ea7758c5f..486d9777f 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/VerifyPinCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/VerifyPinCommand.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Globalization; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/VerifyPinResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/VerifyPinResponse.cs index f8b8b7398..3d7c3bad0 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/VerifyPinResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/Commands/VerifyPinResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/U2fBuffer.cs b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/U2fBuffer.cs index 0e8bd87c6..8a7513662 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/U2fBuffer.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/U2fBuffer.cs @@ -14,7 +14,6 @@ using System; using System.Globalization; -using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/U2fSignedData.cs b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/U2fSignedData.cs index 1b43b5cec..e625fee99 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/U2f/U2fSignedData.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/U2f/U2fSignedData.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using Yubico.Core.Tlv; using Yubico.YubiKey.Cryptography; namespace Yubico.YubiKey.U2f diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Aes128CredentialWithSecrets.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Aes128CredentialWithSecrets.cs index 1936e867e..e6e78f801 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Aes128CredentialWithSecrets.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Aes128CredentialWithSecrets.cs @@ -14,7 +14,6 @@ using System; using System.Globalization; -using Yubico.Core.Tlv; namespace Yubico.YubiKey.YubiHsmAuth { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/ApplicationVersion.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/ApplicationVersion.cs index 70691d3e5..ec0c95914 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/ApplicationVersion.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/ApplicationVersion.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey.YubiHsmAuth { /// diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponse.cs index 7b0d4a9c5..c93735198 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponse.cs @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Diagnostics.CodeAnalysis; -using System.Globalization; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.YubiHsmAuth.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ChangeManagementKeyResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ChangeManagementKeyResponse.cs index 4f9265eaa..298dd223d 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ChangeManagementKeyResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ChangeManagementKeyResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.YubiHsmAuth.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysCommand.cs index 6a4b5b7ba..05f7b0351 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysCommand.cs @@ -14,7 +14,6 @@ using System; using System.Globalization; -using System.Runtime.CompilerServices; using System.Text; using Yubico.Core.Iso7816; using Yubico.Core.Tlv; diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysResponse.cs index 25939bc91..f8d2bf324 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysResponse.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.YubiHsmAuth.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetApplicationVersionCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetApplicationVersionCommand.cs index 6550995a4..0fef01548 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetApplicationVersionCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetApplicationVersionCommand.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.YubiHsmAuth.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesCommand.cs index f6084cc1d..8acb1b291 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesCommand.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.YubiHsmAuth.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ListCredentialsCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ListCredentialsCommand.cs index 05365bcbc..50ff6c8da 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ListCredentialsCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ListCredentialsCommand.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.YubiHsmAuth.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationCommand.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationCommand.cs index 8166f818e..dc93d41cb 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationCommand.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationCommand.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.YubiHsmAuth.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationResponse.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationResponse.cs index 7c8f03b7e..49df15522 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationResponse.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationResponse.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.YubiHsmAuth.Commands diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Credential.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Credential.cs index 9340734ba..0e8faaeb6 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Credential.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/Credential.cs @@ -14,7 +14,6 @@ using System; using System.Globalization; -using System.Linq.Expressions; using System.Text; namespace Yubico.YubiKey.YubiHsmAuth diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/CredentialRetryPair.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/CredentialRetryPair.cs index fbf53b2da..2341ff457 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/CredentialRetryPair.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/CredentialRetryPair.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; namespace Yubico.YubiKey.YubiHsmAuth { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/CredentialWithSecrets.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/CredentialWithSecrets.cs index 422044c51..4a116a0a8 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/CredentialWithSecrets.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiHsmAuth/CredentialWithSecrets.cs @@ -13,9 +13,7 @@ // limitations under the License. using System; -using System.ComponentModel; using System.Globalization; -using Yubico.Core.Tlv; namespace Yubico.YubiKey.YubiHsmAuth { diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiKeyCapabilitiesExtensions.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiKeyCapabilitiesExtensions.cs index 2cbb029a1..eb352d338 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiKeyCapabilitiesExtensions.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiKeyCapabilitiesExtensions.cs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; - namespace Yubico.YubiKey { internal static class YubiKeyCapabilitiesExtensions diff --git a/Yubico.YubiKey/src/Yubico/YubiKey/YubiKeyDeviceListener.cs b/Yubico.YubiKey/src/Yubico/YubiKey/YubiKeyDeviceListener.cs index 33329de06..96e2a338b 100644 --- a/Yubico.YubiKey/src/Yubico/YubiKey/YubiKeyDeviceListener.cs +++ b/Yubico.YubiKey/src/Yubico/YubiKey/YubiKeyDeviceListener.cs @@ -14,7 +14,6 @@ using System; using System.Collections.Generic; -using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading; using Yubico.Core.Devices; diff --git a/Yubico.YubiKey/tests/integration/Yubico/YubiKey/Piv/BioMultiProtocolTests.cs b/Yubico.YubiKey/tests/integration/Yubico/YubiKey/Piv/BioMultiProtocolTests.cs index 71f25c3ff..292278de7 100644 --- a/Yubico.YubiKey/tests/integration/Yubico/YubiKey/Piv/BioMultiProtocolTests.cs +++ b/Yubico.YubiKey/tests/integration/Yubico/YubiKey/Piv/BioMultiProtocolTests.cs @@ -13,11 +13,8 @@ // limitations under the License. using System; -using System.Linq; -using System.Runtime.CompilerServices; using System.Text; using Xunit; -using Yubico.PlatformInterop; using Yubico.YubiKey.Piv.Commands; using Yubico.YubiKey.TestUtilities; diff --git a/Yubico.YubiKey/tests/sandbox/Converters/Base16Bytes.cs b/Yubico.YubiKey/tests/sandbox/Converters/Base16Bytes.cs index 7054ce2a7..acbb7dc09 100644 --- a/Yubico.YubiKey/tests/sandbox/Converters/Base16Bytes.cs +++ b/Yubico.YubiKey/tests/sandbox/Converters/Base16Bytes.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Buffers; namespace Yubico.YubiKey.TestApp.Converters diff --git a/Yubico.YubiKey/tests/sandbox/Converters/ModHexBytes.cs b/Yubico.YubiKey/tests/sandbox/Converters/ModHexBytes.cs index 4f70883a6..daee9b4de 100644 --- a/Yubico.YubiKey/tests/sandbox/Converters/ModHexBytes.cs +++ b/Yubico.YubiKey/tests/sandbox/Converters/ModHexBytes.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Yubico.Core.Buffers; namespace Yubico.YubiKey.TestApp.Converters diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/DavidPlugin.cs b/Yubico.YubiKey/tests/sandbox/Plugins/DavidPlugin.cs index e882c37b6..7d4b52c6a 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/DavidPlugin.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/DavidPlugin.cs @@ -15,7 +15,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Net.Security; using System.Text; using Yubico.YubiKey.YubiHsmAuth; using Yubico.YubiKey.YubiHsmAuth.Commands; diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/EventManagerPlugin.cs b/Yubico.YubiKey/tests/sandbox/Plugins/EventManagerPlugin.cs index 00c97bf0f..01293b04b 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/EventManagerPlugin.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/EventManagerPlugin.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Threading; using Microsoft.Extensions.Logging; using Serilog; using Serilog.Core; diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/OathPlugin.cs b/Yubico.YubiKey/tests/sandbox/Plugins/OathPlugin.cs index 036d82fa2..8f42eff29 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/OathPlugin.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/OathPlugin.cs @@ -15,11 +15,9 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Threading; using Microsoft.Extensions.Logging; using Yubico.Core.Logging; using Yubico.YubiKey.Oath; -using Yubico.YubiKey.Oath.Commands; namespace Yubico.YubiKey.TestApp.Plugins { diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Delete.cs b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Delete.cs index 297be176a..d2dc3cd19 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Delete.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Delete.cs @@ -14,7 +14,6 @@ using System; using Yubico.YubiKey.Otp; -using Yubico.YubiKey.Otp.Operations; namespace Yubico.YubiKey.TestApp.Plugins.Otp { diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Static.cs b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Static.cs index ab6e909b6..4e6ecc201 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Static.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/Static.cs @@ -14,7 +14,6 @@ using System; using System.Collections.Generic; -using System.Linq; using Yubico.YubiKey.Otp; using Yubico.YubiKey.Otp.Commands; using Yubico.YubiKey.Otp.Operations; diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/UpdateSlot.cs b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/UpdateSlot.cs index a0d5f79a8..57b5e0c5d 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/Otp/UpdateSlot.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/Otp/UpdateSlot.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using Yubico.YubiKey.Otp; namespace Yubico.YubiKey.TestApp.Plugins.Otp diff --git a/Yubico.YubiKey/tests/sandbox/Plugins/Scp03Plugin.cs b/Yubico.YubiKey/tests/sandbox/Plugins/Scp03Plugin.cs index 96811f9ff..1bc529047 100644 --- a/Yubico.YubiKey/tests/sandbox/Plugins/Scp03Plugin.cs +++ b/Yubico.YubiKey/tests/sandbox/Plugins/Scp03Plugin.cs @@ -15,7 +15,6 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; using Yubico.YubiKey.Piv; using Yubico.YubiKey.Scp03; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/AesCmacLongKeyTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/AesCmacLongKeyTests.cs index 2942184af..f6425f611 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/AesCmacLongKeyTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/AesCmacLongKeyTests.cs @@ -15,7 +15,6 @@ using System; using Xunit; using Yubico.Core.Cryptography; -using Yubico.PlatformInterop; namespace Yubico.YubiKey.Cryptography { diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/AesCmacTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/AesCmacTests.cs index 4e0cdfe4e..6c6b0d526 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/AesCmacTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/AesCmacTests.cs @@ -16,7 +16,6 @@ using Xunit; using Yubico.Core.Buffers; using Yubico.Core.Cryptography; -using Yubico.PlatformInterop; namespace Yubico.YubiKey.Cryptography { diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/RsaFormatNegativeTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/RsaFormatNegativeTests.cs index 39b6b6d14..cdeb8e93b 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/RsaFormatNegativeTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Cryptography/RsaFormatNegativeTests.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Linq; using System.Security.Cryptography; using Xunit; using Yubico.YubiKey.TestUtilities; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/CredentialDataTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/CredentialDataTests.cs index 4bf3fedff..84c8f4a68 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/CredentialDataTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/CredentialDataTests.cs @@ -12,15 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; using Xunit; -using Yubico.Core.Tlv; -using Yubico.YubiKey.Cryptography; -using Yubico.YubiKey.Fido2.Commands; -using Yubico.YubiKey.Fido2.Cose; -using Yubico.YubiKey.Piv; namespace Yubico.YubiKey.Fido2 { diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/Fido2InfoTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/Fido2InfoTests.cs index 2e1992c44..ae79fdf54 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/Fido2InfoTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/Fido2InfoTests.cs @@ -16,7 +16,6 @@ using System.Collections.Generic; using System.Linq; using Xunit; -using Yubico.YubiKey.Fido2.Commands; using Yubico.YubiKey.Fido2.Cose; using Yubico.YubiKey.Fido2.PinProtocols; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/GetAssertionDataTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/GetAssertionDataTests.cs index 3aeb0a0c3..fb56e2bca 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/GetAssertionDataTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/GetAssertionDataTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Xunit; using Yubico.YubiKey.Fido2.Cose; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/PinProtocols/Protocol1Tests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/PinProtocols/Protocol1Tests.cs index cf32a0c09..5726c3abd 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/PinProtocols/Protocol1Tests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/PinProtocols/Protocol1Tests.cs @@ -13,9 +13,7 @@ // limitations under the License. using System; -using System.Collections.ObjectModel; using Xunit; -using Yubico.YubiKey.Fido2.Commands; using Yubico.YubiKey.Fido2.Cose; namespace Yubico.YubiKey.Fido2.PinProtocols diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/PinProtocols/Protocol2Tests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/PinProtocols/Protocol2Tests.cs index a42955afd..97c5cc412 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/PinProtocols/Protocol2Tests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Fido2/PinProtocols/Protocol2Tests.cs @@ -13,9 +13,7 @@ // limitations under the License. using System; -using System.Collections.ObjectModel; using Xunit; -using Yubico.YubiKey.Fido2.Commands; using Yubico.YubiKey.Fido2.Cose; namespace Yubico.YubiKey.Fido2.PinProtocols diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/CalculateAllCredentialsCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/CalculateAllCredentialsCommandTests.cs index 54ecdcdde..27ed52d65 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/CalculateAllCredentialsCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/CalculateAllCredentialsCommandTests.cs @@ -15,10 +15,8 @@ using System; using System.Buffers.Binary; using System.Linq; -using System.Security.Cryptography; using Xunit; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Cryptography; using Yubico.YubiKey.TestUtilities; namespace Yubico.YubiKey.Oath.Commands diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/CalculateCredentialCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/CalculateCredentialCommandTests.cs index 0699cfac6..5c50f5bb9 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/CalculateCredentialCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/CalculateCredentialCommandTests.cs @@ -15,10 +15,8 @@ using System; using System.Buffers.Binary; using System.Linq; -using System.Security.Cryptography; using Xunit; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Cryptography; using Yubico.YubiKey.TestUtilities; namespace Yubico.YubiKey.Oath.Commands diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/SetPasswordCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/SetPasswordCommandTests.cs index ad0095f39..b4e4127d1 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/SetPasswordCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/SetPasswordCommandTests.cs @@ -14,11 +14,9 @@ using System; using System.Collections.Generic; -using System.Security.Cryptography; using System.Text; using Xunit; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Cryptography; using Yubico.YubiKey.TestUtilities; namespace Yubico.YubiKey.Oath.Commands diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/ValidateCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/ValidateCommandTests.cs index af7d765e0..d7ff0a699 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/ValidateCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/ValidateCommandTests.cs @@ -13,11 +13,9 @@ // limitations under the License. using System; -using System.Security.Cryptography; using System.Text; using Xunit; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Cryptography; using Yubico.YubiKey.TestUtilities; namespace Yubico.YubiKey.Oath.Commands diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/ValidateResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/ValidateResponseTests.cs index d4694fac1..6d0648431 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/ValidateResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Oath/Commands/ValidateResponseTests.cs @@ -13,12 +13,9 @@ // limitations under the License. using System; -using System.Collections.Generic; -using System.Security.Cryptography; using System.Text; using Xunit; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Cryptography; using Yubico.YubiKey.TestUtilities; namespace Yubico.YubiKey.Oath.Commands diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/Commands/ChallengeResponseResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/Commands/ChallengeResponseResponseTests.cs index 18b7c7be2..969dc01c4 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/Commands/ChallengeResponseResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/Commands/ChallengeResponseResponseTests.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using System.Linq; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/Commands/ReadNdefDataResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/Commands/ReadNdefDataResponseTests.cs index 372c5cc2d..01081651b 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/Commands/ReadNdefDataResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/Commands/ReadNdefDataResponseTests.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/ExtendedFlagsTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/ExtendedFlagsTests.cs index f9521f62a..df5eb58c4 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/ExtendedFlagsTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/ExtendedFlagsTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Xunit; namespace Yubico.YubiKey.Otp diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/TicketFlagsTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/TicketFlagsTests.cs index a0fffb2ee..1f4ecdc12 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/TicketFlagsTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Otp/TicketFlagsTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Xunit; namespace Yubico.YubiKey.Otp diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Pipelines/CommandChainingTransformTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Pipelines/CommandChainingTransformTests.cs index 53acf898b..c4ebb4e40 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Pipelines/CommandChainingTransformTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Pipelines/CommandChainingTransformTests.cs @@ -15,7 +15,6 @@ using System; using System.Collections.Generic; using System.Linq; -using Microsoft.VisualStudio.TestPlatform.ObjectModel.Client; using Moq; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/DecryptCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/DecryptCommandTests.cs index 06ed4b056..f000cfce1 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/DecryptCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/DecryptCommandTests.cs @@ -14,7 +14,6 @@ using System; using System.Collections.Generic; -using System.Linq; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/GenPairResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/GenPairResponseTests.cs index dbba85460..e8ea1d2b8 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/GenPairResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/GenPairResponseTests.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Linq; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/GetDataResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/GetDataResponseTests.cs index 8fec458d8..9a6157503 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/GetDataResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/GetDataResponseTests.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Linq; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/ImportKeyResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/ImportKeyResponseTests.cs index e0bcd7548..b635430e7 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/ImportKeyResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/ImportKeyResponseTests.cs @@ -13,8 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; -using System.Linq; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/PivCommandResponseTestData.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/PivCommandResponseTestData.cs index 22f7ca0ce..ae2eb8c71 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/PivCommandResponseTestData.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Commands/PivCommandResponseTestData.cs @@ -12,10 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using System.Collections.Generic; using System.Security.Cryptography; -using Yubico.Core.Buffers; using Yubico.Core.Tlv; using Yubico.YubiKey.TestUtilities; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Objects/AdminTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Objects/AdminTests.cs index 809b63a26..c456067d7 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Objects/AdminTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Objects/AdminTests.cs @@ -13,9 +13,7 @@ // limitations under the License. using System; -using System.Security.Cryptography; using Xunit; -using Yubico.YubiKey.TestUtilities; namespace Yubico.YubiKey.Piv.Objects { diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Objects/PinProtectedTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Objects/PinProtectedTests.cs index 181230f78..f3f2e1fb3 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Objects/PinProtectedTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/Objects/PinProtectedTests.cs @@ -14,7 +14,6 @@ using System; using Xunit; -using Yubico.YubiKey.TestUtilities; namespace Yubico.YubiKey.Piv.Objects { diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivAlgorithmTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivAlgorithmTests.cs index f780ea885..dc00305e9 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivAlgorithmTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivAlgorithmTests.cs @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Collections.Generic; -using System.Linq; using Xunit; namespace Yubico.YubiKey.Piv diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivDataTagTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivDataTagTests.cs index af1910e84..25410667a 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivDataTagTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivDataTagTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Xunit; using Yubico.YubiKey.Piv.Commands; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivPinUtilTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivPinUtilTests.cs index 74247484f..ec9a13276 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivPinUtilTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivPinUtilTests.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivPrivateKeyTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivPrivateKeyTests.cs index 3db698fe0..0ea52199d 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivPrivateKeyTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivPrivateKeyTests.cs @@ -15,7 +15,6 @@ using System; using System.Security.Cryptography; using Xunit; -using Yubico.Core.Buffers; using Yubico.YubiKey.TestUtilities; namespace Yubico.YubiKey.Piv diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivSessionAuthTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivSessionAuthTests.cs index c15180d5a..27b5bdd00 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivSessionAuthTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivSessionAuthTests.cs @@ -14,7 +14,6 @@ using System; using Xunit; -using Yubico.YubiKey.Cryptography; using Yubico.YubiKey.TestUtilities; namespace Yubico.YubiKey.Piv diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivSessionMsrootsTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivSessionMsrootsTests.cs index adb7cd896..24dad5524 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivSessionMsrootsTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/Piv/PivSessionMsrootsTests.cs @@ -15,7 +15,6 @@ using System; using System.IO; using Xunit; -using Yubico.YubiKey.Cryptography; using Yubico.YubiKey.TestUtilities; namespace Yubico.YubiKey.Piv diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/AuthDataTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/AuthDataTests.cs index 490a17dde..1690e17fb 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/AuthDataTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/AuthDataTests.cs @@ -13,13 +13,7 @@ // limitations under the License. using System; -using System.Diagnostics.CodeAnalysis; -using System.Linq; -using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; using Xunit; -using Yubico.Core.Buffers; -using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f { diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/AuthenticateCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/AuthenticateCommandTests.cs index 3aead46c6..7d1a94010 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/AuthenticateCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/AuthenticateCommandTests.cs @@ -14,7 +14,6 @@ using System; using Xunit; -using Yubico.Core.Buffers; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f.Commands diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/AuthenticateResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/AuthenticateResponseTests.cs index 9f1625d93..6fc67478b 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/AuthenticateResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/AuthenticateResponseTests.cs @@ -13,11 +13,7 @@ // limitations under the License. using System; -using System.Diagnostics.CodeAnalysis; -using System.Linq; -using System.Security.Cryptography; using Xunit; -using Yubico.Core.Buffers; using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f.Commands diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/RegisterResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/RegisterResponseTests.cs index c5065247a..6298edb3e 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/RegisterResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/Commands/RegisterResponseTests.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Security.Cryptography; using Xunit; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/RegistrationDataTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/RegistrationDataTests.cs index a5e47bcd3..ef834da24 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/RegistrationDataTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/U2f/RegistrationDataTests.cs @@ -13,13 +13,9 @@ // limitations under the License. using System; -using System.Diagnostics.CodeAnalysis; -using System.Linq; using System.Security.Cryptography; -using System.Security.Cryptography.X509Certificates; using Xunit; using Yubico.Core.Buffers; -using Yubico.Core.Iso7816; namespace Yubico.YubiKey.U2f { diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Aes128CredentialWithSecretsTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Aes128CredentialWithSecretsTests.cs index 7471c443c..76e39d052 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Aes128CredentialWithSecretsTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Aes128CredentialWithSecretsTests.cs @@ -14,7 +14,6 @@ using System; using Xunit; -using Yubico.Core.Tlv; namespace Yubico.YubiKey.YubiHsmAuth { diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/AddCredentialCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/AddCredentialCommandTests.cs index ddd4f4b4f..d5df20331 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/AddCredentialCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/AddCredentialCommandTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using System.Text; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/AddCredentialResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/AddCredentialResponseTests.cs index e76724fce..b7fed25d5 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/AddCredentialResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/AddCredentialResponseTests.cs @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Collections.Generic; -using System.Text; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponseTests.cs index 01836a64c..e722c01bf 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponseTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponseWithRetriesTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponseWithRetriesTests.cs index e7db857ce..01a464260 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponseWithRetriesTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/BaseYubiHsmAuthResponseWithRetriesTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysResponseTests.cs index c087fb956..87adb33af 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetAes128SessionKeysResponseTests.cs @@ -15,7 +15,6 @@ using System; using Xunit; using Yubico.Core.Iso7816; -using Yubico.YubiKey.Scp03; namespace Yubico.YubiKey.YubiHsmAuth.Commands { diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetApplicationVersionCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetApplicationVersionCommandTests.cs index e6be5c69e..f6455a43a 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetApplicationVersionCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetApplicationVersionCommandTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesCommandTests.cs index 378fd28e2..851aa9e8d 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesCommandTests.cs @@ -12,10 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Xunit; using Yubico.Core.Iso7816; -using Yubico.Core.Tlv; namespace Yubico.YubiKey.YubiHsmAuth.Commands { diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesResponseTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesResponseTests.cs index 15858648c..36466b3b8 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesResponseTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/GetManagementKeyRetriesResponseTests.cs @@ -13,8 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; -using System.Text; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/ListCredentialsCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/ListCredentialsCommandTests.cs index 055ec2077..0bcacb2c9 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/ListCredentialsCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/ListCredentialsCommandTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationCommandTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationCommandTests.cs index 254857f26..baeaeb610 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationCommandTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/Commands/ResetApplicationCommandTests.cs @@ -12,7 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; using Xunit; using Yubico.Core.Iso7816; diff --git a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/CredentialWithSecretsTests.cs b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/CredentialWithSecretsTests.cs index e3c20238d..7012764ee 100644 --- a/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/CredentialWithSecretsTests.cs +++ b/Yubico.YubiKey/tests/unit/Yubico/YubiKey/YubiHsmAuth/CredentialWithSecretsTests.cs @@ -14,7 +14,6 @@ using System; using Xunit; -using Yubico.Core.Tlv; namespace Yubico.YubiKey.YubiHsmAuth { diff --git a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/BadAttestationPairs.cs b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/BadAttestationPairs.cs index 4fb742794..dd3f474bb 100644 --- a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/BadAttestationPairs.cs +++ b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/BadAttestationPairs.cs @@ -12,9 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -using System; -using System.Security.Cryptography.X509Certificates; - namespace Yubico.YubiKey.TestUtilities { public static class BadAttestationPairs diff --git a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/DeviceReset.cs b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/DeviceReset.cs index b32a4ea97..6e2d6cfac 100644 --- a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/DeviceReset.cs +++ b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/DeviceReset.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Linq; using Yubico.YubiKey.Oath; using Yubico.YubiKey.Piv; using Yubico.YubiKey.YubiHsmAuth; diff --git a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SelectSupport.cs b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SelectSupport.cs index ff14692f4..262108a20 100644 --- a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SelectSupport.cs +++ b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SelectSupport.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SimpleIntegrationTestConnection.cs b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SimpleIntegrationTestConnection.cs index 571ebb65c..b3dee85d4 100644 --- a/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SimpleIntegrationTestConnection.cs +++ b/Yubico.YubiKey/tests/utilities/Yubico/YubiKey/TestUtilities/SimpleIntegrationTestConnection.cs @@ -13,7 +13,6 @@ // limitations under the License. using System; -using Yubico.YubiKey; namespace Yubico.YubiKey.TestUtilities {