pub fn verify_membership_tag(
        &self,
        backend: &impl OpenMlsCryptoProvider,
        mls_plaintext: &MlsPlaintext,
    ) -> Result<(), MlsGroupError> {
        let serialized_context = self.context().tls_serialize_detached()?;

        mls_plaintext
            .verify_membership(
                backend,
                &serialized_context,
                self.epoch_secrets().membership_key(),
            )
            .map_err(|_| MlsPlaintextError::InvalidSignature.into())
    }
/// Verify the membership tag an MlsPlaintext
Verify the membership tag an MlsPlaintext
Verify the membership tag an MlsPlaintext
pub fn verify_membership_tag(
        &self,
        backend: &impl OpenMlsCryptoProvider,
        mls_plaintext: &MlsPlaintext,
    ) -> Result<(), MlsGroupError> {
        let serialized_context = self.context().tls_serialize_detached()?;
        mls_plaintext
            .verify_membership(
                backend,
                &serialized_context,
                self.epoch_secrets().membership_key(),
            )
            .map_err(|_| MlsPlaintextError::InvalidSignature.into())
    }
pub fn verify_membership_tag ( & self , backend : & impl OpenMlsCryptoProvider , mls_plaintext : & MlsPlaintext , ) -> Result < ( ) , MlsGroupError > { let serialized_context = self . context ( ) . tls_serialize_detached ( ) ? ; mls_plaintext . verify_membership ( backend , & serialized_context , self . epoch_secrets ( ) . membership_key ( ) , ) . map_err ( | _ | MlsPlaintextError :: InvalidSignature . into ( ) ) }
Verify the membership tag an MlsPlaintext
Verify the membership tag an MlsPlaintext
&self
backend
&impl OpenMlsCryptoProvider
mls_plaintext
&MlsPlaintext
&self
backend
&impl OpenMlsCryptoProvider
mls_plaintext
&MlsPlaintext