Overview of JWS, JWE, JWK, and JWT interfaces
mainThe joserfc library provides interfaces for the core components of the JOSE (JSON Object Signing and Encryption) framework:
- JWS (JSON Web Signature): Used for encoding and signing data. Most JSON Web Tokens (JWTs) use JWS in compact serialization.
- JWE (JSON Web Encryption): Used for representing encrypted content using JSON-based data structures.
- JWK (JSON Web Key): Provides key management through specific key types like
OctKey,RSAKey,ECKey,OKPKey, and JSON Web Key Sets (JWK Sets). - JWT (JSON Web Token): A high-level token format built on top of either JWS or JWE.