Home
last modified time | relevance | path

Searched refs:tlsContext (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/src/
H A Dtls_context.cpp42 return tlsContext; in CreateConfiguration()
54 if (!tlsContext) { in SetCipherList()
68 if (!tlsContext) { in GetCiphers()
89 if (!tlsContext) { in SetSignatureAlgorithms()
107 if (!tlsContext) { in UseRemoteCipher()
120 if (!tlsContext) { in SetMinAndMaxProtocol()
214 if (!tlsContext) { in SetCaAndVerify()
236 if (!tlsContext) { in SetLocalCertificate()
249 if (!tlsContext) { in SetKeyAndCheck()
293 if (!tlsContext) { in SetVerify()
[all …]
H A Dtls_context_server.cpp41 return tlsContext; in CreateConfiguration()
53 if (!tlsContext) { in SetCipherList()
67 if (!tlsContext) { in GetCiphers()
88 if (!tlsContext) { in SetSignatureAlgorithms()
106 if (!tlsContext) { in UseRemoteCipher()
119 if (!tlsContext) { in SetMinAndMaxProtocol()
216 if (!tlsContext) { in SetCaAndVerify()
239 if (!tlsContext) { in SetLocalCertificate()
252 if (!tlsContext) { in SetKeyAndCheck()
291 if (!tlsContext) { in SetVerify()
[all …]
/ohos5.0/foundation/communication/netstack/test/unittest/tlssocket/client/
H A DTlsContextTest.cpp57 EXPECT_NE(tlsContext, nullptr);
58 tlsContext->CloseCtx();
75 EXPECT_NE(tlsContext, nullptr);
96 tlsContext->CloseCtx();
105 EXPECT_NE(tlsContext, nullptr);
107 tlsContext->CloseCtx();
118 EXPECT_NE(tlsContext, nullptr);
119 tlsContext->CloseCtx();
130 EXPECT_NE(tlsContext, nullptr);
131 tlsContext->CloseCtx();
[all …]
/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/include/
H A Dtls_context.h37 static bool SetCipherList(TLSContext *tlsContext, const TLSConfiguration &configuration);
38 … static bool SetSignatureAlgorithms(TLSContext *tlsContext, const TLSConfiguration &configuration);
39 static void GetCiphers(TLSContext *tlsContext);
40 static void UseRemoteCipher(TLSContext *tlsContext);
41 static void SetMinAndMaxProtocol(TLSContext *tlsContext);
42 static bool SetDefaultCa(TLSContext *tlsContext, const TLSConfiguration &configuration);
43 static bool SetCaAndVerify(TLSContext *tlsContext, const TLSConfiguration &configuration);
44 static bool SetLocalCertificate(TLSContext *tlsContext, const TLSConfiguration &configuration);
45 static bool SetKeyAndCheck(TLSContext *tlsContext, const TLSConfiguration &configuration);
46 static void SetVerify(TLSContext *tlsContext);
H A Dtls_context_server.h37 static bool SetCipherList(TLSContextServer *tlsContext, const TLSConfiguration &configuration);
38 …static bool SetSignatureAlgorithms(TLSContextServer *tlsContext, const TLSConfiguration &configura…
39 static void GetCiphers(TLSContextServer *tlsContext);
40 static void UseRemoteCipher(TLSContextServer *tlsContext);
41 static void SetMinAndMaxProtocol(TLSContextServer *tlsContext);
42 static bool SetDefaultCa(TLSContextServer *tlsContext, const TLSConfiguration &configuration);
43 static bool SetCaAndVerify(TLSContextServer *tlsContext, const TLSConfiguration &configuration);
44 …static bool SetLocalCertificate(TLSContextServer *tlsContext, const TLSConfiguration &configuratio…
45 static bool SetKeyAndCheck(TLSContextServer *tlsContext, const TLSConfiguration &configuration);
46 static void SetVerify(TLSContextServer *tlsContext);