sframe 2.0.0

pure rust implementation of SFrame (RFC 9605)
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::header;

/// Evidence that a frame passed the replay check, recordable only by a
/// [`ReplayAttackProtection`](super::ReplayAttackProtection). Drop it to discard
/// the screened frame.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct ReplayToken {
    pub(super) key_id: header::KeyId,
    pub(super) counter: header::Counter,
}