Skip to main content

latest_prekey

Function latest_prekey 

Source
pub fn latest_prekey<'a>(prekeys: Vec<&'a PreKey>) -> Option<&'a PreKey>
Expand description

Helper method to identify the “latest” (valid and with furthest expiry date) pre-key from a set. Returns None if no valid key was given.