Skip to main content

ensure_current

Function ensure_current 

Source
pub fn ensure_current(
    pki_dir: &Path,
    want: &[String],
) -> Result<(Ca, Option<Vec<String>>), PkiError>
Expand description

Ported from EnsureCurrent.

ยงErrors

Returns PkiError under the same conditions as load_or_generate, plus if re-signing or republishing an out-of-date CA fails.