Skip to main content

Crate uselesskey_core_jwk_shape

Crate uselesskey_core_jwk_shape 

Source
Expand description

Deprecated compatibility shim for typed JWK and JWKS shape helpers.

Prefer uselesskey-jwk; the canonical implementation now lives there.

Structs§

EcPrivateJwk
Elliptic-curve private key in JWK format (P-256 / P-384, includes d).
EcPublicJwk
Elliptic-curve public key in JWK format (P-256 / P-384).
Jwks
A JSON Web Key Set containing zero or more JWK entries.
OctJwk
Symmetric (octet) key in JWK format (HMAC HS256/HS384/HS512).
OkpPrivateJwk
OKP (Octet Key Pair) private key in JWK format (Ed25519, includes d).
OkpPublicJwk
OKP (Octet Key Pair) public key in JWK format (Ed25519).
RsaPrivateJwk
RSA private key in JWK format (includes CRT parameters p, q, dp, dq, qi).
RsaPublicJwk
RSA public key in JWK format (contains n and e).

Enums§

AnyJwk
Either a public or private JWK.
NegativeJwk
Negative JWK shape variants for downstream parser and validator tests.
NegativeJwks
Negative JWKS shape variants for downstream key-set tests.
PrivateJwk
A private (or symmetric) JWK of any supported key type.
PublicJwk
A public JWK of any supported key type.