arian.ctapsharp
1.0.0
dotnet add package arian.ctapsharp --version 1.0.0
NuGet\Install-Package arian.ctapsharp -Version 1.0.0
<PackageReference Include="arian.ctapsharp" Version="1.0.0" />
<PackageVersion Include="arian.ctapsharp" Version="1.0.0" />
<PackageReference Include="arian.ctapsharp" />
paket add arian.ctapsharp --version 1.0.0
#r "nuget: arian.ctapsharp, 1.0.0"
#:package arian.ctapsharp@1.0.0
#addin nuget:?package=arian.ctapsharp&version=1.0.0
#tool nuget:?package=arian.ctapsharp&version=1.0.0
CtapSharp
.NET client library for FIDO2/CTAP 2.0 authenticators over USB HID and NFC transports. Implements core CTAP commands: authenticatorGetInfo, authenticatorGetAssertion, authenticatorMakeCredential, clientPin, and more. Interact directly with security keys, passkeys, and FIDO2 hardware tokens from your .NET applications.
How to use
You simply need to look for a FIDO security key device, choose one and create an object of Ctap class using the found device. Then send the CTAP packets to the selected device.
foreach (var device in FidoSecurityKeyDevices.AllDevices)
{
using (var ctap = new Ctap(device)) // Make sure the ctap object is disposed when finished
{
var securityKeyInfo = ctap.GetInfo().ToCborObject();
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- HidSharp (>= 2.6.4)
- LibUsbDotNet (>= 2.2.75)
- PCSC.Iso7816 (>= 7.0.1)
- PeterO.Cbor (>= 4.5.5)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|
Initial release of a CTAP library which provides all CTAP 2.0 supported functions.
The BLE transport and CTAP 2.1 will be release in another update later.