trust_dns_openssl::tls_server

Function read_cert_pem

Source
pub fn read_cert_pem(
    path: &Path,
) -> Result<(X509, Option<Stack<X509>>), ProtoError>
Expand description

Read the certificate from the specified path.

If the password is specified, then it will be used to decode the Certificate