[−][src]Module ctclient::internal
Things that are only useful if you are doing your own API calling.
Note that the RFC calls inclusion proof "audit proof".
Modules
leaf_hash_constructors | Turn some raw leaf data into leaf hash. |
openssl_ffi | Because |
Structs
ConsistencyProofPart | A subtree hash provided by the server in a consistency proof. |
FetchInclusionProofResult | |
GetEntriesIter | An iterator over |
Leaf | A parsed leaf. |
Functions
check_consistency_proof | Fetch the consistency proof from prev_size to next_size from the server and
verifies it, returning a |
check_inclusion_proof | Fetch the required inclusion proof from the server and see if it convinces us that |
check_tree_head | Check, verify and return the latest tree head from the CT log at
|
consistency_proof_parts | Function used by
|
fetch_inclusion_proof | |
get_entries | Request leaf entries from the CT log. Does not verify if these entries are consistent with the tree or anything like that. Returns an iterator over the leaves. |
get_json | Perform a GET request and parse the result as a JSON. |
hash_inclusion_proof | Attempt to derive the root hash from the server provided inclusion proof and our calculated proof_parts. |
inclusion_proof_parts | Returns an array of |
new_http_client | Construct a new |
verify_consistency_proof | Verify that the consistency proof given by |
verify_dss | Verifies a TLS digitally-signed struct (see the TLS RFC for more info.) |
verify_dss_raw | Verifies a raw, ASN.1 encoded signature. |