Xmtp_MessageContents_SealedInvitationV1

public struct Xmtp_MessageContents_SealedInvitationV1
extension Xmtp_MessageContents_SealedInvitationV1: @unchecked Sendable
extension Xmtp_MessageContents_SealedInvitationV1: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding

Sealed Invitation V1 Invitation encrypted with key material derived from the sender’s and recipient’s public key bundles using simplified X3DH where the sender’s ephemeral key is replaced with sender’s pre-key.

  • encoded SealedInvitationHeaderV1 used as associated data for Ciphertext

    Declaration

    Swift

    public var headerBytes: Data
  • Ciphertext.payload MUST contain encrypted InvitationV1.

    Declaration

    Swift

    public var ciphertext: Xmtp_MessageContents_Ciphertext { get set }
  • Returns true if ciphertext has been explicitly set.

    Declaration

    Swift

    public var hasCiphertext: Bool { get }
  • Clears the value of ciphertext. Subsequent reads from it will return its default value.

    Declaration

    Swift

    public mutating func clearCiphertext()
  • Declaration

    Swift

    public var unknownFields: UnknownStorage
  • Declaration

    Swift

    public init()

Code below here is support for the SwiftProtobuf runtime.

  • Declaration

    Swift

    public static let protoMessageName: String
  • Declaration

    Swift

    public static let _protobuf_nameMap: SwiftProtobuf._NameMap
  • Declaration

    Swift

    public mutating func decodeMessage<D>(decoder: inout D) throws where D : Decoder
  • Declaration

    Swift

    public func traverse<V>(visitor: inout V) throws where V : Visitor
  • Declaration

    Swift

    public static func == (lhs: Xmtp_MessageContents_SealedInvitationV1, rhs: Xmtp_MessageContents_SealedInvitationV1) -> Bool