pub fn get_certified_key(
cert_path: impl AsRef<str>,
private_key_path: impl AsRef<str>,
) -> Result<CertifiedKey, CertificateError>
Available on crate feature
https
only.Expand description
Extracts a [sign::CertifiedKey
] from cert_path
and private_key_path
.
ยงErrors
Will return any errors while reading the files, or any parsing errors.