Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

crates/cre8-app-manifold/src/signing.rs

cre8-app-manifold · module signing · src · 380 lines (244 code, 95 comment) · sha 1c5efb4d9a03e260

Items

enum VerifyError impl Display for VerifyError impl Error for VerifyError struct NoSigner impl ReceiptSigner for NoSigner struct KeyCacheSigner impl KeyCacheSigner impl ReceiptSigner for KeyCacheSigner

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
fresh_receiptsrc/signing.rs:195fn311602.6
verify_receiptsrc/signing.rs:176fn1121022.6
sign_receiptsrc/signing.rs:46fn71921.4
cache_withsrc/signing.rs:199fn71731.2
KeyCacheSigner::newsrc/signing.rs:126method61501
no_signersrc/signing.rs:168fn31100.6
KeyCacheSigner::with_lazy_loadersrc/signing.rs:135method71100.5
VerifyError::fmtsrc/signing.rs:70trait impl84000.5
NoSigner::signsrc/signing.rs:101trait impl31010.5
KeyCacheSigner::signsrc/signing.rs:145trait impl206030.5
canonical_bytes_match_receipt_hashsrc/signing.rs:210fn51020.5
canonical_bytes_change_with_payloadsrc/signing.rs:217fn91020.5
sign_then_verify_roundtripsrc/signing.rs:230fn131050.5
sign_errors_when_passport_not_cachedsrc/signing.rs:245fn51030.5
verify_unsigned_returns_no_signaturesrc/signing.rs:252fn51030.5
verify_unknown_actor_when_lookup_returns_nonesrc/signing.rs:259fn61040.5
verify_bad_signature_when_pubkey_doesnt_matchsrc/signing.rs:267fn81060.5
verify_lookup_error_propagatessrc/signing.rs:277fn92040.5
tampered_receipt_fails_verificationsrc/signing.rs:290fn181050.5
signed_receipt_round_trips_through_jsonsrc/signing.rs:312fn91030.5
unsigned_receipt_skips_optional_fields_in_jsonsrc/signing.rs:323fn61020.5
no_signer_always_returns_unsignedsrc/signing.rs:333fn51020.5
key_cache_signer_signs_when_resolver_returns_passportsrc/signing.rs:340fn162050.5
key_cache_signer_falls_back_to_unsigned_when_resolver_returns_nonesrc/signing.rs:358fn61040.5
key_cache_signer_falls_back_to_unsigned_when_passport_not_in_cachesrc/signing.rs:366fn71040.5
no_signer_via_arc_helpersrc/signing.rs:375fn51030.5

Source not readable from this process.