Module jwt_compact_preview::alg[][src]

Implementations of JWT signing / verification algorithms.

Structs

Ed25519

Integrity algorithm using digital signatures on the Ed25519 elliptic curve.

Ed25519SigningKey

A signing key.

Ed25519VerifyingKey

A verification key.

Es256k

Algorithm implementing elliptic curve digital signatures (ECDSA) on the secp256k1 curve.

Es256kSigningKey

A signing key.

Es256kVerifyingKey

A verification key.

Hs256

HS256 signing algorithm.

Hs256Key

Signing / verifying key for HS256 algorithm. Zeroed on drop.

Hs384

HS384 signing algorithm.

Hs384Key

Signing / verifying key for HS384 algorithm. Zeroed on drop.

Hs512

HS512 signing algorithm.

Hs512Key

Signing / verifying key for HS512 algorithm. Zeroed on drop.

Ps256

RSASSA-PSS with SHA-256 as a hash function

Ps384

RSASSA-PSS with SHA-384 as a hash function

Ps512

RSASSA-PSS with SHA-512 as a hash function

Rs256

RSA-PKCS1v1.5 with SHA-256 as a hash function

Rs384

RSA-PKCS1v1.5 with SHA-384 as a hash function

Rs512

RSA-PKCS1v1.5 with SHA-512 as a hash function

Rsa

Integrity algorithm using digital signatures on RSA-PKCS1v1.5 and SHA-256.

RsaSigningKey

An RSA signing key.

RsaVerifyingKey

An RSA public key.

Enums

Padding

RSA padding algorithm.