Xmtp_MessageContents_SignedEciesCiphertext
public struct Xmtp_MessageContents_SignedEciesCiphertext
extension Xmtp_MessageContents_SignedEciesCiphertext: @unchecked Sendable
extension Xmtp_MessageContents_SignedEciesCiphertext: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
SignedEciesCiphertext represents an ECIES encrypted payload and a signature
-
serialized Ecies message
Declaration
Swift
public var eciesBytes: Data
-
signature of sha256(ecies_bytes) signed with the IdentityKey
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()
-
Declaration
Swift
public var unknownFields: UnknownStorage
-
Ecies is ciphertext encrypted using ECIES with a MAC
See moreDeclaration
Swift
public struct Ecies
extension Xmtp_MessageContents_SignedEciesCiphertext.Ecies: @unchecked Sendable
extension Xmtp_MessageContents_SignedEciesCiphertext.Ecies: 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_SignedEciesCiphertext, rhs: Xmtp_MessageContents_SignedEciesCiphertext) -> Bool