Xmtp_MessageContents_Ciphertext
public struct Xmtp_MessageContents_Ciphertext
extension Xmtp_MessageContents_Ciphertext: @unchecked Sendable
extension Xmtp_MessageContents_Ciphertext: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding
Ciphertext represents encrypted payload. It is definited as a union to support cryptographic algorithm agility. The payload is accompanied by the cryptographic parameters required by the chosen encryption scheme.
-
Undocumented
Declaration
Swift
public var union: Xmtp_MessageContents_Ciphertext.OneOf_Union?
-
Undocumented
Declaration
Swift
public var aes256GcmHkdfSha256: Xmtp_MessageContents_Ciphertext.Aes256gcmHkdfsha256 { get set }
-
Declaration
Swift
public var unknownFields: UnknownStorage
-
Undocumented
See moreDeclaration
Swift
public enum OneOf_Union : Equatable
extension Xmtp_MessageContents_Ciphertext.OneOf_Union: @unchecked Sendable
-
Encryption: AES256-GCM Key derivation function: HKDF-SHA256
See moreDeclaration
Swift
public struct Aes256gcmHkdfsha256
extension Xmtp_MessageContents_Ciphertext.Aes256gcmHkdfsha256: @unchecked Sendable
extension Xmtp_MessageContents_Ciphertext.Aes256gcmHkdfsha256: 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_Ciphertext, rhs: Xmtp_MessageContents_Ciphertext) -> Bool