jose-jwt 3.2.0

Javascript Object Signing and Encryption (JOSE), JSON Web Token (JWT) and JSON Web Encryption (JWE) Implementation for .NET

Ultimate Javascript Object Signing and Encryption (JOSE), JSON Web Token (JWT) and JSON Web Encryption (JWE) Implementation for .NET. Minimallistic. Zero-dependency. Full suite of signature and encryption algorithms.
Supports generating, decoding, encryption and compression of JSON Web Tokens. JSON parsing agnostic. Supports two-phase validation. FIPS compliant. Unencoded payload and detached content support (RFC 7797).
JSON Web Encryption (JWE, RFC 7516) support.

CLR (.net framework 4.0+) supported algorithms

Signing:
 - HMAC signatures with HS256, HS384 and HS512.
 - ECDSA signatures with ES256, ES384 and ES512.
 - RSASSA-PKCS1-V1_5 signatures with RS256, RS384 and RS512.
 - RSASSA-PSS signatures (probabilistic signature scheme with appendix) with PS256, PS384 and PS512.
 - NONE (unprotected) plain text algorithm without integrity protection

Encryption:
 - RSAES OAEP 256 encryption with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM, A256GCM
 - RSAES OAEP encryption with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM, A256GCM
 - RSAES-PKCS1-V1_5 encryption with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM, A256GCM
 - Direct symmetric key encryption with pre-shared key A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM and A256GCM
 - A128KW, A192KW, A256KW encryption with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM and A256GCM
 - A128GCMKW, A192GCMKW, A256GCMKW encryption with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM and A256GCM
 - ECDH-ES encryption with A128CBC-HS256, A128GCM, A192GCM, A256GCM
 - ECDH-ES+A128KW, ECDH-ES+A192KW, ECDH-ES+A256KW encryption with A128CBC-HS256, A128GCM, A192GCM, A256GCM
 - PBES2-HS256+A128KW, PBES2-HS384+A192KW, PBES2-HS512+A256KW with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM, A256GCM

Compression:
 - DEFLATE compression

RFC 7797:
 - Unencoded payload
 - Detached content

RFC 7516:
 - JSON Web Encryption (JWE) support


CORECLR (.netstandard 1.4+) supported algorithms:

Signing:
 - HMAC signatures with HS256, HS384 and HS512.
 - ECDSA signatures with ES256, ES384 and ES512.
 - RSASSA-PKCS1-V1_5 signatures with RS256, RS384 and RS512.
 - RSASSA-PSS signatures (probabilistic signature scheme with appendix) with PS256, PS384 and PS512.
 - NONE (unprotected) plain text algorithm without integrity protection

Encryption:
 - RSAES OAEP 256 encryption with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM, A256GCM
 - RSAES OAEP encryption with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM, A256GCM
 - RSAES-PKCS1-V1_5 encryption with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM, A256GCM
 - Direct symmetric key encryption with pre-shared key A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM and A256GCM
 - A128KW, A192KW, A256KW encryption with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM and A256GCM
 - A128GCMKW, A192GCMKW, A256GCMKW encryption with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM and A256GCM
 - ECDH-ES encryption with A128CBC-HS256, A128GCM, A192GCM, A256GCM
 - ECDH-ES+A128KW, ECDH-ES+A192KW, ECDH-ES+A256KW encryption with A128CBC-HS256, A128GCM, A192GCM, A256GCM
 - PBES2-HS256+A128KW, PBES2-HS384+A192KW, PBES2-HS512+A256KW with A128CBC-HS256, A192CBC-HS384, A256CBC-HS512, A128GCM, A192GCM, A256GCM

Compression:
 - DEFLATE compression

RFC 7797:
 - Unencoded payload
 - Detached content

RFC 7516:
 - JSON Web Encryption (JWE) support

Install-Package jose-jwt -Version 3.2.0
dotnet add package jose-jwt --version 3.2.0
<PackageReference Include="jose-jwt" Version="3.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add jose-jwt --version 3.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: jose-jwt, 3.2.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install jose-jwt as a Cake Addin
#addin nuget:?package=jose-jwt&version=3.2.0

// Install jose-jwt as a Cake Tool
#tool nuget:?package=jose-jwt&version=3.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Switching to System.Text.Json for netstandard2.1

NuGet packages (145)

Showing the top 5 NuGet packages that depend on jose-jwt:

Package Downloads
MiNET
MiNET - a Minecraft PocketEdition Server
Nexmo.Csharp.Client
Official C#/.NET wrapper for the Nexmo API
GitHubJwt
A helper library to generate GitHub JWT from GitHub Apps private key
CyberSource.Authentication
Use this SDK to generate Authentication Headers to be sent for the Cybersource REST API Calls
Jimu.Server
Jimu Server

GitHub repositories (11)

Showing the top 5 popular GitHub repositories that depend on jose-jwt:

Repository Stars
xamarin/ios-samples
Xamarin.iOS sample apps
ariacom/Seal-Report
Open Database Reporting Tool (.Net)
NiclasOlofsson/MiNET
A (not so) basic Minecraft Pocket Edition server written in C#
Soluto/kamus
An open source, git-ops, zero-trust secret encryption and decryption solution for Kubernetes applications
cocoa-mhlw/cocoa

Version History

Version Downloads Last updated
3.2.0 45,923 7/12/2021
3.1.1 134,400 4/13/2021
3.1.0 20,943 4/1/2021
3.0.0 296,037 12/10/2020
2.6.1 140,858 11/6/2020
2.6.0 179,233 10/1/2020
2.5.0 1,494,117 11/4/2019
2.4.0 4,475,953 6/21/2017
2.3.0 514,636 4/20/2017
2.2.0 94,000 2/15/2017
2.1.0 192,463 12/5/2016
2.0.2 144,844 9/27/2016
2.0.1 85,255 8/1/2016
1.9.3 69,439 7/1/2016
1.9.2 45,256 4/14/2016
1.9.1 91,928 1/13/2016
1.9.0 115,723 6/12/2015
1.8.0 2,184 10/22/2014
1.7.0 2,518 7/9/2014
1.6.0 993 6/20/2014
1.5.0 922 6/17/2014
1.4.0 901 6/9/2014
1.3.0 891 6/2/2014
1.2.0 974 4/12/2014
1.1.0 945 3/22/2014
1.0.0 2,117 3/11/2014