Skip to main content

certified_key

Function certified_key 

Source
pub fn certified_key(identity: &Identity) -> Result<CertifiedKey, Error>
Expand description

Packages an identity for a rustls client/server certificate resolver.

The chain is ordered and excludes the self-signed root. Native keys sign in place.

ยงErrors

See Identity::ordered_chain.