Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pyca/cryptography
/ _load_data
Function
_load_data
tests/x509/test_ocsp.py:25–28 ·
view source on GitHub ↗
(filename, loader)
Source
from the content-addressed store, hash-verified
23
24
25
def
_load_data(filename, loader):
26
return
load_vectors_from_file(
27
filename=filename, loader=
lambda
data: loader(data.read()), mode=
"rb"
28
)
29
30
31
def
_cert_and_issuer():
Callers
15
test_load_request
Method · 0.85
test_load_request_with_extensions
Method · 0.85
test_load_request_with_acceptable_responses
Method · 0.85
test_load_request_with_unknown_extension
Method · 0.85
test_load_request_with_duplicate_extension
Method · 0.85
test_load_request_two_requests
Method · 0.85
test_invalid_hash_algorithm
Method · 0.85
test_invalid_serialize_encoding
Method · 0.85
test_eq
Method · 0.85
test_ne
Method · 0.85
test_hash
Method · 0.85
test_entry_type
Method · 0.85
Calls
1
load_vectors_from_file
Function · 0.85
Tested by
no test coverage detected