Certes
Show / Hide Table of Contents

Class CertificateChain

Represents the certificate chain downloaded from ACME server.

Inheritance
object
CertificateChain
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Certes.Acme
Assembly: Certes.dll
Syntax
public class CertificateChain

Constructors

| Edit this page View Source

CertificateChain(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 Source

Certificate

Gets or sets the certificate.

Declaration
public IEncodable Certificate { get; }
Property Value
Type Description
IEncodable

The certificate.

| Edit this page View Source

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 Source

MatchesPreferredChain(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

Extension Methods

CertificateChainExtensions.ToPem(CertificateChain, IKey)
CertificateChainExtensions.ToPfx(CertificateChain, IKey)
RenewalInfoExtensions.GetRenewalInfoCertificateId(CertificateChain)
  • Edit this page
  • View Source
© 2018 Certes Project
Back to top