fromPEMFile(_:)

    Create an array of NIOSSLCertificates from a file at a given path in PEM format.

    SSLCertificate.swift:312
    class func fromPEMFile(_ path: String) throws -> [NIOSSLCertificate]

    Parameters

    path

    The PEM file to read certificates from.

    Throws

    If an error is encountered while reading certificates.

    Other members in extension

    Types

    Show implementation details (2)

    Hide implementation details

    Type members

    Show obsolete interfaces (2)

    Hide obsolete interfaces

    Instance members

    Show implementation details (2)

    Hide implementation details