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

Unified Diff: webrtc/p2p/base/dtlstransportchannel.h

Issue 1528843005: Add support for GCM cipher suites from RFC 7714. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Added PeerConnection tests using GCM ciphers, fixed passing of flag through DtlsTransportChannel. Created 5 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: webrtc/p2p/base/dtlstransportchannel.h
diff --git a/webrtc/p2p/base/dtlstransportchannel.h b/webrtc/p2p/base/dtlstransportchannel.h
index 955b963a3657a1efc7436e4347158b02e7e112e2..869dc0e399dd51e96413f6311594451fbe076a4b 100644
--- a/webrtc/p2p/base/dtlstransportchannel.h
+++ b/webrtc/p2p/base/dtlstransportchannel.h
@@ -123,6 +123,10 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl {
virtual bool SetSslMaxProtocolVersion(rtc::SSLProtocolVersion version);
+ virtual bool SetEnableGcmCiphers(bool enable);
+
+ bool IsEnableGcmCiphers() const override;
+
// Set up the ciphers to use for DTLS-SRTP. If this method is not called
// before DTLS starts, or |ciphers| is empty, SRTP keys won't be negotiated.
// This method should be called before SetupDtls.
@@ -229,6 +233,7 @@ class DtlsTransportChannelWrapper : public TransportChannelImpl {
rtc::scoped_refptr<rtc::RTCCertificate> local_certificate_;
rtc::SSLRole ssl_role_;
rtc::SSLProtocolVersion ssl_max_version_;
+ bool enable_gcm_ciphers_;
rtc::Buffer remote_fingerprint_value_;
std::string remote_fingerprint_algorithm_;

Powered by Google App Engine
This is Rietveld 408576698