Xmtp_MessageContents_SignedContent

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

SignedContent attaches a signature to EncodedContent.

  • MUST contain EncodedContent

    Declaration

    Swift

    public var payload: Data
  • Undocumented

    Declaration

    Swift

    public var sender: Xmtp_MessageContents_SignedPublicKeyBundle { get set }
  • Returns true if sender has been explicitly set.

    Declaration

    Swift

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

    Declaration

    Swift

    public mutating func clearSender()
  • MUST be a signature of a concatenation of the message header bytes and the payload bytes, signed by the sender’s pre-key.

    Declaration

    Swift

    public var signature: Xmtp_MessageContents_Signature { get set }
  • Returns true if signature has been explicitly set.

    Declaration

    Swift

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

    Declaration

    Swift

    public mutating func clearSignature()
  • 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_SignedContent, rhs: Xmtp_MessageContents_SignedContent) -> Bool