1 #ifndef __IENCRYPTIONCONTROL__ 2 #define __IENCRYPTIONCONTROL__ 4 #include "Types/SharedPointerTypes.h" 9 class ITLSConfiguration;
30 virtual ZDK::Shared::TLSConfiguration
TLSConfig() = 0;
44 virtual void TLSConfig(ZDK::Shared::TLSConfiguration value) = 0;
72 virtual ZDK::Shared::Result
AddKnownCertificate(ZDK::Shared::SecureCertData secureCert) = 0;
91 virtual ZDK::Shared::Result
AddCertificates(ZDK::Shared::String filename) = 0;
124 virtual ZDK::Shared::Result
EnableCertServer(
int discoverPort,
int requestPort,
const char* sharedKey,
125 int sharedKeyLen) = 0;
150 virtual ZDK::Shared::Result
DiscoverCertServer(
int discoverPort, ZDK::Shared::String hostName,
151 const char* sharedKey,
int sharedKeyLen) = 0;
165 virtual ZDK::Shared::Result
SendCertRequest(ZDK::Shared::String requestBody) = 0;
180 virtual ZDK::Shared::Result
SendCertResponse(ZDK::ZDKHandle
id, ZDK::Shared::String pResponse) = 0;
234 virtual ZDK::Shared::Result
GlobalZrtpCache(ZDK::Shared::String value) = 0;
252 #endif //__IENCRYPTIONCONTROL__ virtual ZDK::SecureCertStatus EvaluateCertificateTrust(ZDK::Shared::SecureCertData value)=0
Evaluates the certificate trust type.
Definition: IZHandle.h:12
virtual ZDK::Shared::Result SendCertRequest(ZDK::Shared::String requestBody)=0
Sends a "request" to the discovered server.
virtual ZDK::Shared::Result AddKnownCertificate(ZDK::Shared::SecureCertData secureCert)=0
Adds a certificate to the exception list.
virtual ZDK::Shared::Result AddCertificatesDirect(unsigned char *data, int dataLen)=0
Adds TLS certificates from memory.
virtual ZDK::Shared::Result DiscoverCertServer(int discoverPort, ZDK::Shared::String hostName, const char *sharedKey, int sharedKeyLen)=0
Discovers certificate server on given port or by host name.
virtual ZDK::Shared::Result EnableCertServer(int discoverPort, int requestPort, const char *sharedKey, int sharedKeyLen)=0
Starts certificate server.
virtual ZDK::Shared::Result GlobalZrtpCache(ZDK::Shared::String value)=0
Configure global ZRTP ZID Cache file.
Definition: IAccountConfig.h:10
Encription specific configuration.
Definition: IEncryptionConfigurationl.h:15
virtual ZDK::Shared::TLSConfiguration TLSConfig()=0
Gets the TLS specific configuration.
virtual ZDK::Shared::Result SendCertResponse(ZDK::ZDKHandle id, ZDK::Shared::String pResponse)=0
Sends a response to a cert client.
virtual ZDK::Shared::Result DisableCertServer()=0
Stops certificate server.
virtual ZDK::Shared::Result AddCertificates(ZDK::Shared::String filename)=0
Adds TLS certificates from a PEM file.