Skip to main content

load_trusted_keys

Function load_trusted_keys 

Source
pub fn load_trusted_keys(path: &Path) -> Result<Vec<TrustedKey>>
Expand description

Reads a trust file holding either a single key or a { "keys": [...] } bundle.

ยงErrors

When the file cannot be read or is not one of the two shapes.