Skip to content

Align API with origin native-tls #35

Open
@Huzzle

Description

@Huzzle

TlsAcceptor::new accepts a file and a password as parameters. It goes against the constructor in the origin native-tls crate where it accepts Identity. Due to Identity is encapsulated from_pkcs8 method is missed.

I think this crate should extend the origin one, not override it.

Could you align API of both crates one to one? Or add other possibility to use from_pkcs8 method?

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