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.
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
Declaration
Swift
public enum ReplicatorType: UInt8