Skip to main content

single_public_key

Function single_public_key 

Source
fn single_public_key<T>(
    public_keys: impl Iterator<Item = T>,
    label: &str,
) -> Result<T>
Expand description

Returns the one public key of a cross-signing key, which names its row.

A key carrying none or several is refused, and label names it in errors.