BufferedDecryptedMessage

public struct BufferedDecryptedMessage
extension BufferedDecryptedMessage: Sendable

to avoid recursive structs

  • Undocumented

    Declaration

    Swift

    public var message: Data?
  • It is set to false if ingesting this MLS message has resulted in the client being removed from the group (i.e. a Remove commit)

    Declaration

    Swift

    public var isActive: Bool
  • Commit delay hint (in milliseconds) to prevent clients from hammering the server with epoch changes

    Declaration

    Swift

    public var commitDelay: UInt64?
  • Undocumented

    Declaration

    Swift

    public var senderClientId: ClientId?
  • true when the decrypted message resulted in an epoch change i.e. it was a commit

    Deprecated: this member will be removed in the future. Prefer using the EpochObserver interface.

    Declaration

    Swift

    public var hasEpochChanged: Bool
  • Undocumented

    Declaration

    Swift

    public var identity: WireIdentity
  • New CRL Distribution of members of this group

    Declaration

    Swift

    public var crlNewDistributionPoints: [String]?
  • Undocumented

    Declaration

    Swift

    public init(message: Data?, 
        /**
         * It is set to false if ingesting this MLS message has resulted in the client being removed from the group (i.e. a Remove commit)
         */isActive: Bool, 
        /**
         * Commit delay hint (in milliseconds) to prevent clients from hammering the server with epoch changes
         */commitDelay: UInt64?, senderClientId: ClientId?, 
        /**
         * true when the decrypted message resulted in an epoch change i.e. it was a commit
         *
         * Deprecated: this member will be removed in the future. Prefer using the `EpochObserver` interface.
         */hasEpochChanged: Bool, identity: WireIdentity, 
        /**
         * New CRL Distribution of members of this group
         */crlNewDistributionPoints: [String]?)