Skip to content

TlsListenerConfig with buffer, or Read trait #6

Description

@ratmice

afaict the TlsListenerConfig currently requires sending it PathBuf's, which eventually opens/reads the keys and certs, it would be nice if there were a way to pass it an &[u8] or more likely something implementing the Read trait, so you can use keys and certs that aren't stored on the filesystem.

                TlsListener::build()
                    .addrs("localhost:4433")
                    .cert(cert_path)
                    .key(key_path),

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions