pub enum Version {
V0,
V1,
}Expand description
Transcript schema used by a SAKE handshake.
The version is part of the protocol definition: both peers must agree on it out of band.
Variants§
V0
Commits the dialer identity after the Syn signature. If the signature scheme lacks conservative exclusive ownership (it admits key substitution), a dialer can complete a handshake under a public key other than its own under which its Syn signature also verifies.
V1
Commits both identities before every signature and uses injective transcript framing.
Trait Implementations§
impl Copy for Version
impl Eq for Version
impl StructuralPartialEq for Version
Auto Trait Implementations§
impl Freeze for Version
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnsafeUnpin for Version
impl UnwindSafe for Version
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more