Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
mm::CertInfo Struct Reference

Validity window and identity of a TLS leaf certificate, plus the full served chain. More...

#include <cert_info.h>

Collaboration diagram for mm::CertInfo:
[legend]

Public Attributes

std::string subject
 Leaf subject common name (CN), e.g. "local.motion-master...".
 
std::string issuer
 Leaf issuer common name (CN) — the immediate (intermediate) CA.
 
std::chrono::system_clock::time_point notBefore
 Start of the leaf's validity window.
 
std::chrono::system_clock::time_point notAfter
 
std::vector< CertChainLinkchain
 

Detailed Description

Validity window and identity of a TLS leaf certificate, plus the full served chain.

Member Data Documentation

◆ chain

std::vector<CertChainLink> mm::CertInfo::chain

Every certificate present in the PEM file, leaf first, in chain order (leaf → intermediate(s)). A fullchain PEM usually stops at the intermediate; the root is in the OS trust store and not transmitted, but the last link's issuer still names it.

◆ issuer

std::string mm::CertInfo::issuer

Leaf issuer common name (CN) — the immediate (intermediate) CA.

◆ notAfter

std::chrono::system_clock::time_point mm::CertInfo::notAfter

End of the leaf's validity window (expiry).

◆ notBefore

std::chrono::system_clock::time_point mm::CertInfo::notBefore

Start of the leaf's validity window.

◆ subject

std::string mm::CertInfo::subject

Leaf subject common name (CN), e.g. "local.motion-master...".


The documentation for this struct was generated from the following file: