Expand description
polyjose: JSON Object Signing and Encryption in pure Rust.
jsonRFC 8259 JSON with RFC 7493 (I-JSON) constraintsjwaRFC 7518 – algorithm identifiersheaderRFC 7515/7516 – the JOSE HeaderjwkRFC 7517 – keys and key setskeyskey generation and PEM/DER import and export (RFC 7468, RFC 5958, RFC 5280)jwsRFC 7515 – signaturesjweRFC 7516 – encryptionjwtRFC 7519 – tokens and claimsutilbase64url and other helpers
Re-exports§
Modules§
- error
- Error type. The polyjose error type and its stable, cross-platform error codes.
- header
- The JOSE Header (RFC 7515 §4, RFC 7516 §4). The JOSE Header: registered Header Parameters (RFC 7515 §4.1, RFC 7516 §4.1, RFC 7518 §4.6.1/§4.7.1/§4.8.1, RFC 7797 §3) plus any Public or Private Header Parameters (RFC 7515 §4.2–§4.3).
- json
- JSON parser, value type and serializer (RFC 8259, RFC 7493). polyjose’s own JSON: RFC 8259 with the I-JSON constraints of RFC 7493.
- jwa
- Algorithm identifiers (RFC 7518).
Algorithm identifiers: JWS
alg, JWEalgand JWEenc(RFC 7518). - jwe
- JSON Web Encryption (RFC 7516). JSON Web Encryption (RFC 7516).
- jwk
- JSON Web Key (RFC 7517).
JSON Web Key (RFC 7517): typed
oct,RSA,ECandOKPkeys. - jws
- JSON Web Signature (RFC 7515). JSON Web Signature (RFC 7515), with the unencoded payload option (RFC 7797).
- jwt
- JSON Web Token (RFC 7519). JSON Web Token (RFC 7519): claims, the RFC 8725 validation policy, and nested JWTs.
- keys
- Key generation and PEM/DER key import and export (RFC 7468, RFC 5958, RFC 5280 §4.1, RFC 5915, RFC 8410, RFC 8017 App. A.1.1). Key generation and PEM/DER key import and export.
- util
- base64url and helpers. base64url (RFC 4648 §5, no padding) helpers used throughout JOSE.