MCPcopy Create free account

hub / github.com/Keats/jsonwebtoken / functions

Functions231 in github.com/Keats/jsonwebtoken

Functionexp_in_future_but_in_rejection_period_fails
()
src/validation.rs:426
Functionexp_in_future_ok
()
src/validation.rs:418
Functionexp_in_past_but_in_leeway_ok
()
src/validation.rs:482
Functionexp_in_past_fails
()
src/validation.rs:456
Functionexp_required_but_not_validated_fails
()
src/validation.rs:538
Functionexp_required_but_not_validated_ok
()
src/validation.rs:527
Functionexp_validated_but_not_required_fails
()
src/validation.rs:516
Functionexp_validated_but_not_required_ok
()
src/validation.rs:505
Methodexpecting
(&self, formatter: &mut fmt::Formatter)
src/validation.rs:371
Methodexpecting
(&self, formatter: &mut fmt::Formatter<'_>)
src/jwk.rs:53
Functionextract_ec_public_key_coordinates
( key_content: &[u8], alg: Algorithm, )
src/crypto/rust_crypto/mod.rs:25
Functionextract_ec_public_key_coordinates
( key_content: &[u8], alg: Algorithm, )
src/crypto/aws_lc/mod.rs:29
Functionextract_rsa_public_key_components
(key_content: &[u8])
src/crypto/rust_crypto/mod.rs:18
Functionextract_rsa_public_key_components
(key_content: &[u8])
src/crypto/aws_lc/mod.rs:21
Methodfamily
The family of the algorithm.
src/algorithms.rs:97
Methodfmt
(&self, f: &mut fmt::Formatter)
src/errors.rs:120
Methodfmt
(&self, f: &mut Formatter<'_>)
src/decoding.rs:62
Methodfmt
(&self, f: &mut Formatter<'_>)
src/encoding.rs:128
Methodfmt
(&self, f: &mut fmt::Formatter)
src/jwk.rs:226
Methodfrom
(err: base64::DecodeError)
src/errors.rs:158
Methodfrom_base64_secret
If you're using HMAC with a base64 encoded secret, use this.
src/decoding.rs:103
Methodfrom_base64_secret
If you have a base64 HMAC secret, use that.
src/encoding.rs:39
Methodfrom_crate_features
()
src/crypto/mod.rs:104
Methodfrom_ec_components
If you have (x,y) ECDSA key components
src/decoding.rs:151
Methodfrom_ec_der
If you know what you're doing and have a EC DER encoded public key, use this.
src/decoding.rs:187
Methodfrom_ec_der
If you know what you're doing and have the DER-encoded key, for ECDSA
src/encoding.rs:103
Methodfrom_ec_pem
(key: &[u8])
src/decoding.rs:141
Methodfrom_ec_pem
(key: &[u8])
src/encoding.rs:81
Methodfrom_ed_components
From x part (base64 encoded) of the JWK encoding
src/decoding.rs:203
Methodfrom_ed_der
If you know what you're doing and have a Ed DER encoded public key, use this.
src/decoding.rs:195
Methodfrom_ed_der
If you know what you're doing and have the DER-encoded key, for EdDSA
src/encoding.rs:108
Methodfrom_ed_pem
(key: &[u8])
src/decoding.rs:169
Methodfrom_ed_pem
(key: &[u8])
src/encoding.rs:91
Methodfrom_encoded
Converts an encoded part into the Header struct if possible
src/header.rs:217
Methodfrom_encoding_key
(key: &EncodingKey, alg: Algorithm)
src/jwk.rs:438
Methodfrom_jwk
If you have a key in Jwk format
src/decoding.rs:212
Methodfrom_jwt_part_claims
(encoded_jwt_part_claims: impl AsRef<[u8]>)
src/serialization.rs:30
Methodfrom_rsa_components
If you have (n, e) RSA public key components as strings, use this.
src/decoding.rs:121
Methodfrom_rsa_der
If you know what you're doing and have a RSA DER encoded public key, use this.
src/decoding.rs:179
Methodfrom_rsa_der
If you know what you're doing and have the DER-encoded key, for RSA only
src/encoding.rs:98
Methodfrom_rsa_pem
(key: &[u8])
src/decoding.rs:111
Methodfrom_rsa_pem
(key: &[u8])
src/encoding.rs:60
Methodfrom_rsa_raw_components
If you have (n, e) RSA public key components already decoded, use this.
src/decoding.rs:131
Methodfrom_secret
If you're using HMAC, use this.
src/decoding.rs:95
Methodfrom_secret
If you're using a HMAC secret that is not base64, use that.
src/encoding.rs:34
Methodfrom_str
(s: &str)
src/algorithms.rs:76
Methodfrom_str
(s: &str)
src/jwk.rs:203
Methodfrom_urlsafe_base64_secret
For loading websafe base64 HMAC secrets, ex: ACME EAB credentials.
src/encoding.rs:45
Functiongenerate_algorithm_enum_from_str
()
src/algorithms.rs:120
Methodget_default
()
src/crypto/mod.rs:100
Functioninsecure_decode
Decode a JWT with NO VALIDATION DANGER: This performs zero validation on the JWT
src/decoding.rs:301
Methodinstall_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
Methodinto_kind
Unwrap this error into its underlying type.
src/errors.rs:26
Methodis_supported
Find whether the Algorithm is implemented and supported
src/jwk.rs:432
Functioniss_array_of_string_ok
()
src/validation.rs:615
Functioniss_missing_fails
()
src/validation.rs:645
Functioniss_not_matching_fails
()
src/validation.rs:627
Functioniss_string_ok
()
src/validation.rs:603
Methodkind
The kind of decoding key.
src/decoding.rs:90
Functionmain
()
examples/validation.rs:14
Functionmain
()
examples/custom_header.rs:14
Functionmain
()
examples/auth0.rs:12
Functionmain
()
examples/custom_time.rs:137
Functionmain
()
examples/ed25519.rs:16
Functionnbf_float_in_past_ok
()
src/validation.rs:561
Functionnbf_in_future_but_in_leeway_ok
()
src/validation.rs:590
Functionnbf_in_future_fails
()
src/validation.rs:573
Functionnbf_in_past_ok
()
src/validation.rs:549
Methodnew
Create a default validation setup allowing the given alg
src/validation.rs:113
Methodnew
Returns a JWT header with the algorithm given
src/header.rs:195
Methodnew
Read the PEM file for later key use
src/pem/decoder.rs:53
Methodnew
(encoding_key: &EncodingKey)
src/crypto/rust_crypto/eddsa.rs:14
Methodnew
(encoding_key: &EncodingKey)
src/crypto/aws_lc/eddsa.rs:13
Methodnew
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
Methodnew
()
examples/ed25519.rs:47
Methodnew_for_family
Create a default validation setup allowing any algorithm in the family
src/validation.rs:118
Methodnew_impl
(algorithms: Vec<Algorithm>)
src/validation.rs:122
Functionnew_signer
(algorithm: &Algorithm, key: &EncodingKey)
src/crypto/rust_crypto/mod.rs:66
Functionnew_signer
(algorithm: &Algorithm, key: &EncodingKey)
src/crypto/aws_lc/mod.rs:60
Methodnew_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
Functionnew_verifier
( algorithm: &Algorithm, key: &DecodingKey, )
src/crypto/rust_crypto/mod.rs:85
Functionnew_verifier
( algorithm: &Algorithm, key: &DecodingKey, )
src/crypto/aws_lc/mod.rs:79
Functionnumeric_type
(deserializer: D)
src/validation.rs:362
Functionround_trip
()
examples/custom_time.rs:75
Functionround_trip_claim
()
tests/hmac.rs:113
Functionround_trip_claim
()
tests/eddsa/mod.rs:56
Functionround_trip_claim
()
tests/ecdsa/mod.rs:56
Functionround_trip_claim
()
tests/rsa/mod.rs:111
Functionround_trip_sign_verification_der
()
tests/rsa/mod.rs:95
Functionround_trip_sign_verification_pem
()
tests/eddsa/mod.rs:37
Functionround_trip_sign_verification_pem
()
tests/ecdsa/mod.rs:37
Functionround_trip_sign_verification_pem_pkcs1
()
tests/rsa/mod.rs:32
Functionround_trip_sign_verification_pem_pkcs8
()
tests/rsa/mod.rs:64
Functionround_trip_sign_verification_pk8
()
tests/eddsa/mod.rs:22
Functionround_trip_sign_verification_pk8
()
tests/ecdsa/mod.rs:22
Functionroundtrip_with_jwtio_example
()
tests/ecdsa/mod.rs:148
Functionroundtrip_with_jwtio_example_jey
()
tests/rsa/mod.rs:212
Functionrsa_jwk
()
tests/rsa/mod.rs:175
Functionrsa_jwk_from_key
()
tests/rsa/mod.rs:249
Functionrsa_modulus_exponent
()
tests/rsa/mod.rs:148
← previousnext →101–200 of 231, ranked by callers