Skip to main content

certified_key

Function certified_key 

Source
fn certified_key(
    chain: Vec<CertificateDer<'static>>,
    key: PrivateKeyDer<'static>,
    provider: &CryptoProvider,
) -> Result<CertifiedKey, TlsError>
Expand description

Loads a cert chain + key into a validated [CertifiedKey] (same load + key-match check with_single_cert performs).