RecordData

public struct RecordData

A wrapper to hold unencrypted values

  • A key-value store of unencrypted data

    Declaration

    Swift

    public let cleartext: Cleartext
  • Initializer to create a structure to hold unencrypted data. The keys from the provided dictionary remain as unencrypted plaintext. The values are encrypted before transit to the E3db service, and decrypted after read back out from the service to support full end-to-end encryption.

    Declaration

    Swift

    public init(cleartext: [String: String])

    Parameters

    cleartext

    Unencrypted data

  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Declaration

    Swift

    public func serialized() -> String