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

Function find_by_nid

crates/stdlib/src/ssl/oid.rs:378–380  ·  view source on GitHub ↗

Find OID entry by NID

(nid: i32)

Source from the content-addressed store, hash-verified

376
377/// Find OID entry by NID
378pub fn find_by_nid(nid: i32) -> Option<&'static OidEntry> {
379 OID_TABLE.find_by_nid(nid)
380}
381
382/// Find OID entry by OID string (e.g., "2.5.4.3")
383pub fn find_by_oid_string(oid_str: &str) -> Option<&'static OidEntry> {

Callers 4

nid2objFunction · 0.85
test_find_by_nidFunction · 0.85
test_subject_alt_nameFunction · 0.85
test_server_auth_ekuFunction · 0.85

Calls 1

find_by_nidMethod · 0.80

Tested by 3

test_find_by_nidFunction · 0.68
test_subject_alt_nameFunction · 0.68
test_server_auth_ekuFunction · 0.68