class documentation

A collection of objects loaded from a collection of PEM-encoded files.

Class Method fromDirectory Walk through the given directory looking for files with a `.pem` extension, and instantiate a PEMObjects containing all certificates and key pairs from those files.
Class Method fromFile Load some objects from the lines of a single PEM file.
Method inferDomainMapping Return a mapping of DNS name to CertificateOptions.
Class Variable _certificates A list of pairs of (FilePath, Certificate) that indicates what files contain what certificates.
Class Variable _keyPairs A list of pairs of (FilePath, KeyPair) that indicates what pairs contain what certificates.
def fromDirectory(cls, directory: FilePath[str]) -> PEMObjects: (source)

Walk through the given directory looking for files with a `.pem` extension, and instantiate a PEMObjects containing all certificates and key pairs from those files.

Parameters
directory:FilePath[str]a FilePath pointing at a directory in the filesystem which may contain some PEM files.
Returns
PEMObjectsUndocumented
def fromFile(cls, fp: FilePath[str]) -> PEMObjects: (source)

Load some objects from the lines of a single PEM file.

Parameters
fp:FilePath[str]A FilePath pointing at a file on the filesystem whose contents should be PEM data.
Returns
PEMObjectsUndocumented
def inferDomainMapping(self) -> dict[str, CertificateOptions]: (source)

Return a mapping of DNS name to CertificateOptions.

A list of pairs of (FilePath, Certificate) that indicates what files contain what certificates.

A list of pairs of (FilePath, KeyPair) that indicates what pairs contain what certificates.