Skip to main content

adopt

Function adopt 

Source
pub fn adopt(
    card: &CardInfo,
    cert: &Cert,
    source: &str,
    addresses: Vec<String>,
    now: i64,
) -> Result<KnownCard, String>
Expand description

Makes the security key card yours: its certificate kept with your keys (public parts only), and the key in cards.toml, signing for addresses; source says where the certificate came from. Gives what is kept.