CheckDatabaseEncryptionKey

public struct CheckDatabaseEncryptionKey : Codable, Equatable, TDFunction

Checks the database encryption key for correctness. Works only when the current authorization state is authorizationStateWaitEncryptionKey

  • Undocumented

    Declaration

    Swift

    public typealias Result = Ok
  • Encryption key to check or set up

    Declaration

    Swift

    public let encryptionKey: Bytes
  • Checks the database encryption key for correctness. Works only when the current authorization state is authorizationStateWaitEncryptionKey

    Declaration

    Swift

    public init(encryptionKey: Bytes)

    Parameters

    encryptionKey

    Encryption key to check or set up