Xmtp_MessageContents_PublicKeyBundle

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

PublicKeyBundle packages the cryptographic keys associated with a wallet, both senders and recipients are identified by their key bundles.

  • Identity key MUST be signed by the wallet.

    Declaration

    Swift

    public var identityKey: Xmtp_MessageContents_PublicKey { get set }
  • Returns true if identityKey has been explicitly set.

    Declaration

    Swift

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

    Declaration

    Swift

    public mutating func clearIdentityKey()
  • Pre-key MUST be signed by the identity key.

    Declaration

    Swift

    public var preKey: Xmtp_MessageContents_PublicKey { get set }
  • Returns true if preKey has been explicitly set.

    Declaration

    Swift

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

    Declaration

    Swift

    public mutating func clearPreKey()
  • 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_PublicKeyBundle, rhs: Xmtp_MessageContents_PublicKeyBundle) -> Bool