pub fn load_private_key(path: &str) -> Result<PrivateKeyDer<'static>>Expand description
Load a private key from a PEM file
ยงErrors
Returns an error if the file cannot be opened, the PEM cannot be parsed, or no private key is found.
pub fn load_private_key(path: &str) -> Result<PrivateKeyDer<'static>>Load a private key from a PEM file
Returns an error if the file cannot be opened, the PEM cannot be parsed, or no private key is found.