2using System.Collections.Generic;
12 private readonly
string[] caaIdentities =
null;
13 private readonly Uri keyChange =
null;
14 private readonly Uri termsOfService =
null;
15 private readonly Uri website =
null;
16 private readonly Uri newAccount =
null;
17 private readonly Uri newNonce =
null;
18 private readonly Uri newOrder =
null;
19 private readonly Uri revokeCert =
null;
20 private readonly Uri newAuthz =
null;
21 private readonly
bool externalAccountRequired =
false;
26 foreach (KeyValuePair<string, object> P
in Obj)
31 this.keyChange =
new Uri(P.Value as
string);
35 if (P.Value is IEnumerable<KeyValuePair<string, object>> Obj2)
37 foreach (KeyValuePair<string, object> P2
in Obj2)
42 if (P2.Value is Array A)
46 foreach (
object Obj3
in A)
56 case "termsOfService":
57 this.termsOfService =
new Uri(P2.Value as
string);
61 this.website =
new Uri(P2.Value as
string);
64 case "externalAccountRequired":
65 if (P2.Value is
bool b)
66 this.externalAccountRequired = b;
74 this.newAccount =
new Uri(P.Value as
string);
78 this.newNonce =
new Uri(P.Value as
string);
82 this.newOrder =
new Uri(P.Value as
string);
86 this.revokeCert =
new Uri(P.Value as
string);
90 this.newAuthz =
new Uri(P.Value as
string);
Implements an ACME client for the generation of certificates using ACME-compliant certificate servers...
Represents an ACME directory.
Uri KeyChange
URL for keyChange method.
Uri NewAccount
URL for newAccount method.
Uri NewNonce
URL for newNonce method.
Uri NewOrder
URL for newOrder method.
Uri TermsOfService
URL to terms of service.
Uri Website
URL to website.
Uri RevokeCert
URL for revokeCert method.
Uri NewAuthz
URL for newAuthz method.
string[] CaaIdentities
CAA Identities.
bool ExternalAccountRequired
If an external account is required.
Abstract base class for all ACME objects.
AcmeClient Client
ACME client.