diff --git a/src/Certify.ACME.Anvil/AcmeContext.cs b/src/Certify.ACME.Anvil/AcmeContext.cs index 590fb47..170701e 100644 --- a/src/Certify.ACME.Anvil/AcmeContext.cs +++ b/src/Certify.ACME.Anvil/AcmeContext.cs @@ -387,7 +387,7 @@ public async Task GetRenewalInfo(string certificateId) } /// - /// Update ARI renewal info, if provider doesn't support ARI or update fails the exception is catch and no further action is takem + /// Update ARI renewal info, if provider doesn't support ARI or update fails the exception is catch and no further action is taken /// /// /// diff --git a/src/Certify.ACME.Anvil/IAcmeContext.cs b/src/Certify.ACME.Anvil/IAcmeContext.cs index 7cab8e7..3fd1fd3 100644 --- a/src/Certify.ACME.Anvil/IAcmeContext.cs +++ b/src/Certify.ACME.Anvil/IAcmeContext.cs @@ -137,5 +137,20 @@ public interface IAcmeContext /// The authorization location. /// The authorization context. IAuthorizationContext Authorization(Uri location); + + /// + /// Get renewal info for given certificate id + /// + /// The CertID (see OCSP Cert ID, this is a base64url encoded hash of cert public key and serial) + /// + Task GetRenewalInfo(string certificateId); + + /// + /// Update ARI renewal info, if provider doesn't support ARI or update fails the exception is catch and no further action is taken + /// + /// + /// + /// + Task UpdateRenewalInfo(string certificateId, bool replaced); } }