NuGet Package Jose JWT

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.

Info

Version: 2.5.0
Author(s): Dmitry Vsekhvalnov
Last Update: Monday, November 4, 2019
.NET Fiddle: Online Example
Project Url: https://github.com/dvsekhvalnov/jose-jwt
NuGet Url: https://www.nuget.org/packages/jose-jwt


Install
Install-Package jose-jwt
dotnet add package jose-jwt
paket add jose-jwt
jose-jwt Download (Unzip the "nupkg" after downloading)

.NETFramework 4.0
  • No dependencies.
net461
  • No dependencies.
netstandard1.4 89 packages depend on this package.


Tags



STATS

must-have-score

5

avg-downloads-per-day

1170

days-since-last-release

35