Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Barre/compact_log
/ functions
Functions
454 in github.com/Barre/compact_log
⨍
Functions
454
◇
Types & classes
85
↓ 2 callers
Method
get_num_leaves
(&self)
src/merkle_tree/slatedb_backed_tree.rs:156
↓ 2 callers
Function
handle_storage_error
( e: crate::storage::StorageError, )
src/api/handlers.rs:26
↓ 2 callers
Function
inclusion_proof_to_audit_path
(proof: &InclusionProof<Sha256>)
src/merkle_storage.rs:253
↓ 2 callers
Method
left_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 callers
Method
load_from_directory
Load certificates from the trusted_roots directory (flat structure)
src/ccadb.rs:36
↓ 2 callers
Function
parse_tile_index
(path: &str)
src/types/tiles.rs:74
↓ 2 callers
Function
parse_tile_path
Helper function to parse tile paths like "x001/x234/067" or "x001/x234/067.p/123"
src/api/mod.rs:150
↓ 2 callers
Method
precompute_tiles_batch
( &self, batch: &mut WriteBatch, starting_index: u64, tree_size: u64,
src/merkle_tree/slatedb_backed_tree.rs:392
↓ 2 callers
Method
prove_inclusion_efficient
( &self, tree_size: u64, leaf_index: u64, )
src/merkle_storage.rs:125
↓ 2 callers
Method
serialize
Serialize the log entry to CT binary format
src/types/mod.rs:346
↓ 2 callers
Method
to_api_response
Convert to the format expected by CT API responses
src/types/tree_head.rs:56
↓ 2 callers
Method
write_batch
Write a batch of operations (not rate limited)
src/storage/rate_limited_db.rs:53
↓ 1 callers
Method
acquire
(&self)
src/rate_limiter.rs:31
↓ 1 callers
Method
add_entry
(&mut self, timestamped_entry: Vec<u8>, issuer_hashes: Vec<[u8; 32]>)
src/types/pages.rs:34
↓ 1 callers
Function
base64url_to_hash
(s: &str)
src/types/pages.rs:81
↓ 1 callers
Method
build_signature_input
(&self, timestamp: u64, tree_size: u64, root_hash: &[u8])
src/types/signed_note.rs:150
↓ 1 callers
Method
check_keys_exist
Check if multiple keys exist in the database
src/merkle_tree/slatedb_backed_tree.rs:93
↓ 1 callers
Method
committed_size
Get the last committed tree size (for STH generation)
src/merkle_storage.rs:67
↓ 1 callers
Method
consistency_proof_between_sizes
( &self, old_tree_size: u64, new_tree_size: u64, )
src/merkle_storage.rs:167
↓ 1 callers
Function
consistency_proof_to_path
(proof: &ConsistencyProof<Sha256>)
src/merkle_storage.rs:267
↓ 1 callers
Function
create_ca
()
benchmark/src/gen_certs.rs:14
↓ 1 callers
Method
create_checkpoint
( &self, tree_size: u64, root_hash: &[u8], timestamp: u64, )
src/types/signed_note.rs:114
↓ 1 callers
Method
create_checkpoint
Create a signed checkpoint following the C2SP specification
src/types/tree_head.rs:128
↓ 1 callers
Function
create_precertificate_with_poison_and_serial
(serial: u8)
src/test_utils.rs:151
↓ 1 callers
Function
create_router
(state: ApiState)
src/api/mod.rs:79
↓ 1 callers
Function
create_test_certificate_with_serial
(serial: u8)
src/test_utils.rs:31
↓ 1 callers
Function
create_test_precertificate_with_key
( subject: &str, issuer: &str, subject_key: &p256::ecdsa::SigningKey, issuer_k
src/validation/rfc6962_validator.rs:697
↓ 1 callers
Function
create_test_public_key
Helper function to create test public key
src/validation/tbs_extractor.rs:246
↓ 1 callers
Function
create_test_validity
Helper function to create test validity period
src/validation/tbs_extractor.rs:228
↓ 1 callers
Function
derive_public_key_der_from_p256
(private_key: &SecretKey)
src/main.rs:537
↓ 1 callers
Function
ensure_keys_exist
(keys_config: &KeysConfig)
src/main.rs:372
↓ 1 callers
Function
first_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 callers
Function
generate_certificate
( ca_key: &PKey<openssl::pkey::Private>, ca_cert: &X509, index: u64, )
benchmark/src/gen_certs.rs:58
↓ 1 callers
Function
generate_data_tile
( state: &ApiState, tile_index: u64, tree_size: u64, requested_width: Option<u16>, )
src/api/static_handlers.rs:389
↓ 1 callers
Method
get_accepted_roots
Get the list of accepted root certificates
src/validation/rfc6962_validator.rs:556
↓ 1 callers
Method
get_config
Get the validation configuration
src/validation/rfc6962_validator.rs:131
↓ 1 callers
Function
get_data_tile
( State(state): State<Arc<ApiState>>, Path((index_path, width)): Path<(String, Option<u16>)>, )
src/api/static_handlers.rs:289
↓ 1 callers
Method
get_last_precomputed_size
Get the last tree size at which tiles were precomputed
src/merkle_tree/slatedb_backed_tree.rs:199
↓ 1 callers
Method
get_read_stats
(&self)
src/storage/rate_limited_db.rs:61
↓ 1 callers
Function
get_tile
( State(state): State<Arc<ApiState>>, Path((level, index_path, width)): Path<(u8, String, Option<u16>)
src/api/static_handlers.rs:66
↓ 1 callers
Method
hash
(&self, hasher: &mut H)
src/merkle_tree/ct_merkle_vendored.rs:80
↓ 1 callers
Function
init_metrics
()
src/metrics.rs:150
↓ 1 callers
Function
initialize_config
()
src/main.rs:330
↓ 1 callers
Function
initialize_storage
( storage_config: &StorageConfig, cache_config: &Option<CacheConfig>, background_runtime: Handle,
src/main.rs:410
↓ 1 callers
Method
is_ca_certificate
Check if a certificate is a CA certificate (has Basic Constraints with CA:TRUE)
src/validation/rfc6962_validator.rs:213
↓ 1 callers
Method
is_precert_signing_certificate
Check if a certificate is a Precertificate Signing Certificate
src/validation/rfc6962_validator.rs:251
↓ 1 callers
Method
is_precertificate
Check if a certificate is a precertificate
src/validation/rfc6962_validator.rs:227
↓ 1 callers
Function
is_static_ct_endpoint
(path: &str)
src/api/mod.rs:212
↓ 1 callers
Function
load_config
()
src/main.rs:313
↓ 1 callers
Method
load_pem_certificate
(&self, path: &Path)
src/ccadb.rs:94
↓ 1 callers
Function
load_private_key
(path: &str)
src/main.rs:404
↓ 1 callers
Function
log2
Computes log2(x), with log2(0) := 0
src/merkle_tree/ct_merkle_vendored.rs:258
↓ 1 callers
Function
normalize_path_for_metrics
(path: &str)
src/api/mod.rs:216
↓ 1 callers
Method
prove_consistency
( &self, old_size: u64, )
src/merkle_tree/slatedb_backed_tree.rs:950
↓ 1 callers
Method
recalculate_path_batch
( &self, batch: &mut WriteBatch, leaf_idx: LeafIdx, leaf_val: &T, num_
src/merkle_tree/slatedb_backed_tree.rs:849
↓ 1 callers
Method
right_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 callers
Method
run_periodic
Run the worker periodically
src/ccadb.rs:394
↓ 1 callers
Function
serialize_timestamped_entry
(entry: &DeduplicatedLogEntry)
src/api/pages_handlers.rs:173
↓ 1 callers
Method
set_num_leaves
(&self, num_leaves: u64)
src/merkle_tree/slatedb_backed_tree.rs:170
↓ 1 callers
Function
subproof_with_offset
RFC 6962 SUBPROOF algorithm with offset tracking to handle slices correctly
src/merkle_tree/consistency.rs:34
↓ 1 callers
Method
to_binary
(&self)
src/types/pages.rs:42
↓ 1 callers
Method
to_bytes
(&self)
src/types/tiles.rs:15
↓ 1 callers
Method
to_hex
(&self)
src/types/sct.rs:109
↓ 1 callers
Method
url
(&self)
src/validation/rfc6962_validator.rs:29
↓ 1 callers
Method
validate_certificate_basic
Validate basic certificate properties
src/validation/rfc6962_validator.rs:300
↓ 1 callers
Method
validate_chain_with_context
Validate a chain using the analyzed context
src/validation/rfc6962_validator.rs:193
↓ 1 callers
Method
verify_chain_signatures
Verify signatures in the certificate chain
src/validation/rfc6962_validator.rs:491
↓ 1 callers
Method
verify_chain_to_root
Verify the chain terminates in a trusted root
src/validation/rfc6962_validator.rs:373
↓ 1 callers
Method
verify_precert_signing_cert
Verify a Precertificate Signing Certificate
src/validation/rfc6962_validator.rs:284
↓ 1 callers
Method
with_validator
Set the validator to update when roots change
src/ccadb.rs:329
Function
add_chain
( State(state): State<Arc<ApiState>>, Json(request): Json<AddChainRequest>, )
src/api/handlers.rs:50
Function
add_pre_chain
( State(state): State<Arc<ApiState>>, Json(request): Json<AddChainRequest>, )
src/api/handlers.rs:234
Method
as_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
Method
batch_push_with_data
( &self, cert_data_vec: Vec<Vec<u8>>, additional_data: Vec<(Vec<u8>, Vec<u8>)>, )
src/merkle_storage.rs:87
Method
batch_worker
Background worker that batches and flushes entries
src/storage/mod.rs:220
Method
certificate_hash
Compute SHA256 hash of a certificate's DER encoding
src/validation/rfc6962_validator.rs:481
Method
check_keys_exist
Check if multiple keys exist in the underlying database
src/merkle_storage.rs:222
Method
check_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
Method
compute_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
Method
compute_leaf_data_with_index
Compute leaf data with a specific index (for regenerating after index assignment)
src/types/mod.rs:312
Function
create_precert_signing_certificate
(subject: &str, issuer: &str)
src/validation/rfc6962_validator.rs:730
Function
create_precertificate_with_poison
()
src/test_utils.rs:83
Function
create_test_certificate
()
src/test_utils.rs:27
Method
default
()
src/storage/mod.rs:116
Method
default
()
src/validation/rfc6962_validator.rs:60
Function
default_memory_block_cache_capacity_mb
()
src/main.rs:126
Function
default_trusted_roots_dir
()
src/main.rs:114
Method
deserialize
(deserializer: D)
src/merkle_storage.rs:28
Function
discover
()
src/api/pages_handlers.rs:13
Method
extract_subject_key_identifier
Extract Subject Key Identifier from a certificate
src/validation/tbs_extractor.rs:181
Method
extract_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
Method
flush_batch
Flush a batch of entries atomically
src/storage/mod.rs:315
Method
fmt
(&self, f: &mut fmt::Formatter)
src/merkle_tree/slatedb_backed_tree.rs:24
Function
format_tile_index
(mut index: u64)
src/types/tiles.rs:114
Method
from
(e: slatedb::SlateDBError)
src/storage/mod.rs:42
Method
from
(e: slatedb::SlateDBError)
src/merkle_tree/slatedb_backed_tree.rs:43
Method
from
(leaf: LeafIdx)
src/merkle_tree/ct_merkle_vendored.rs:171
Method
from
(err: crate::types::CtError)
src/api/mod.rs:175
Method
from_bytes
(bytes: &[u8])
src/types/sct_extensions.rs:39
Method
from_digests
Constructs an `InclusionProof` from a sequence of digests.
src/merkle_tree/ct_merkle_vendored.rs:305
← previous
next →
101–200 of 454, ranked by callers