Certes
Show / Hide Table of Contents

Class CertificateStore

Represents a collection of X509 certificates.

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

Methods

| Edit this page View Source

Add(byte[])

Adds issuer certificates.

Declaration
public void Add(byte[] certificates)
Parameters
Type Name Description
byte[] certificates

The issuer certificates.

| Edit this page View Source

GetIssuers(byte[])

Gets the issuers of given certificate.

Declaration
public IList<byte[]> GetIssuers(byte[] der)
Parameters
Type Name Description
byte[] der

The certificate.

Returns
Type Description
IList<byte[]>

The issuers of the certificate, ordered from the closest issuer upwards. Each issuer must have signed the certificate below it. The chain stops at the first self-signed certificate, or at the highest issuer available when no self-signed certificate is present: ACME servers are not expected to supply the self-signed root (RFC 8555, section 7.4.2), so a chain that ends at an intermediate is not an error.

Exceptions
Type Condition
AcmeException

Issuers were supplied, but none of them signed the certificate.

  • Edit this page
  • View Source
© 2018 Certes Project
Back to top