Get the latest attestation for a domain
(&self, domain: &str)
| 981 | |
| 982 | /// Get the latest attestation for a domain |
| 983 | pub fn get_cert_attestation_latest(&self, domain: &str) -> Option<CertAttestation> { |
| 984 | self.persistent |
| 985 | .read() |
| 986 | .decode(&keys::cert_attestation_latest(domain)) |
| 987 | } |
| 988 | |
| 989 | /// Save attestation for a domain (saves both latest and history) |
| 990 | pub fn save_cert_attestation(&self, domain: &str, attestation: &CertAttestation) -> Result<()> { |
no test coverage detected