Skip to main content

load_trusted_keys

Function load_trusted_keys 

Source
pub fn load_trusted_keys(
    text: &str,
) -> Result<HashMap<String, VerifyingKey>, String>
Expand description

Parse a trusted-keys TOML document ([[keys]] id/public) into an id-keyed map. Malformed entries are hard errors naming the entry, never key material.