jose-jwt 2.5.0

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



Ultimate Javascript Object Signing and Encryption (JOSE) and JSON Web Token (JWT) 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).



CLR 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





CORECLR 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.

- 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


Compression:



- DEFLATE compression




RFC 7797:



- Unencoded payload


- Detached content

Install-Package jose-jwt -Version 2.5.0
dotnet add package jose-jwt --version 2.5.0
<PackageReference Include="jose-jwt" Version="2.5.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add jose-jwt --version 2.5.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

RFC 7797 support. Unencoded payload and detached content for encoding and decoding.

NuGet packages (117)

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
IdentityModel.HttpSigning
A Method for Signing HTTP Requests for OAuth

GitHub repositories (10)

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

Repository Stars
Covid-19Radar/Covid19Radar
Open Source / i18n / iOS Android Cross Platform Contact Tracing App by exposure notification framework Xamarin App and Server Side Code
xamarin/ios-samples
Xamarin.iOS sample apps
ariacom/Seal-Report
Open Database Reporting Tool (.Net)
Soluto/kamus
An open source, git-ops, zero-trust secret encryption and decryption solution for Kubernetes applications
NiclasOlofsson/MiNET
A (not so) basic Minecraft Pocket Edition server written in C#

Version History

Version Downloads Last updated
2.5.0 574,827 11/4/2019
2.4.0 2,945,748 6/21/2017
2.3.0 321,726 4/20/2017
2.2.0 75,464 2/15/2017
2.1.0 160,040 12/5/2016
2.0.2 111,327 9/27/2016
2.0.1 55,536 8/1/2016
1.9.3 51,930 7/1/2016
1.9.2 37,853 4/14/2016
1.9.1 77,138 1/13/2016
1.9.0 106,438 6/12/2015
1.8.0 1,874 10/22/2014
1.7.0 2,000 7/9/2014
1.6.0 698 6/20/2014
1.5.0 608 6/17/2014
1.4.0 609 6/9/2014
1.3.0 592 6/2/2014
1.2.0 683 4/12/2014
1.1.0 645 3/22/2014
1.0.0 1,594 3/11/2014