Class TdApi.CheckDatabaseEncryptionKey

  • Enclosing class:
    TdApi

    public static class TdApi.CheckDatabaseEncryptionKey
    extends TdApi.Function
    Checks the database encryption key for correctness. Works only when the current authorization state is authorizationStateWaitEncryptionKey.

    Returns Ok

    • Field Detail

      • encryptionKey

        public byte[] encryptionKey
        Encryption key to check or set up.
      • CONSTRUCTOR

        public static final int CONSTRUCTOR
        Identifier uniquely determining type of the object.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CheckDatabaseEncryptionKey

        public CheckDatabaseEncryptionKey()
        Default constructor.
      • CheckDatabaseEncryptionKey

        public CheckDatabaseEncryptionKey​(byte[] encryptionKey)
        Constructor for initialization of all fields.
        Parameters:
        encryptionKey - Encryption key to check or set up.