Check if a certificate exists for a domain
(&self, domain: &str)
| 71 | |
| 72 | /// Check if a certificate exists for a domain |
| 73 | pub fn has_cert(&self, domain: &str) -> bool { |
| 74 | self.cert_data.contains_key(domain) |
| 75 | } |
| 76 | |
| 77 | /// Get certificate data for a domain |
| 78 | pub fn get_cert_data(&self, domain: &str) -> Option<&CertData> { |
no test coverage detected