mirror of
https://github.com/MAKS-IT-COM/maksit-certs-ui.git
synced 2025-12-31 12:10:03 +01:00
44 lines
1.1 KiB
C#
44 lines
1.1 KiB
C#
using System;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace LetsEncrypt.Entities
|
|
{
|
|
public class AcmeDirectory
|
|
{
|
|
//New nonce
|
|
[JsonProperty("newNonce")]
|
|
public Uri NewNonce { get; set; }
|
|
|
|
//New account
|
|
[JsonProperty("newAccount")]
|
|
public Uri NewAccount { get; set; }
|
|
|
|
//New order
|
|
[JsonProperty("newOrder")]
|
|
public Uri NewOrder { get; set; }
|
|
|
|
// New authorization If the ACME server does not implement pre-authorization
|
|
// (Section 7.4.1) it MUST omit the "newAuthz" field of the directory.
|
|
// [JsonProperty("newAuthz")]
|
|
// public Uri NewAuthz { get; set; }
|
|
|
|
//Revoke certificate
|
|
[JsonProperty("revokeCert")]
|
|
public Uri RevokeCertificate { get; set; }
|
|
|
|
//Key change
|
|
[JsonProperty("keyChange")]
|
|
public Uri KeyChange { get; set; }
|
|
|
|
//Metadata object
|
|
[JsonProperty("meta")]
|
|
public AcmeDirectoryMeta Meta { get; set; }
|
|
}
|
|
|
|
public class AcmeDirectoryMeta
|
|
{
|
|
[JsonProperty("termsOfService")]
|
|
public string TermsOfService { get; set; }
|
|
}
|
|
}
|