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. |