Trait DynamicCertIssuer

pub trait DynamicCertIssuer:
    Send
    + Sync
    + 'static {
    // Required method
    fn issue_cert(
        &self,
        client_hello: ClientHello,
        server_name: Option<Host>,
    ) -> impl Future<Output = Result<ServerAuthData, OpaqueError>> + Send + Sync;
}
Expand description

Trait that needs to be implemented by cert issuers to support dynamically issueing (external) certs based on client_hello input.

Required Methods§

fn issue_cert( &self, client_hello: ClientHello, server_name: Option<Host>, ) -> impl Future<Output = Result<ServerAuthData, OpaqueError>> + Send + Sync

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§