class documentation
class PEMObjects: (source)
Constructors: PEMObjects.fromDirectory(directory), PEMObjects.fromFile(fp)
A collection of objects loaded from a collection of PEM-encoded files.
| Class Method | from |
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 | from |
Load some objects from the lines of a single PEM file. |
| Method | infer |
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 | _key |
A list of pairs of (FilePath, KeyPair) that indicates what pairs contain what certificates. |
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[ | a FilePath pointing at a directory in the filesystem which may contain some PEM files. |
| Returns | |
PEMObjects | Undocumented |
Load some objects from the lines of a single PEM file.
| Parameters | |
fp:FilePath[ | A FilePath pointing at a file on the filesystem whose contents should be PEM data. |
| Returns | |
PEMObjects | Undocumented |