ZDK
ITLSConfiguration.h
1 #ifndef __ITLSCONFIGURATION__
2 #define __ITLSCONFIGURATION__
3 
4 #include <memory>
5 #include "Types/TLSSecureSuiteType.h"
6 #include "IZHandle.h"
7 
8 namespace ZDK
9 {
10 
11 //# @abi(all) documentation
20 class ITLSConfiguration : public virtual ZDK::IZHandle
21 {
22 public:
23  //# @abi(all) documentation
34  //# @abi(jni|obj_c) property
35  virtual bool TLSInitialized() const = 0;
36 
37  //# @abi(all) documentation
48  //# @abi(jni|obj_c) property
49  virtual void TLSInitialized(bool value) = 0;
50 
51  //# @abi(all) documentation
60  //# @abi(jni|obj_c) property
61  virtual bool UseOnlyStrongCyphers() const = 0;
62 
63  //# @abi(all) documentation
72  //# @abi(jni|obj_c) property
73  virtual void UseOnlyStrongCyphers(bool value) = 0;
74 
75  //# @abi(all) documentation
98  //# @abi(jni|obj_c) property
99  //# @abi(jni|obj_c) @param(return) nullable
100  virtual ZDK::Shared::String Domain() const = 0;
101 
102  //# @abi(all) documentation
125  //# @abi(jni|obj_c) property
126  //# @abi(jni|obj_c) @param(value) nullable
127  virtual void Domain(ZDK::Shared::String value) = 0;
128 
129  //# @abi(all) documentation
150  //# @abi(jni|obj_c) property
151  //# @abi(jni|obj_c) @param(return) nullable
152  virtual ZDK::Shared::String DomainCert() const = 0;
153 
154  //# @abi(all) documentation
175  //# @abi(jni|obj_c) property
176  //# @abi(jni|obj_c) @param(value) nullable
177  virtual void DomainCert(ZDK::Shared::String value) = 0;
178 
179  //# @abi(all) documentation
189  //# @abi(jni|obj_c) property
190  //# @abi(jni|obj_c) @param(return) nullable
191  virtual ZDK::Shared::String DomainCertPassphrase() const = 0;
192 
193  //# @abi(all) documentation
203  //# @abi(jni|obj_c) property
204  //# @abi(jni|obj_c) @param(value) nullable
205  virtual void DomainCertPassphrase(ZDK::Shared::String value) = 0;
206 
207  //# @abi(all) documentation
220  //# @abi(jni|obj_c) property
221  virtual ZDK::TLSSecureSuiteType SecureSuite() const = 0;
222 
223  //# @abi(all) documentation
236  //# @abi(jni|obj_c) property
237  virtual void SecureSuite(ZDK::TLSSecureSuiteType value) = 0;
238 };
239 
240 } //namespace ZDK
241 
242 #endif //__ITLSCONFIGURATION__
virtual ZDK::Shared::String DomainCertPassphrase() const =0
Gets the configured domain certificate passphrase.
TLS specific account configuration.
Definition: ITLSConfiguration.h:20
Definition: IZHandle.h:12
virtual ZDK::Shared::String DomainCert() const =0
Gets the configured domain certificate to be load.
virtual bool TLSInitialized() const =0
Gets whether the TLS configuration is initialized/applied.
virtual ZDK::Shared::String Domain() const =0
Gets the configured local domain name.
virtual bool UseOnlyStrongCyphers() const =0
Gets whether to to limit the use to only of strong cypher.
Definition: IAccountConfig.h:10
virtual ZDK::TLSSecureSuiteType SecureSuite() const =0
Gets the configured TLS secure suite type to be used.