Function trust_dns_proto::openssl::tls_server::read_cert_pkcs12
source · [−]pub fn read_cert_pkcs12(
path: &Path,
password: Option<&str>
) -> ProtoResult<((X509, Option<Stack<X509>>), PKey<Private>)>
Available on crate feature
dns-over-openssl
only.Expand description
Read the certificate from the specified path.
If the password is specified, then it will be used to decode the Certificate