pub enum MlsMessage {
Handshake(HandshakeMessage),
Application(ApplicationMessage),
Welcome(WelcomeMessage),
}Expand description
MLS message types
Variants§
Handshake(HandshakeMessage)
Handshake message for group operations
Application(ApplicationMessage)
Application message with encrypted content
Welcome(WelcomeMessage)
Welcome message for new members
Implementations§
Source§impl MlsMessage
impl MlsMessage
Sourcepub fn epoch(&self) -> EpochNumber
pub fn epoch(&self) -> EpochNumber
Get the epoch number for this message
Sourcepub fn verify_signature(
&self,
verifying_key: &MlDsaPublicKey,
suite: CipherSuite,
) -> Result<bool>
pub fn verify_signature( &self, verifying_key: &MlDsaPublicKey, suite: CipherSuite, ) -> Result<bool>
Verify the message signature
Trait Implementations§
Source§impl Clone for MlsMessage
impl Clone for MlsMessage
Source§impl Debug for MlsMessage
impl Debug for MlsMessage
Source§impl<'de> Deserialize<'de> for MlsMessage
impl<'de> Deserialize<'de> for MlsMessage
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MlsMessage
impl RefUnwindSafe for MlsMessage
impl Send for MlsMessage
impl Sync for MlsMessage
impl Unpin for MlsMessage
impl UnsafeUnpin for MlsMessage
impl UnwindSafe for MlsMessage
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