Save global ACME credentials
(&self, creds: &CertCredentials)
| 919 | |
| 920 | /// Save global ACME credentials |
| 921 | pub fn save_acme_credentials(&self, creds: &CertCredentials) -> Result<()> { |
| 922 | self.persistent |
| 923 | .write() |
| 924 | .put_encoded(keys::GLOBAL_ACME_CREDENTIALS.to_string(), creds)?; |
| 925 | Ok(()) |
| 926 | } |
| 927 | |
| 928 | /// Get global ACME attestation (TDX quote of account URI) |
| 929 | pub fn get_acme_attestation(&self) -> Option<AcmeAttestation> { |
no test coverage detected