Skip to main content

EntryKey

Trait EntryKey 

Source
pub trait EntryKey {
    // Required method
    fn key(&self) -> Arc<CertifiedKey>;
}
Expand description

A trait satisfied by anything that carries a rustls Arc<CertifiedKey> (cert chain + signing key + optional OCSP staple). Used by CertStore::lookup to extract the handshake material from a caller-defined entry type.

Required Methods§

Source

fn key(&self) -> Arc<CertifiedKey>

Implementors§