Xmtp_MessageContents_PrivateKey
public struct Xmtp_MessageContents_PrivateKey
extension Xmtp_MessageContents_PrivateKey: @unchecked Sendable
extension Xmtp_MessageContents_PrivateKey: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
LEGACY: PrivateKey generalized to support different key types
-
time the key was created
Declaration
Swift
public var timestamp: UInt64
-
private key
Declaration
Swift
public var union: Xmtp_MessageContents_PrivateKey.OneOf_Union?
-
Undocumented
Declaration
Swift
public var secp256K1: Xmtp_MessageContents_PrivateKey.Secp256k1 { get set }
-
public key for this private key
Declaration
Swift
public var publicKey: Xmtp_MessageContents_PublicKey { get set }
-
Returns true if
publicKey
has been explicitly set.Declaration
Swift
public var hasPublicKey: Bool { get }
-
Clears the value of
publicKey
. Subsequent reads from it will return its default value.Declaration
Swift
public mutating func clearPublicKey()
-
Declaration
Swift
public var unknownFields: UnknownStorage
-
private key
See moreDeclaration
Swift
public enum OneOf_Union : Equatable
extension Xmtp_MessageContents_PrivateKey.OneOf_Union: @unchecked Sendable
-
EC: SECP256k1
See moreDeclaration
Swift
public struct Secp256k1
extension Xmtp_MessageContents_PrivateKey.Secp256k1: @unchecked Sendable
extension Xmtp_MessageContents_PrivateKey.Secp256k1: 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_PrivateKey, rhs: Xmtp_MessageContents_PrivateKey) -> Bool