Xmtp_MessageContents_PublicKey
public struct Xmtp_MessageContents_PublicKey
extension Xmtp_MessageContents_PublicKey: @unchecked Sendable
extension Xmtp_MessageContents_PublicKey: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
PublicKey represents a generalized public key, defined as a union to support cryptographic algorithm agility.
-
Undocumented
Declaration
Swift
public var timestamp: UInt64
-
Undocumented
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()
-
Undocumented
Declaration
Swift
public var union: Xmtp_MessageContents_PublicKey.OneOf_Union?
-
Undocumented
Declaration
Swift
public var secp256K1Uncompressed: Xmtp_MessageContents_PublicKey.Secp256k1Uncompressed { get set }
-
Declaration
Swift
public var unknownFields: UnknownStorage
-
Undocumented
See moreDeclaration
Swift
public enum OneOf_Union : Equatable
extension Xmtp_MessageContents_PublicKey.OneOf_Union: @unchecked Sendable
-
The key bytes
See moreDeclaration
Swift
public struct Secp256k1Uncompressed
extension Xmtp_MessageContents_PublicKey.Secp256k1Uncompressed: @unchecked Sendable
extension Xmtp_MessageContents_PublicKey.Secp256k1Uncompressed: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
-
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_PublicKey, rhs: Xmtp_MessageContents_PublicKey) -> Bool