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.

Showing the top 7 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
GoogleCloudPlatform/dotnet-docs-samples
.NET code samples used on https://cloud.google.com
OpenTouryoProject/OpenTouryo
”Open棟梁”は、長年の.NETアプリケーション開発実績にて蓄積したノウハウに基づき開発した.NET用アプリケーション フレームワークです。 (”OpenTouryo” , is an application framework for .NET which was developed using the accumulated know-how with a long track record in .NET application development.)
JornWildt/Mason
Documentation and examples for the Mason media type

Version History

Version Downloads Last updated
2.5.0 8,247 11/4/2019
2.4.0 1,682,717 6/21/2017
2.3.0 206,048 4/20/2017
2.2.0 61,781 2/15/2017
2.1.0 136,739 12/5/2016
2.0.2 80,367 9/27/2016
2.0.1 45,331 8/1/2016
1.9.3 45,411 7/1/2016
1.9.2 30,015 4/14/2016
1.9.1 65,281 1/13/2016
1.9.0 86,127 6/12/2015
1.8.0 1,715 10/22/2014
1.7.0 1,746 7/9/2014
1.6.0 574 6/20/2014
1.5.0 474 6/17/2014
1.4.0 468 6/9/2014
1.3.0 449 6/2/2014
1.2.0 551 4/12/2014
1.1.0 509 3/22/2014
1.0.0 1,097 3/11/2014