Skip to content

Examples how to generate and store asymmetric algorithms with JsonWebKey

Notifications You must be signed in to change notification settings

mm86133/Tests-RSA-ECDsa-HMAC-JWK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example - Testing many Cryptographic algorithms to digitally signing JWT

Theses examples shows up how to generate asymmetric encryption with RSA and ECDsa. Also store them as JWK and recover back from store.

The main goal is to demonstrate how you can use Asymmetric keys with your JWT and solve the problem that many developers has, how to keep signing JWT with same key, even when API restart.

Techs:

  • .NET Standard 2.1
  • Microsoft.IdentityModel.JsonWebTokens

More details at (pt-BR only):

Bruno Brito - ASP.NET Core - Como assinar digitalmente seu JWT

About

Examples how to generate and store asymmetric algorithms with JsonWebKey

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%