MCPcopy Create free account

hub / github.com/Barre/compact_log / functions

Functions454 in github.com/Barre/compact_log

↓ 2 callersMethodget_num_leaves
(&self)
src/merkle_tree/slatedb_backed_tree.rs:156
↓ 2 callersFunctionhandle_storage_error
( e: crate::storage::StorageError, )
src/api/handlers.rs:26
↓ 2 callersFunctioninclusion_proof_to_audit_path
(proof: &InclusionProof<Sha256>)
src/merkle_storage.rs:253
↓ 2 callersMethodleft_child
Returns the left child of this node, in a tree of `num_leaves` leaves # Panics Panics if this is a leaf
src/merkle_tree/ct_merkle_vendored.rs:219
↓ 2 callersMethodload_from_directory
Load certificates from the trusted_roots directory (flat structure)
src/ccadb.rs:36
↓ 2 callersFunctionparse_tile_index
(path: &str)
src/types/tiles.rs:74
↓ 2 callersFunctionparse_tile_path
Helper function to parse tile paths like "x001/x234/067" or "x001/x234/067.p/123"
src/api/mod.rs:150
↓ 2 callersMethodprecompute_tiles_batch
( &self, batch: &mut WriteBatch, starting_index: u64, tree_size: u64,
src/merkle_tree/slatedb_backed_tree.rs:392
↓ 2 callersMethodprove_inclusion_efficient
( &self, tree_size: u64, leaf_index: u64, )
src/merkle_storage.rs:125
↓ 2 callersMethodserialize
Serialize the log entry to CT binary format
src/types/mod.rs:346
↓ 2 callersMethodto_api_response
Convert to the format expected by CT API responses
src/types/tree_head.rs:56
↓ 2 callersMethodwrite_batch
Write a batch of operations (not rate limited)
src/storage/rate_limited_db.rs:53
↓ 1 callersMethodacquire
(&self)
src/rate_limiter.rs:31
↓ 1 callersMethodadd_entry
(&mut self, timestamped_entry: Vec<u8>, issuer_hashes: Vec<[u8; 32]>)
src/types/pages.rs:34
↓ 1 callersFunctionbase64url_to_hash
(s: &str)
src/types/pages.rs:81
↓ 1 callersMethodbuild_signature_input
(&self, timestamp: u64, tree_size: u64, root_hash: &[u8])
src/types/signed_note.rs:150
↓ 1 callersMethodcheck_keys_exist
Check if multiple keys exist in the database
src/merkle_tree/slatedb_backed_tree.rs:93
↓ 1 callersMethodcommitted_size
Get the last committed tree size (for STH generation)
src/merkle_storage.rs:67
↓ 1 callersMethodconsistency_proof_between_sizes
( &self, old_tree_size: u64, new_tree_size: u64, )
src/merkle_storage.rs:167
↓ 1 callersFunctionconsistency_proof_to_path
(proof: &ConsistencyProof<Sha256>)
src/merkle_storage.rs:267
↓ 1 callersFunctioncreate_ca
()
benchmark/src/gen_certs.rs:14
↓ 1 callersMethodcreate_checkpoint
( &self, tree_size: u64, root_hash: &[u8], timestamp: u64, )
src/types/signed_note.rs:114
↓ 1 callersMethodcreate_checkpoint
Create a signed checkpoint following the C2SP specification
src/types/tree_head.rs:128
↓ 1 callersFunctioncreate_precertificate_with_poison_and_serial
(serial: u8)
src/test_utils.rs:151
↓ 1 callersFunctioncreate_router
(state: ApiState)
src/api/mod.rs:79
↓ 1 callersFunctioncreate_test_certificate_with_serial
(serial: u8)
src/test_utils.rs:31
↓ 1 callersFunctioncreate_test_precertificate_with_key
( subject: &str, issuer: &str, subject_key: &p256::ecdsa::SigningKey, issuer_k
src/validation/rfc6962_validator.rs:697
↓ 1 callersFunctioncreate_test_public_key
Helper function to create test public key
src/validation/tbs_extractor.rs:246
↓ 1 callersFunctioncreate_test_validity
Helper function to create test validity period
src/validation/tbs_extractor.rs:228
↓ 1 callersFunctionderive_public_key_der_from_p256
(private_key: &SecretKey)
src/main.rs:537
↓ 1 callersFunctionensure_keys_exist
(keys_config: &KeysConfig)
src/main.rs:372
↓ 1 callersFunctionfirst_node_with_diverging_parents
Given two trees `num_leaves1 > num_leaves2`, finds the lowest node in the rightmost path-to-root of `num_leaves2` whose parent in `num_leaves2` is not
src/merkle_tree/ct_merkle_vendored.rs:447
↓ 1 callersFunctiongenerate_certificate
( ca_key: &PKey<openssl::pkey::Private>, ca_cert: &X509, index: u64, )
benchmark/src/gen_certs.rs:58
↓ 1 callersFunctiongenerate_data_tile
( state: &ApiState, tile_index: u64, tree_size: u64, requested_width: Option<u16>, )
src/api/static_handlers.rs:389
↓ 1 callersMethodget_accepted_roots
Get the list of accepted root certificates
src/validation/rfc6962_validator.rs:556
↓ 1 callersMethodget_config
Get the validation configuration
src/validation/rfc6962_validator.rs:131
↓ 1 callersFunctionget_data_tile
( State(state): State<Arc<ApiState>>, Path((index_path, width)): Path<(String, Option<u16>)>, )
src/api/static_handlers.rs:289
↓ 1 callersMethodget_last_precomputed_size
Get the last tree size at which tiles were precomputed
src/merkle_tree/slatedb_backed_tree.rs:199
↓ 1 callersMethodget_read_stats
(&self)
src/storage/rate_limited_db.rs:61
↓ 1 callersFunctionget_tile
( State(state): State<Arc<ApiState>>, Path((level, index_path, width)): Path<(u8, String, Option<u16>)
src/api/static_handlers.rs:66
↓ 1 callersMethodhash
(&self, hasher: &mut H)
src/merkle_tree/ct_merkle_vendored.rs:80
↓ 1 callersFunctioninit_metrics
()
src/metrics.rs:150
↓ 1 callersFunctioninitialize_config
()
src/main.rs:330
↓ 1 callersFunctioninitialize_storage
( storage_config: &StorageConfig, cache_config: &Option<CacheConfig>, background_runtime: Handle,
src/main.rs:410
↓ 1 callersMethodis_ca_certificate
Check if a certificate is a CA certificate (has Basic Constraints with CA:TRUE)
src/validation/rfc6962_validator.rs:213
↓ 1 callersMethodis_precert_signing_certificate
Check if a certificate is a Precertificate Signing Certificate
src/validation/rfc6962_validator.rs:251
↓ 1 callersMethodis_precertificate
Check if a certificate is a precertificate
src/validation/rfc6962_validator.rs:227
↓ 1 callersFunctionis_static_ct_endpoint
(path: &str)
src/api/mod.rs:212
↓ 1 callersFunctionload_config
()
src/main.rs:313
↓ 1 callersMethodload_pem_certificate
(&self, path: &Path)
src/ccadb.rs:94
↓ 1 callersFunctionload_private_key
(path: &str)
src/main.rs:404
↓ 1 callersFunctionlog2
Computes log2(x), with log2(0) := 0
src/merkle_tree/ct_merkle_vendored.rs:258
↓ 1 callersFunctionnormalize_path_for_metrics
(path: &str)
src/api/mod.rs:216
↓ 1 callersMethodprove_consistency
( &self, old_size: u64, )
src/merkle_tree/slatedb_backed_tree.rs:950
↓ 1 callersMethodrecalculate_path_batch
( &self, batch: &mut WriteBatch, leaf_idx: LeafIdx, leaf_val: &T, num_
src/merkle_tree/slatedb_backed_tree.rs:849
↓ 1 callersMethodright_child
Returns the right child of this node, in a tree of `num_leaves` leaves # Panics Panics if this is a leaf
src/merkle_tree/ct_merkle_vendored.rs:230
↓ 1 callersMethodrun_periodic
Run the worker periodically
src/ccadb.rs:394
↓ 1 callersFunctionserialize_timestamped_entry
(entry: &DeduplicatedLogEntry)
src/api/pages_handlers.rs:173
↓ 1 callersMethodset_num_leaves
(&self, num_leaves: u64)
src/merkle_tree/slatedb_backed_tree.rs:170
↓ 1 callersFunctionsubproof_with_offset
RFC 6962 SUBPROOF algorithm with offset tracking to handle slices correctly
src/merkle_tree/consistency.rs:34
↓ 1 callersMethodto_binary
(&self)
src/types/pages.rs:42
↓ 1 callersMethodto_bytes
(&self)
src/types/tiles.rs:15
↓ 1 callersMethodto_hex
(&self)
src/types/sct.rs:109
↓ 1 callersMethodurl
(&self)
src/validation/rfc6962_validator.rs:29
↓ 1 callersMethodvalidate_certificate_basic
Validate basic certificate properties
src/validation/rfc6962_validator.rs:300
↓ 1 callersMethodvalidate_chain_with_context
Validate a chain using the analyzed context
src/validation/rfc6962_validator.rs:193
↓ 1 callersMethodverify_chain_signatures
Verify signatures in the certificate chain
src/validation/rfc6962_validator.rs:491
↓ 1 callersMethodverify_chain_to_root
Verify the chain terminates in a trusted root
src/validation/rfc6962_validator.rs:373
↓ 1 callersMethodverify_precert_signing_cert
Verify a Precertificate Signing Certificate
src/validation/rfc6962_validator.rs:284
↓ 1 callersMethodwith_validator
Set the validator to update when roots change
src/ccadb.rs:329
Functionadd_chain
( State(state): State<Arc<ApiState>>, Json(request): Json<AddChainRequest>, )
src/api/handlers.rs:50
Functionadd_pre_chain
( State(state): State<Arc<ApiState>>, Json(request): Json<AddChainRequest>, )
src/api/handlers.rs:234
Methodas_bytes
Returns the Merkle Tree Hash of the tree that created this `RootHash`. This is precisely the Merkle Tree Hash (MTH) of the tree that created it, as d
src/merkle_tree/ct_merkle_vendored.rs:62
Methodbatch_push_with_data
( &self, cert_data_vec: Vec<Vec<u8>>, additional_data: Vec<(Vec<u8>, Vec<u8>)>, )
src/merkle_storage.rs:87
Methodbatch_worker
Background worker that batches and flushes entries
src/storage/mod.rs:220
Methodcertificate_hash
Compute SHA256 hash of a certificate's DER encoding
src/validation/rfc6962_validator.rs:481
Methodcheck_keys_exist
Check if multiple keys exist in the underlying database
src/merkle_storage.rs:222
Methodcheck_transform_needed
Check if we need to transform issuer and AKID Returns Some((final_issuer, final_issuer_key_id)) if transformation is needed
src/validation/tbs_extractor.rs:109
Methodcompute_leaf_data
Get the serialized leaf data for the Merkle tree This returns the serialized MerkleTreeLeaf that will be hashed
src/types/mod.rs:302
Methodcompute_leaf_data_with_index
Compute leaf data with a specific index (for regenerating after index assignment)
src/types/mod.rs:312
Functioncreate_precert_signing_certificate
(subject: &str, issuer: &str)
src/validation/rfc6962_validator.rs:730
Functioncreate_precertificate_with_poison
()
src/test_utils.rs:83
Functioncreate_test_certificate
()
src/test_utils.rs:27
Methoddefault
()
src/storage/mod.rs:116
Methoddefault
()
src/validation/rfc6962_validator.rs:60
Functiondefault_memory_block_cache_capacity_mb
()
src/main.rs:126
Functiondefault_trusted_roots_dir
()
src/main.rs:114
Methoddeserialize
(deserializer: D)
src/merkle_storage.rs:28
Functiondiscover
()
src/api/pages_handlers.rs:13
Methodextract_subject_key_identifier
Extract Subject Key Identifier from a certificate
src/validation/tbs_extractor.rs:181
Methodextract_tbs_certificate
Extract the TBSCertificate from a precertificate This removes the poison extension and transforms issuer/AKID if needed
src/validation/tbs_extractor.rs:14
Methodflush_batch
Flush a batch of entries atomically
src/storage/mod.rs:315
Methodfmt
(&self, f: &mut fmt::Formatter)
src/merkle_tree/slatedb_backed_tree.rs:24
Functionformat_tile_index
(mut index: u64)
src/types/tiles.rs:114
Methodfrom
(e: slatedb::SlateDBError)
src/storage/mod.rs:42
Methodfrom
(e: slatedb::SlateDBError)
src/merkle_tree/slatedb_backed_tree.rs:43
Methodfrom
(leaf: LeafIdx)
src/merkle_tree/ct_merkle_vendored.rs:171
Methodfrom
(err: crate::types::CtError)
src/api/mod.rs:175
Methodfrom_bytes
(bytes: &[u8])
src/types/sct_extensions.rs:39
Methodfrom_digests
Constructs an `InclusionProof` from a sequence of digests.
src/merkle_tree/ct_merkle_vendored.rs:305
← previousnext →101–200 of 454, ranked by callers