(&self)
| 63 | |
| 64 | impl KmsConfig { |
| 65 | pub fn keys_exists(&self) -> bool { |
| 66 | self.tmp_ca_cert().exists() |
| 67 | && self.tmp_ca_key().exists() |
| 68 | && self.root_ca_cert().exists() |
| 69 | && self.root_ca_key().exists() |
| 70 | && self.rpc_cert().exists() |
| 71 | && self.rpc_key().exists() |
| 72 | && self.k256_key().exists() |
| 73 | } |
| 74 | |
| 75 | pub fn tmp_ca_cert(&self) -> PathBuf { |
| 76 | self.cert_dir.join(TEMP_CA_CERT) |
no test coverage detected