Function sequoia_octopus_librnp::gpg::agent_keypair
source · pub fn agent_keypair(
policy: &dyn Policy,
cert: &Option<Cert>,
key: &Key<PublicParts, UnspecifiedRole>
) -> Result<KeyPair>
Expand description
Creates a KeyPair and makes it prompt for a password using the context provided by the given cert.