Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Keats/jsonwebtoken
/ functions
Functions
231 in github.com/Keats/jsonwebtoken
⨍
Functions
231
◇
Types & classes
65
Function
exp_in_future_but_in_rejection_period_fails
()
src/validation.rs:426
Function
exp_in_future_ok
()
src/validation.rs:418
Function
exp_in_past_but_in_leeway_ok
()
src/validation.rs:482
Function
exp_in_past_fails
()
src/validation.rs:456
Function
exp_required_but_not_validated_fails
()
src/validation.rs:538
Function
exp_required_but_not_validated_ok
()
src/validation.rs:527
Function
exp_validated_but_not_required_fails
()
src/validation.rs:516
Function
exp_validated_but_not_required_ok
()
src/validation.rs:505
Method
expecting
(&self, formatter: &mut fmt::Formatter)
src/validation.rs:371
Method
expecting
(&self, formatter: &mut fmt::Formatter<'_>)
src/jwk.rs:53
Function
extract_ec_public_key_coordinates
( key_content: &[u8], alg: Algorithm, )
src/crypto/rust_crypto/mod.rs:25
Function
extract_ec_public_key_coordinates
( key_content: &[u8], alg: Algorithm, )
src/crypto/aws_lc/mod.rs:29
Function
extract_rsa_public_key_components
(key_content: &[u8])
src/crypto/rust_crypto/mod.rs:18
Function
extract_rsa_public_key_components
(key_content: &[u8])
src/crypto/aws_lc/mod.rs:21
Method
family
The family of the algorithm.
src/algorithms.rs:97
Method
fmt
(&self, f: &mut fmt::Formatter)
src/errors.rs:120
Method
fmt
(&self, f: &mut Formatter<'_>)
src/decoding.rs:62
Method
fmt
(&self, f: &mut Formatter<'_>)
src/encoding.rs:128
Method
fmt
(&self, f: &mut fmt::Formatter)
src/jwk.rs:226
Method
from
(err: base64::DecodeError)
src/errors.rs:158
Method
from_base64_secret
If you're using HMAC with a base64 encoded secret, use this.
src/decoding.rs:103
Method
from_base64_secret
If you have a base64 HMAC secret, use that.
src/encoding.rs:39
Method
from_crate_features
()
src/crypto/mod.rs:104
Method
from_ec_components
If you have (x,y) ECDSA key components
src/decoding.rs:151
Method
from_ec_der
If you know what you're doing and have a EC DER encoded public key, use this.
src/decoding.rs:187
Method
from_ec_der
If you know what you're doing and have the DER-encoded key, for ECDSA
src/encoding.rs:103
Method
from_ec_pem
(key: &[u8])
src/decoding.rs:141
Method
from_ec_pem
(key: &[u8])
src/encoding.rs:81
Method
from_ed_components
From x part (base64 encoded) of the JWK encoding
src/decoding.rs:203
Method
from_ed_der
If you know what you're doing and have a Ed DER encoded public key, use this.
src/decoding.rs:195
Method
from_ed_der
If you know what you're doing and have the DER-encoded key, for EdDSA
src/encoding.rs:108
Method
from_ed_pem
(key: &[u8])
src/decoding.rs:169
Method
from_ed_pem
(key: &[u8])
src/encoding.rs:91
Method
from_encoded
Converts an encoded part into the Header struct if possible
src/header.rs:217
Method
from_encoding_key
(key: &EncodingKey, alg: Algorithm)
src/jwk.rs:438
Method
from_jwk
If you have a key in Jwk format
src/decoding.rs:212
Method
from_jwt_part_claims
(encoded_jwt_part_claims: impl AsRef<[u8]>)
src/serialization.rs:30
Method
from_rsa_components
If you have (n, e) RSA public key components as strings, use this.
src/decoding.rs:121
Method
from_rsa_der
If you know what you're doing and have a RSA DER encoded public key, use this.
src/decoding.rs:179
Method
from_rsa_der
If you know what you're doing and have the DER-encoded key, for RSA only
src/encoding.rs:98
Method
from_rsa_pem
(key: &[u8])
src/decoding.rs:111
Method
from_rsa_pem
(key: &[u8])
src/encoding.rs:60
Method
from_rsa_raw_components
If you have (n, e) RSA public key components already decoded, use this.
src/decoding.rs:131
Method
from_secret
If you're using HMAC, use this.
src/decoding.rs:95
Method
from_secret
If you're using a HMAC secret that is not base64, use that.
src/encoding.rs:34
Method
from_str
(s: &str)
src/algorithms.rs:76
Method
from_str
(s: &str)
src/jwk.rs:203
Method
from_urlsafe_base64_secret
For loading websafe base64 HMAC secrets, ex: ACME EAB credentials.
src/encoding.rs:45
Function
generate_algorithm_enum_from_str
()
src/algorithms.rs:120
Method
get_default
()
src/crypto/mod.rs:100
Function
insecure_decode
Decode a JWT with NO VALIDATION DANGER: This performs zero validation on the JWT
src/decoding.rs:301
Method
install_default
Set this `CryptoProvider` as the default for this process. This can be called successfully at most once in any process execution.
src/crypto/mod.rs:96
Method
into_kind
Unwrap this error into its underlying type.
src/errors.rs:26
Method
is_supported
Find whether the Algorithm is implemented and supported
src/jwk.rs:432
Function
iss_array_of_string_ok
()
src/validation.rs:615
Function
iss_missing_fails
()
src/validation.rs:645
Function
iss_not_matching_fails
()
src/validation.rs:627
Function
iss_string_ok
()
src/validation.rs:603
Method
kind
The kind of decoding key.
src/decoding.rs:90
Function
main
()
examples/validation.rs:14
Function
main
()
examples/custom_header.rs:14
Function
main
()
examples/auth0.rs:12
Function
main
()
examples/custom_time.rs:137
Function
main
()
examples/ed25519.rs:16
Function
nbf_float_in_past_ok
()
src/validation.rs:561
Function
nbf_in_future_but_in_leeway_ok
()
src/validation.rs:590
Function
nbf_in_future_fails
()
src/validation.rs:573
Function
nbf_in_past_ok
()
src/validation.rs:549
Method
new
Create a default validation setup allowing the given alg
src/validation.rs:113
Method
new
Returns a JWT header with the algorithm given
src/header.rs:195
Method
new
Read the PEM file for later key use
src/pem/decoder.rs:53
Method
new
(encoding_key: &EncodingKey)
src/crypto/rust_crypto/eddsa.rs:14
Method
new
(encoding_key: &EncodingKey)
src/crypto/aws_lc/eddsa.rs:13
Method
new
If a token should always be equal to its representation after serializing and deserializing again, this function must be used for construction. `Offse
examples/custom_time.rs:22
Method
new
()
examples/ed25519.rs:47
Method
new_for_family
Create a default validation setup allowing any algorithm in the family
src/validation.rs:118
Method
new_impl
(algorithms: Vec<Algorithm>)
src/validation.rs:122
Function
new_signer
(algorithm: &Algorithm, key: &EncodingKey)
src/crypto/rust_crypto/mod.rs:66
Function
new_signer
(algorithm: &Algorithm, key: &EncodingKey)
src/crypto/aws_lc/mod.rs:60
Method
new_unimplemented
Initialises all values to dummies. Will lead to a panic when JWKs are required, so only use it if you don't want to support JWKs.
src/crypto/mod.rs:153
Function
new_verifier
( algorithm: &Algorithm, key: &DecodingKey, )
src/crypto/rust_crypto/mod.rs:85
Function
new_verifier
( algorithm: &Algorithm, key: &DecodingKey, )
src/crypto/aws_lc/mod.rs:79
Function
numeric_type
(deserializer: D)
src/validation.rs:362
Function
round_trip
()
examples/custom_time.rs:75
Function
round_trip_claim
()
tests/hmac.rs:113
Function
round_trip_claim
()
tests/eddsa/mod.rs:56
Function
round_trip_claim
()
tests/ecdsa/mod.rs:56
Function
round_trip_claim
()
tests/rsa/mod.rs:111
Function
round_trip_sign_verification_der
()
tests/rsa/mod.rs:95
Function
round_trip_sign_verification_pem
()
tests/eddsa/mod.rs:37
Function
round_trip_sign_verification_pem
()
tests/ecdsa/mod.rs:37
Function
round_trip_sign_verification_pem_pkcs1
()
tests/rsa/mod.rs:32
Function
round_trip_sign_verification_pem_pkcs8
()
tests/rsa/mod.rs:64
Function
round_trip_sign_verification_pk8
()
tests/eddsa/mod.rs:22
Function
round_trip_sign_verification_pk8
()
tests/ecdsa/mod.rs:22
Function
roundtrip_with_jwtio_example
()
tests/ecdsa/mod.rs:148
Function
roundtrip_with_jwtio_example_jey
()
tests/rsa/mod.rs:212
Function
rsa_jwk
()
tests/rsa/mod.rs:175
Function
rsa_jwk_from_key
()
tests/rsa/mod.rs:249
Function
rsa_modulus_exponent
()
tests/rsa/mod.rs:148
← previous
next →
101–200 of 231, ranked by callers