ZDK
IZRTPConfig.h
1 #ifndef __IZRTPConfig__
2 #define __IZRTPConfig__
3 
4 #include "Types/Zrtp/ZRTPHashAlgorithm.h"
5 #include "Types/Zrtp/ZRTPAuthTag.h"
6 #include "Types/Zrtp/ZRTPKeyAgreement.h"
7 #include "Types/Zrtp/ZRTPCipherAlgorithm.h"
8 #include "Types/Zrtp/ZRTPSASEncoding.h"
9 #include "Types/SharedPointerTypes.h"
10 #include "IZHandle.h"
11 
12 namespace ZDK
13 {
14 
15 //# @abi(all) documentation
18 class IZRTPConfig : public virtual ZDK::IZHandle
19 {
20 public:
21  //# @abi(all) documentation
28  //# @abi(all) property
29  virtual bool EnableZRTP() const = 0;
30 
31  //# @abi(all) documentation
38  //# @abi(all) property
39  virtual void EnableZRTP(bool value) = 0;
40 
41  //# @abi(all) documentation
59  //# @abi(jni|obj_c) property
60  virtual ZDK::Shared::ItemList<ZDK::ZRTPHashAlgorithm> Hash() const = 0;
61 
62  //# @abi(all) documentation
80  //# @abi(jni|obj_c) property
81  virtual void Hash(ZDK::Shared::ItemList<ZDK::ZRTPHashAlgorithm> value) = 0;
82 
83  //# @abi(all) documentation
106  //# @abi(jni|obj_c) property
107  virtual ZDK::Shared::ItemList<ZDK::ZRTPCipherAlgorithm> Cipher() const = 0;
108 
109  //# @abi(all) documentation
132  //# @abi(jni|obj_c) property
133  virtual void Cipher(ZDK::Shared::ItemList<ZDK::ZRTPCipherAlgorithm> value) = 0;
134 
135  //# @abi(all) documentation
158  //# @abi(jni|obj_c) property
159  virtual ZDK::Shared::ItemList<ZDK::ZRTPAuthTag> Auth() const = 0;
160 
161  //# @abi(all) documentation
184  //# @abi(jni|obj_c) property
185  virtual void Auth(ZDK::Shared::ItemList<ZDK::ZRTPAuthTag> value) = 0;
186 
187  //# @abi(all) documentation
222  //# @abi(jni|obj_c) property
223  virtual ZDK::Shared::ItemList<ZDK::ZRTPKeyAgreement> KeyAgreement() const = 0;
224 
225  //# @abi(all) documentation
260  //# @abi(jni|obj_c) property
261  virtual void KeyAgreement(ZDK::Shared::ItemList<ZDK::ZRTPKeyAgreement> value) = 0;
262 
263  //# @abi(all) documentation
303  //# @abi(jni|obj_c) property
304  virtual ZDK::Shared::ItemList<ZDK::ZRTPSASEncoding> SasEncoding() const = 0;
305 
306  //# @abi(all) documentation
346  //# @abi(jni|obj_c) property
347  virtual void SasEncoding(ZDK::Shared::ItemList<ZDK::ZRTPSASEncoding> value) = 0;
348 
349  //# @abi(all) documentation
373  //# @abi(all) property
374  virtual int CacheExpiry() const = 0;
375 
376  //# @abi(all) documentation
400  //# @abi(all) property
401  virtual void CacheExpiry(int value) = 0;
402 
403  //# @abi(all) documentation
412  virtual bool IsEqual(ZDK::Shared::ZRTPConfig comp) const = 0;
413 };
414 
415 } //namespace ZDK
416 
417 #endif //__IZRTPConfig__
virtual ZDK::Shared::ItemList< ZDK::ZRTPCipherAlgorithm > Cipher() const =0
Gets the configured ZRTP Cipher Algorithms for the User.
virtual bool IsEqual(ZDK::Shared::ZRTPConfig comp) const =0
Compares the current configuration with the given one.
Definition: IZHandle.h:12
ZRTP specific account configuration.
Definition: IZRTPConfig.h:18
virtual ZDK::Shared::ItemList< ZDK::ZRTPKeyAgreement > KeyAgreement() const =0
Gets the configured ZRTP Key Agreement algorithms for the User.
virtual ZDK::Shared::ItemList< ZDK::ZRTPSASEncoding > SasEncoding() const =0
Gets the configured ZRTP SAS encodings for the User.
virtual ZDK::Shared::ItemList< ZDK::ZRTPHashAlgorithm > Hash() const =0
Gets the configured ZRTP Hash Algorithms for the User.
Definition: IAccountConfig.h:10
virtual ZDK::Shared::ItemList< ZDK::ZRTPAuthTag > Auth() const =0
Gets the configured ZRTP Authentication Tag types for the User.
virtual bool EnableZRTP() const =0
Gets the configured use of user&#39;s ZRTP.
virtual int CacheExpiry() const =0
Gets the configured ZRTP cache expiry for the User.