pub fn open(
wrap: &[u8],
identity: &dyn Identity,
expected_public: &str,
) -> Result<UserKey, UserKeyError>Expand description
Open a stored wrap with one method’s age identity, and check the key
inside against the account’s published public key (expected_public).