Skip to main content

latest_key_bundle

Function latest_key_bundle 

Source
pub fn latest_key_bundle<'a, KB>(bundles: &'a [KB]) -> Option<&'a KB>
where KB: KeyBundle,
Expand description

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