SetDatabaseEncryptionKey
public struct SetDatabaseEncryptionKey : Codable, Equatable, TDFunction
Changes the database encryption key. Usually the encryption key is never changed and is stored in some OS keychain
-
Undocumented
Declaration
Swift
public typealias Result = Ok
-
New encryption key
Declaration
Swift
public let newEncryptionKey: Bytes
-
Changes the database encryption key. Usually the encryption key is never changed and is stored in some OS keychain
Declaration
Swift
public init(newEncryptionKey: Bytes)
Parameters
newEncryptionKey
New encryption key