MCPcopy Index your code
hub / github.com/RustPython/RustPython / cert_der_to_dict

Method cert_der_to_dict

crates/stdlib/src/ssl.rs:863–865  ·  view source on GitHub ↗

Helper method to convert DER certificate bytes to Python dict

(&self, vm: &VirtualMachine, cert_der: &[u8])

Source from the content-addressed store, hash-verified

861 impl PySSLContext {
862 // Helper method to convert DER certificate bytes to Python dict
863 fn cert_der_to_dict(&self, vm: &VirtualMachine, cert_der: &[u8]) -> PyResult<PyObjectRef> {
864 cert::cert_der_to_dict_helper(vm, cert_der)
865 }
866
867 #[pygetset]
868 fn check_hostname(&self) -> bool {

Callers 1

get_ca_certsMethod · 0.80

Calls 1

cert_der_to_dict_helperFunction · 0.85

Tested by

no test coverage detected