Class CertificateChain
Represents the certificate chain downloaded from ACME server.
Inheritance
CertificateChain
Namespace: Certes.Acme
Assembly: Certes.dll
Syntax
public class CertificateChain
Constructors
| Edit this page View SourceCertificateChain(string)
Initializes a new instance of the CertificateChain class.
Declaration
public CertificateChain(string certificateChain)
Parameters
| Type | Name | Description |
|---|---|---|
| string | certificateChain | The certificate chain. |
Properties
| Edit this page View SourceCertificate
Gets or sets the certificate.
Declaration
public IEncodable Certificate { get; }
Property Value
| Type | Description |
|---|---|
| IEncodable | The certificate. |
Issuers
Gets or sets the issuers.
Declaration
public IList<IEncodable> Issuers { get; }
Property Value
| Type | Description |
|---|---|
| IList<IEncodable> | The issuers. |
Methods
| Edit this page View SourceMatchesPreferredChain(string)
Checks if the certificate chain is signed by a preferred issuer.
Declaration
public bool MatchesPreferredChain(string preferredChain)
Parameters
| Type | Name | Description |
|---|---|---|
| string | preferredChain | The name of the preferred issuer |
Returns
| Type | Description |
|---|---|
| bool | true if a certificate in the chain is issued by preferredChain or preferredChain is empty |