Home
last modified time | relevance | path

Searched refs:EncodeKey (Results 1 – 4 of 4) sorted by relevance

/arkcompiler/toolchain/websocket/
Dhandshake_helper.cpp21 bool WebSocketKeyEncoder::EncodeKey(std::string_view key, unsigned char (&destination)[ENCODED_KEY_… in EncodeKey() function in OHOS::ArkCompiler::Toolchain::WebSocketKeyEncoder
27 return EncodeKey(reinterpret_cast<unsigned char *>(buffer.data()), buffer.size(), destination); in EncodeKey()
31 bool WebSocketKeyEncoder::EncodeKey(const unsigned char(&key)[KEY_LENGTH + 1], in EncodeKey() function in OHOS::ArkCompiler::Toolchain::WebSocketKeyEncoder
39 return EncodeKey(buffer, bufferSize, destination); in EncodeKey()
43 bool WebSocketKeyEncoder::EncodeKey(const unsigned char *source, size_t length, in EncodeKey() function in OHOS::ArkCompiler::Toolchain::WebSocketKeyEncoder
Dhandshake_helper.h36 static bool EncodeKey(std::string_view key, unsigned char (&destination)[ENCODED_KEY_LEN + 1]);
37 …static bool EncodeKey(const unsigned char(&key)[KEY_LENGTH + 1], unsigned char (&destination)[ENCO…
40 static bool EncodeKey(const unsigned char *source, size_t length,
/arkcompiler/toolchain/websocket/client/
Dwebsocket_client.cpp54 if (!WebSocketKeyEncoder::EncodeKey(defaultWebSocketKey, expectedSecWebSocketAccept)) { in ValidateServerHandShake()
/arkcompiler/toolchain/websocket/server/
Dwebsocket_server.cpp85 if (!WebSocketKeyEncoder::EncodeKey(req.secWebSocketKey, encodedKey)) { in ProtocolUpgrade()