Xmtp_MessageContents_SignedPublicKeyBundle
public struct Xmtp_MessageContents_SignedPublicKeyBundle
extension Xmtp_MessageContents_SignedPublicKeyBundle: @unchecked Sendable
extension Xmtp_MessageContents_SignedPublicKeyBundle: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
PublicKeyBundle packages the cryptographic keys associated with a wallet.
-
Identity key MUST be signed by the wallet.
Declaration
Swift
public var identityKey: Xmtp_MessageContents_SignedPublicKey { 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_SignedPublicKey { 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()
-
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_SignedPublicKeyBundle, rhs: Xmtp_MessageContents_SignedPublicKeyBundle) -> Bool