(&self)
| 146 | } |
| 147 | |
| 148 | fn cached_cert_path(&self) -> Option<PathBuf> { |
| 149 | let cache = self.config_dir().map(|p| p.join("cert.pem")); |
| 150 | if cache.as_ref().is_some_and(|p| p.exists() && p.is_file()) { |
| 151 | return cache; |
| 152 | } |
| 153 | |
| 154 | None |
| 155 | } |
| 156 | |
| 157 | fn cached_key_path(&self) -> Option<PathBuf> { |
| 158 | let cache = self.config_dir().map(|p| p.join("key.pem")); |