Function openpgp_card_sequoia::public_key_material_to_key[][src]

pub fn public_key_material_to_key(
    pkm: &PublicKeyMaterial,
    key_type: KeyType,
    time: SystemTime
) -> Result<Key<PublicParts, UnspecifiedRole>>
Expand description

Helper fn: get a Key<PublicParts, UnspecifiedRole> for a PublicKeyMaterial