All Classes Files Functions Variables Pages
Encryption.idl
Go to the documentation of this file.
1 /**
2  * @file Encryption.idl
3  * @brief Encryption properties
4  * @version 2
5  */
6 
7 #import <kerio/web/idl/SharedStructures.idl>
8 
9 module webadmin {
10 
11 /**
12  * Encryption error
13  */
15  long code; ///< status error code
16  string message; ///< status error message
17  long param; ///< need space to free
18 };
19 
20 /**
21  * Encryption progress
22  */
24  long current; //< current progress
25  long total; ///< total progress
26 };
27 
28 interface Encryption {
29 
30  /**
31  * Returns the encryption information
32  *
33  * @param result - encryption information
34  */
35  void getEncryptionStatus(out string status, out string action, out EncryptionError error, out EncryptionProgress progress);
36 
37  /**
38  * Returns Start encryption action
39  * @param params - action params
40  * @param result - encryption information
41  */
42  void startEncryption(in string password, out string status, out string action, out EncryptionError error, out EncryptionProgress progress);
43 
44  /**
45  * Returns Start descryption action
46  * @param params - action params
47  * @param result - encryption information
48  */
49  void startDecryption(in string password, out string status, out string action, out EncryptionError error, out EncryptionProgress progress);
50 
51  /**
52  * Returns Start resizing action
53  * @param params - action params
54  * @param result - encryption information
55  */
56  void startResizing(out string status, out string action, out EncryptionError error, out EncryptionProgress progress);
57 
58  /**
59  * Returns current disk space
60  * @param params - status
61  * @param result - disk space
62  */
63  void getDiskSpace(out long status);
64 
65 
66 };
67 }; //webadmin
Definition: Encryption.idl:23
string message
status error message
Definition: Encryption.idl:16
Definition: Encryption.idl:28
long param
need space to free
Definition: Encryption.idl:17
long code
status error code
Definition: Encryption.idl:15
long total
total progress
Definition: Encryption.idl:25
Definition: Encryption.idl:14
Definition: Accounting.idl:11