pub fn nid_from_text(s: &CStr) -> Option<i32>Expand description
Look up a NID by OID text or short name.
Accepts dotted decimal (e.g. c"2.16.840.1.101.3.4.2.1") or a short name
(e.g. c"sha256").
Returns None if the string is not recognised by OpenSSL.