wire-api-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.API.MLS.AuthenticatedContent

Synopsis

Documentation

data TaggedSender Source #

Sender, plus with a membership tag in the case of a member sender.

authContentRef :: CipherSuiteTag -> AuthenticatedContent -> ProposalRef Source #

Compute the proposal ref given a ciphersuite and the raw proposal data.

mkSignedPublicMessage :: forall ss m. (IsSignatureScheme ss, MonadRandom m) => KeyPair ss -> GroupId -> Epoch -> TaggedSender -> FramedContentData -> m PublicMessage Source #

Craft a message with the backend itself as a sender. Return the message and its ref.