Enums

The following enums are available globally.

  • The encryption key, a raw AES-256 key data which has exactly 32 bytes in length or a password string. If the password string is given, it will be internally converted to a raw AES key using 64,000 rounds of PBKDF2 hashing.

    • key: 32-byte AES-256 data key. To create a key, generate random data using a secure cryptographic randomizer like SecRandomCopyBytes or CCRandomGenerateBytes.
    • password: Password string that will be internally converted to a raw AES-256 key using 64,000 rounds of PBKDF2 hashing.
    See more

    Declaration

    Swift

    public enum EncryptionKey
  • Replicator type.

    • pushAndPull: Bidirectional; both push and pull
    • push: Pushing changes to the target
    • pull: Pulling changes from the target
    See more

    Declaration

    Swift

    public enum ReplicatorType: UInt8
  • Log domain. The log domains here are tentative and subject to change.

    See more

    Declaration

    Swift

    public enum LogDomain: UInt8
  • Log level. The default log level for all domains is warning. The log levels here are tentative and subject to change.

    See more

    Declaration

    Swift

    public enum LogLevel: UInt8