Xmtp_MessageContents_SignedPrivateKey
public struct Xmtp_MessageContents_SignedPrivateKey
extension Xmtp_MessageContents_SignedPrivateKey: @unchecked Sendable
extension Xmtp_MessageContents_SignedPrivateKey: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
PrivateKey generalized to support different key types
-
time the key was created
Declaration
Swift
public var createdNs: UInt64
-
private key
Declaration
Swift
public var union: Xmtp_MessageContents_SignedPrivateKey.OneOf_Union?
-
Undocumented
Declaration
Swift
public var secp256K1: Xmtp_MessageContents_SignedPrivateKey.Secp256k1 { get set }
-
public key for this private key
Declaration
Swift
public var publicKey: Xmtp_MessageContents_SignedPublicKey { 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_SignedPrivateKey.OneOf_Union: @unchecked Sendable
-
EC: SECP256k1
See moreDeclaration
Swift
public struct Secp256k1
extension Xmtp_MessageContents_SignedPrivateKey.Secp256k1: @unchecked Sendable
extension Xmtp_MessageContents_SignedPrivateKey.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_SignedPrivateKey, rhs: Xmtp_MessageContents_SignedPrivateKey) -> Bool