Searched refs:IsValidSNI (Results 1 - 5 of 5) sorted by relevance

/external/chromium_org/net/quic/crypto/
H A Dcrypto_utils_test.cc13 TEST(CryptoUtilsTest, IsValidSNI) {
15 EXPECT_FALSE(CryptoUtils::IsValidSNI("192.168.0.1"));
17 EXPECT_FALSE(CryptoUtils::IsValidSNI("somedomain"));
20 // EXPECT_FALSE(CryptoUtils::IsValidSNI("some_domain.com"));
23 EXPECT_FALSE(CryptoUtils::IsValidSNI(""));
26 EXPECT_TRUE(CryptoUtils::IsValidSNI("test.google.com"));
H A Dcrypto_utils.h45 static bool IsValidSNI(base::StringPiece sni);
49 // literals. IsValidSNI() should be called before calling NormalizeHostname().
H A Dcrypto_utils.cc48 bool CryptoUtils::IsValidSNI(StringPiece sni) { function in class:net::CryptoUtils
H A Dcrypto_handshake.cc560 if (CryptoUtils::IsValidSNI(server_hostname)) {
H A Dcrypto_server_config.cc619 !CryptoUtils::IsValidSNI(info->sni)) {

Completed in 90 milliseconds