Class RenewalInfoExtensions
Helper methods for ACME Renewal Information (ARI), as defined in RFC 9773.
Inheritance
Namespace: Certes
Assembly: Certes.dll
Syntax
public static class RenewalInfoExtensions
Methods
| Edit this page View SourceGetRenewalInfoCertificateId(CertificateChain)
Gets the ARI certificate identifier of the end-entity certificate in the chain.
Declaration
public static string GetRenewalInfoCertificateId(this CertificateChain certificateChain)
Parameters
| Type | Name | Description |
|---|---|---|
| CertificateChain | certificateChain | The certificate chain. |
Returns
| Type | Description |
|---|---|
| string | The certificate identifier, for use with GetRenewalInfo(IAcmeContext, string, CancellationToken) and NewReplacementOrder(IAcmeContext, IList<string>, string, DateTimeOffset?, DateTimeOffset?, CancellationToken). |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | If |
| AcmeException | If the certificate has no authority key identifier. |
GetRenewalInfoCertificateId(IEncodable)
Gets the ARI certificate identifier of the certificate.
Declaration
public static string GetRenewalInfoCertificateId(this IEncodable certificate)
Parameters
| Type | Name | Description |
|---|---|---|
| IEncodable | certificate | The certificate. |
Returns
| Type | Description |
|---|---|
| string | The certificate identifier, for use with GetRenewalInfo(IAcmeContext, string, CancellationToken) and NewReplacementOrder(IAcmeContext, IList<string>, string, DateTimeOffset?, DateTimeOffset?, CancellationToken). |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | If |
| AcmeException | If the certificate has no authority key identifier. |