quininer / tokio-rustls

Asynchronous TLS/SSL streams for Tokio using Rustls.
142 stars 38 forks source link

PKCS11 engine support. #64

Open amrx101 opened 4 years ago

amrx101 commented 4 years ago

Does the crate provide support for PKCS-11 engine? If not what would the steps be for integrating with pkcs11 engine?

quininer commented 4 years ago

This crate does not care about the internals of rustls, you only need to construct a ClientConfig or ServerConfig. like


let server_config = Arc::new(from_pkcs11());
let acceptor = TlsAcceptor::from(server_config);