pub fn cert_path(pki_dir: &Path) -> Result<PathBuf, PkiError>
Ported from CertPath.
CertPath
Returns PkiError::CaNotFound if no CA certificate is published (or present in the pre-symlink legacy location) under pki_dir.
PkiError::CaNotFound
pki_dir