APF.HmacValidator 7.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package APF.HmacValidator --version 7.1.1
                    
NuGet\Install-Package APF.HmacValidator -Version 7.1.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="APF.HmacValidator" Version="7.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="APF.HmacValidator" Version="7.1.1" />
                    
Directory.Packages.props
<PackageReference Include="APF.HmacValidator" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add APF.HmacValidator --version 7.1.1
                    
#r "nuget: APF.HmacValidator, 7.1.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=APF.HmacValidator&version=7.1.1
                    
Install APF.HmacValidator as a Cake Addin
#tool nuget:?package=APF.HmacValidator&version=7.1.1
                    
Install APF.HmacValidator as a Cake Tool

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.

  1. secretKey ⇒ Created at time of Webhook configuration at AndDone platform Agnet Portal.
  2. 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

  1. secretKey ⇒ Created at time of Webhook configuration at AndDone platform Agnet Portal.
  2. 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.

7.1.0.0-beta

  • added webhook for MerchantOnboarded and MerchantMigrated events
Product 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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.1.1.2 116 11 days ago
7.1.1.1 108 11 days ago
7.1.1 110 11 days ago
7.1.0.1 597 14 days ago
7.1.0-Beta-04 134 18 days ago
7.1.0-Beta-03 232 a month ago
7.1.0-Beta-02 181 a month ago
7.1.0-beta 92 2 months ago
7.0.0.7 949 9 months ago
7.0.0.6 432 4/30/2024
7.0.0.5 147 4/30/2024
7.0.0.4 262 3/6/2024
7.0.0.3 224 2/2/2024
7.0.0.2 330 10/11/2023
7.0.0.1 283 9/18/2023
7.0.0 279 8/16/2023
6.0.0.3 222 6/16/2023
6.0.0.2 462 2/8/2023
6.0.0.1 344 1/25/2023
6.0.0 316 1/24/2023
2.0.0.1 857 6/16/2023
2.0.0 246 3/31/2023
1.0.0.9 200 6/16/2023
1.0.0.8 581 10/10/2022
1.0.0.7 676 3/30/2022
1.0.0.6 455 3/30/2022
1.0.0.5 492 3/23/2022
1.0.0.4 467 3/22/2022
1.0.0.3 491 3/22/2022
1.0.0.2 484 3/22/2022
1.0.0.1 468 3/22/2022
1.0.0 478 3/21/2022