Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Unified Diff: net/ssl/ssl_cipher_suite_names.h

Issue 2156763003: Extend the webRequest.onCompleted event details object with TLS/SSL information Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trim more fields and use composed cipher suite name Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/ssl/ssl_cipher_suite_names.h
diff --git a/net/ssl/ssl_cipher_suite_names.h b/net/ssl/ssl_cipher_suite_names.h
index 36a6d152bb3fab49a70b94526137a2eea501e445..394ce85c233b8ff960ebac0ce681978e2d8573ac 100644
--- a/net/ssl/ssl_cipher_suite_names.h
+++ b/net/ssl/ssl_cipher_suite_names.h
@@ -30,6 +30,12 @@ NET_EXPORT void SSLCipherSuiteToStrings(const char** key_exchange_str,
bool* is_tls13,
uint16_t cipher_suite);
+// SSLCipherSuiteToComposedString returns the name of the cipher suite
+// specified by |cipher_suite|. The name is in the format
+// 'TLS_{key-exchange}_WITH_{cipher}_{prf}' or 'TLS_{cipher}_{prf}' if
+// the cipher is AEAD.
+NET_EXPORT std::string SSLCipherSuiteToComposedString(uint16_t cipher_suite);
+
// SSLVersionToString returns the name of the SSL protocol version
// specified by |ssl_version|, which is defined in
// net/ssl/ssl_connection_status_flags.h.

Powered by Google App Engine
This is Rietveld 408576698