zdk.net
TLSConfiguration.h
1 //
2 // TLSConfiguration.h
3 // ZDK
4 //
5 
6 #ifndef ZDK_NET_TLSConfiguration_h
7 #define ZDK_NET_TLSConfiguration_h
8 
9 #include "native_shared_ptr.h"
10 #include "PublicInterfaces.h"
11 #include "TLSSecureSuiteType.h"
12 #include "ZHandle.h"
13 
14 using namespace System::Collections::Generic;
15 
16 namespace ZDK_NET
17 {
18 
27  public ref class TLSConfiguration : ZHandle
28  {
29  public:
30  ZDK::ITLSConfiguration* cppRef = nullptr;
31 
32  TLSConfiguration(ZDK::Shared::TLSConfiguration src);
35 
46  property bool TLSInitialized
47  {
48  bool get();
49  void set(bool value);
50  }
51 
60  property bool UseOnlyStrongCyphers
61  {
62  bool get();
63  void set(bool value);
64  }
65 
88  property System::String^ Domain
89  {
90  System::String^ get();
91  void set(System::String^ value);
92  }
93 
114  property System::String^ DomainCert
115  {
116  System::String^ get();
117  void set(System::String^ value);
118  }
119 
129  property System::String^ DomainCertPassphrase
130  {
131  System::String^ get();
132  void set(System::String^ value);
133  }
134 
143  property ZDK_NET::TLSSecureSuiteType SecureSuite
144  {
145  ZDK_NET::TLSSecureSuiteType get();
146  void set(ZDK_NET::TLSSecureSuiteType value);
147  }
148 
149  virtual long long Handle() override;
150 
151  virtual void Initialize() override;
152 
153  virtual void ReleaseReference() override;
154 
155  };
156 }
157 
158 #endif
ZDK_NET::TLSConfiguration
TLS specific account configuration.
Definition: TLSConfiguration.h:28
ZDK_NET::ZHandle
Definition: ZHandle.h:18