(&self)
| 155 | } |
| 156 | |
| 157 | fn cached_key_path(&self) -> Option<PathBuf> { |
| 158 | let cache = self.config_dir().map(|p| p.join("key.pem")); |
| 159 | if cache.as_ref().is_some_and(|p| p.exists() && p.is_file()) { |
| 160 | return cache; |
| 161 | } |
| 162 | |
| 163 | None |
| 164 | } |
| 165 | |
| 166 | fn cached_ca_path(&self) -> Option<PathBuf> { |
| 167 | let cache = self.config_dir().map(|p| p.join("ca.pem")); |