EncryptedDocument
public struct EncryptedDocument: Codable, Signable
Data type to hold encrypted data and related info
-
Metadata produced by this client about this document
Declaration
Swift
public let clientMeta: ClientMeta -
The ciphertext after it has been encrypted, the keys remain unencrypted
Declaration
Swift
public let encryptedData: CipherData -
A cryptographic signature of the
clientMetaand the cleartext data before it was encryptedDeclaration
Swift
public let recordSignature: String -
Declaration
Swift
public func serialized() -> String
View on GitHub
EncryptedDocument Structure Reference