init(customPrivateKey:)

    Create a NIOSSLPrivateKey from a custom private key callback.

    SSLPrivateKey.swift:322
    init<CustomKey>(customPrivateKey: CustomKey) where CustomKey : NIOSSLCustomPrivateKey, CustomKey : Hashable

    Parameters

    customPrivateKey

    The custom private key to use with the TLS certificate.

    The private key, in addition to needing to conform to NIOSSLCustomPrivateKey, is also required to be Hashable. This is because NIOSSLPrivateKeys are Hashable.

    Other members in extension

    Type members

    Show obsolete interfaces (2)

    Hide obsolete interfaces

    Instance members