Interface IOrderContext
Presents the context for ACME order operations.
Namespace: Certes.Acme
Assembly: Certes.dll
Syntax
public interface IOrderContext : IResourceContext<Order>
Methods
| Edit this page View SourceAuthorizations(CancellationToken)
Gets the authorizations for this order.
Declaration
Task<IEnumerable<IAuthorizationContext>> Authorizations(CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | Cancels this operation. |
Returns
| Type | Description |
|---|---|
| Task<IEnumerable<IAuthorizationContext>> | The list of authorizations. |
Download(string, CancellationToken)
Downloads the certificate chain in PEM.
Declaration
Task<CertificateChain> Download(string preferredChain = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| string | preferredChain | The preferred Root Certificate. |
| CancellationToken | cancellationToken | Cancels this operation. |
Returns
| Type | Description |
|---|---|
| Task<CertificateChain> | The certificate chain in PEM. |
Finalize(byte[], CancellationToken)
Finalizes the certificate order.
Declaration
Task<Order> Finalize(byte[] csr, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | csr | The CSR in DER. |
| CancellationToken | cancellationToken | Cancels this operation. |
Returns
| Type | Description |
|---|---|
| Task<Order> | The order finalized. |