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
serialize
Serializes an OffsetDateTime to a Unix timestamp (milliseconds since 1970/1/1T00:00:00T)
examples/custom_time.rs:45
Method
serialize
(&self, serializer: S)
src/header.rs:38
Method
serialize
(&self, serializer: S)
src/jwk.rs:30
Function
should_fail_on_invalid_timestamp
()
examples/custom_time.rs:99
Function
sign_hs256
()
tests/hmac.rs:24
Function
sub_missing_fails
()
src/validation.rs:691
Function
sub_not_matching_fails
()
src/validation.rs:674
Function
sub_ok
()
src/validation.rs:662
Function
test
()
examples/ed25519.rs:64
Function
test_error_rendering
()
src/errors.rs:195
Function
test_string_exp_rejected_when_validate_exp_enabled
()
tests/hmac.rs:331
Function
test_string_nbf_rejected_when_validate_nbf_enabled
()
tests/hmac.rs:310
Function
to_token_and_parse_equals_identity
()
examples/custom_time.rs:113
Method
try_from
(jwk: &Jwk)
src/decoding.rs:252
Method
try_get_hmac_secret
Try to get the HMAC secret from a key.
src/decoding.rs:240
Method
try_get_hmac_secret
Try to get the HMAC secret from a key.
src/encoding.rs:118
Method
try_sign
(&self, msg: &[u8])
src/crypto/rust_crypto/eddsa.rs:27
Function
try_sign_rsa
( encoding_key: &EncodingKey, msg: &[u8], pss: bool, )
src/crypto/rust_crypto/rsa.rs:22
Function
try_sign_rsa
Try to sign the `message` using an `RSA` `algorithm`.
src/crypto/aws_lc/rsa.rs:14
Function
validate_required_fields_are_present
()
src/validation.rs:493
Function
verify_hs256
()
tests/hmac.rs:33
Function
verify_hs256_rfc7517_appendix_a1
()
tests/hmac.rs:276
Function
verify_rsa
( scheme: S, decoding_key: &DecodingKey, msg: &[u8], signature: &[u8], )
src/crypto/rust_crypto/rsa.rs:44
Function
verify_rsa
Return a `aws_lc_rs` RSA public key from a [`DecodingKey`] # Errors - If `decoding_key` is not from the RSA family.
src/crypto/aws_lc/rsa.rs:34
Method
visit_f64
(self, value: f64)
src/validation.rs:382
Method
visit_str
(self, v: &str)
src/jwk.rs:57
Method
visit_u64
(self, value: u64)
src/validation.rs:375
Method
x5c_der
Decodes the X.509 certificate chain into ASN.1 DER format.
src/header.rs:223
Function
x5c_der_empty_chain
()
tests/header/mod.rs:10
Function
x5c_der_invalid_chain
()
tests/header/mod.rs:32
Function
x5c_der_valid_chain
()
tests/header/mod.rs:20
← previous
201–231 of 231, ranked by callers