Skip to content

TlsListenerConfig with buffer, or Read traitΒ #6

@ratmice

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),

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