MCPcopy Create free account

hub / github.com/Keats/jsonwebtoken / functions

Functions231 in github.com/Keats/jsonwebtoken

Functionserialize
Serializes an OffsetDateTime to a Unix timestamp (milliseconds since 1970/1/1T00:00:00T)
examples/custom_time.rs:45
Methodserialize
(&self, serializer: S)
src/header.rs:38
Methodserialize
(&self, serializer: S)
src/jwk.rs:30
Functionshould_fail_on_invalid_timestamp
()
examples/custom_time.rs:99
Functionsign_hs256
()
tests/hmac.rs:24
Functionsub_missing_fails
()
src/validation.rs:691
Functionsub_not_matching_fails
()
src/validation.rs:674
Functionsub_ok
()
src/validation.rs:662
Functiontest
()
examples/ed25519.rs:64
Functiontest_error_rendering
()
src/errors.rs:195
Functiontest_string_exp_rejected_when_validate_exp_enabled
()
tests/hmac.rs:331
Functiontest_string_nbf_rejected_when_validate_nbf_enabled
()
tests/hmac.rs:310
Functionto_token_and_parse_equals_identity
()
examples/custom_time.rs:113
Methodtry_from
(jwk: &Jwk)
src/decoding.rs:252
Methodtry_get_hmac_secret
Try to get the HMAC secret from a key.
src/decoding.rs:240
Methodtry_get_hmac_secret
Try to get the HMAC secret from a key.
src/encoding.rs:118
Methodtry_sign
(&self, msg: &[u8])
src/crypto/rust_crypto/eddsa.rs:27
Functiontry_sign_rsa
( encoding_key: &EncodingKey, msg: &[u8], pss: bool, )
src/crypto/rust_crypto/rsa.rs:22
Functiontry_sign_rsa
Try to sign the `message` using an `RSA` `algorithm`.
src/crypto/aws_lc/rsa.rs:14
Functionvalidate_required_fields_are_present
()
src/validation.rs:493
Functionverify_hs256
()
tests/hmac.rs:33
Functionverify_hs256_rfc7517_appendix_a1
()
tests/hmac.rs:276
Functionverify_rsa
( scheme: S, decoding_key: &DecodingKey, msg: &[u8], signature: &[u8], )
src/crypto/rust_crypto/rsa.rs:44
Functionverify_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
Methodvisit_f64
(self, value: f64)
src/validation.rs:382
Methodvisit_str
(self, v: &str)
src/jwk.rs:57
Methodvisit_u64
(self, value: u64)
src/validation.rs:375
Methodx5c_der
Decodes the X.509 certificate chain into ASN.1 DER format.
src/header.rs:223
Functionx5c_der_empty_chain
()
tests/header/mod.rs:10
Functionx5c_der_invalid_chain
()
tests/header/mod.rs:32
Functionx5c_der_valid_chain
()
tests/header/mod.rs:20
← previous201–231 of 231, ranked by callers