Class DirectoryMeta
Represents the metadata for a ACME directory.
Inheritance
Namespace: Certes.Acme.Resource
Assembly: Certes.dll
Syntax
public class DirectoryMeta
Constructors
| Edit this page View SourceDirectoryMeta(Uri, Uri, IList<string>, bool?)
Initializes a new instance of the DirectoryMeta class.
Declaration
public DirectoryMeta(Uri termsOfService, Uri website, IList<string> caaIdentities, bool? externalAccountRequired)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | termsOfService | The terms of service. |
| Uri | website | The website. |
| IList<string> | caaIdentities | The caa identities. |
| bool? | externalAccountRequired | The external account required. |
DirectoryMeta(Uri, Uri, IList<string>, bool?, IDictionary<string, string>)
Initializes directory metadata including certificate profiles.
Declaration
[JsonConstructor]
public DirectoryMeta(Uri termsOfService, Uri website, IList<string> caaIdentities, bool? externalAccountRequired, IDictionary<string, string> profiles)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | termsOfService | The terms of service. |
| Uri | website | The website. |
| IList<string> | caaIdentities | The CAA identities. |
| bool? | externalAccountRequired | Whether external account binding is required. |
| IDictionary<string, string> | profiles | The advertised profile names and descriptions. |
Properties
| Edit this page View SourceCaaIdentities
Gets or sets the caa identities.
Declaration
[JsonPropertyName("caaIdentities")]
public IList<string> CaaIdentities { get; }
Property Value
| Type | Description |
|---|---|
| IList<string> | The caa identities. |
ExternalAccountRequired
Gets or sets a value indicating whether [external account required].
Declaration
[JsonPropertyName("externalAccountRequired")]
public bool? ExternalAccountRequired { get; }
Property Value
| Type | Description |
|---|---|
| bool? |
|
Profiles
Gets the advertised certificate profile names and their human-readable descriptions. Descriptions may be prose or URLs. A null value means profiles were not advertised.
Declaration
[JsonPropertyName("profiles")]
public IDictionary<string, string> Profiles { get; }
Property Value
| Type | Description |
|---|---|
| IDictionary<string, string> |
TermsOfService
Gets or sets the terms of service.
Declaration
[JsonPropertyName("termsOfService")]
public Uri TermsOfService { get; }
Property Value
| Type | Description |
|---|---|
| Uri | The terms of service. |
Website
Gets or sets the website.
Declaration
[JsonPropertyName("website")]
public Uri Website { get; }
Property Value
| Type | Description |
|---|---|
| Uri | The website. |