Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-util-raw-route-auth/src/lib.rs

cre8-util-raw-route-auth · module crate root · src · 503 lines (324 code, 134 comment) · sha 83ddac4340c407f0

Items

const ASSERTION_HEADER const SIGNATURE_HEADER const ASSERTION_SCHEMA const ENV_RAW_ROUTE_AUTH const MAX_CLOCK_SKEW_MS const MAX_PEER_ID_BYTES const MAX_NETWORK_ID_BYTES const MAX_ROUTE_BYTES const MAX_ASSERTION_HEADER_BYTES struct CallerAssertionV1 enum VerifiedCaller impl VerifiedCaller struct RawAuthError impl RawAuthError impl Display for RawAuthError impl Error for RawAuthError struct CallerCredentials static NONCE_SEQUENCE static NONCE_EPOCH_NANOS static NONCES

Functions

By call-graph weight (PageRank; 1.0 is the average function). 22 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
public_gateway_bind_requested_from_envsrc/lib.rs:175fn245222.8
authenticate_raw_callersrc/lib.rs:224fn3352552.5
signed_caller_headerssrc/lib.rs:392fn3441952.4
hex_sha256src/lib.rs:462fn41402.1
RawAuthError::newsrc/lib.rs:138method31502.1
auth_gate_modesrc/lib.rs:160fn101331.9
headersrc/lib.rs:447fn81301.8
raw_route_auth_requiredsrc/lib.rs:205fn87421.3
canonical_assertion_bytessrc/lib.rs:441fn31301.2
local_peer_seedsrc/lib.rs:428fn101301.1
claim_noncesrc/lib.rs:489fn122201
verified_caller_from_assertionsrc/lib.rs:258fn384190.9
declared_peer_idsrc/lib.rs:458fn31110.9
fresh_noncesrc/lib.rs:474fn61110.9
VerifiedCaller::is_verifiedsrc/lib.rs:115method31500.8
VerifiedCaller::receipt_labelsrc/lib.rs:121method73400.8
is_canonical_sha256src/lib.rs:467fn32100.6
decode_assertionsrc/lib.rs:297fn71110.6
verify_assertion_shapesrc/lib.rs:307fn5114140.6
trusted_peer_public_keysrc/lib.rs:363fn131110.6
VerifiedCaller::peer_idsrc/lib.rs:108method62000.5
RawAuthError::fmtsrc/lib.rs:144trait impl31000.5

Source not readable from this process.