pub fn cert_state_from_str(s: &str) -> Option<CertState>
Parse a CertState from its snake_case name string.
CertState