Xmtp_MessageContents_PrivateKeyBundleV2
public struct Xmtp_MessageContents_PrivateKeyBundleV2
extension Xmtp_MessageContents_PrivateKeyBundleV2: @unchecked Sendable
extension Xmtp_MessageContents_PrivateKeyBundleV2: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
PrivateKeyBundle wraps the identityKey and the preKeys, enforces usage of signed keys.
-
Undocumented
Declaration
Swift
public var identityKey: Xmtp_MessageContents_SignedPrivateKey { 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()
-
all the known pre-keys, newer keys first,
Declaration
Swift
public var preKeys: [Xmtp_MessageContents_SignedPrivateKey]
-
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_PrivateKeyBundleV2, rhs: Xmtp_MessageContents_PrivateKeyBundleV2) -> Bool