APF.HmacValidator
7.0.0.7
dotnet add package APF.HmacValidator --version 7.0.0.7
NuGet\Install-Package APF.HmacValidator -Version 7.0.0.7
<PackageReference Include="APF.HmacValidator" Version="7.0.0.7" />
paket add APF.HmacValidator --version 7.0.0.7
#r "nuget: APF.HmacValidator, 7.0.0.7"
// Install APF.HmacValidator as a Cake Addin #addin nuget:?package=APF.HmacValidator&version=7.0.0.7 // Install APF.HmacValidator as a Cake Tool #tool nuget:?package=APF.HmacValidator&version=7.0.0.7
anddone-hmac-validator
anddone-hmac-validator projects helps to calculate and validate HMAC signature.
Project Structure
/src /HmacValidator
/test /HmacValidator.Tests
Utilities.sln
Importent Methods
HmacValidator Class used to calculate and validate HMac signature
CalculateHmac - Returns HMAC signature string
This method is used to Calculate the HMAC signature, It takes the 2 arguments. This can be used to generate a Hmac signature for the object.
- secretKey ⇒ Created at time of Webhook configuration at AndDone platform Agnet Portal.
- webhookNotification ⇒ the notification deserialized into an object.
IsValidHmac Return boolean parameter indicates if the HMAC singature is valid or not
This method is used to validate the HMAC signature, It takes the 2 arguments
- secretKey ⇒ Created at time of Webhook configuration at AndDone platform Agnet Portal.
- webhookNotification ⇒ the notification deserializedinto an object with a signature property provided.
HMac Validator Nuget Pacakge We have also create the Nuget package for same code. This package can be used to calculate / validate Hmac signatures for .Net Core projects.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- Newtonsoft.Json (>= 13.0.3)
-
.NETStandard 2.0
- Newtonsoft.Json (>= 13.0.3)
-
net6.0
- Newtonsoft.Json (>= 13.0.3)
-
net7.0
- Newtonsoft.Json (>= 13.0.3)
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 |
---|---|---|
7.0.0.7 | 281 | 7/17/2024 |
7.0.0.6 | 409 | 4/30/2024 |
7.0.0.5 | 127 | 4/30/2024 |
7.0.0.4 | 243 | 3/6/2024 |
7.0.0.3 | 206 | 2/2/2024 |
7.0.0.2 | 315 | 10/11/2023 |
7.0.0.1 | 272 | 9/18/2023 |
7.0.0 | 255 | 8/16/2023 |
6.0.0.3 | 204 | 6/16/2023 |
6.0.0.2 | 444 | 2/8/2023 |
6.0.0.1 | 323 | 1/25/2023 |
6.0.0 | 297 | 1/24/2023 |
2.0.0.1 | 832 | 6/16/2023 |
2.0.0 | 230 | 3/31/2023 |
1.0.0.9 | 182 | 6/16/2023 |
1.0.0.8 | 559 | 10/10/2022 |
1.0.0.7 | 649 | 3/30/2022 |
1.0.0.6 | 428 | 3/30/2022 |
1.0.0.5 | 466 | 3/23/2022 |
1.0.0.4 | 438 | 3/22/2022 |
1.0.0.3 | 463 | 3/22/2022 |
1.0.0.2 | 456 | 3/22/2022 |
1.0.0.1 | 440 | 3/22/2022 |
1.0.0 | 449 | 3/21/2022 |