Skip to main content

ChallengeSolver

Trait ChallengeSolver 

Source
pub trait ChallengeSolver:
    Send
    + Sync
    + Debug {
    // Required method
    fn challenge_cert(&self, server_name: &str) -> Option<Arc<CertifiedKey>>;
}

Required Methods§

Source

fn challenge_cert(&self, server_name: &str) -> Option<Arc<CertifiedKey>>

The challenge certificate for server_name (SNI, any case), if a validation is pending for it.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§