Index: webrtc/p2p/base/transportchannel.h |
diff --git a/webrtc/p2p/base/transportchannel.h b/webrtc/p2p/base/transportchannel.h |
index 15b38eee84b34497546f0a8a093e18ef4199aeb1..e0dcc3719f4641b5fdb563ca42371cee20107d4f 100644 |
--- a/webrtc/p2p/base/transportchannel.h |
+++ b/webrtc/p2p/base/transportchannel.h |
@@ -108,11 +108,12 @@ class TransportChannel : public sigslot::has_slots<> { |
// Finds out which DTLS cipher was negotiated. |
virtual bool GetSslCipher(std::string* cipher) = 0; |
- // Gets a copy of the local SSL identity, owned by the caller. |
- virtual bool GetLocalIdentity(rtc::SSLIdentity** identity) const = 0; |
+ // Gets the local RTCCertificate used for DTLS. |
+ virtual rtc::scoped_refptr<rtc::RTCCertificate> |
+ GetLocalCertificate() const = 0; |
// Gets a copy of the remote side's SSL certificate, owned by the caller. |
- virtual bool GetRemoteCertificate(rtc::SSLCertificate** cert) const = 0; |
+ virtual bool GetRemoteSSLCertificate(rtc::SSLCertificate** cert) const = 0; |
// Allows key material to be extracted for external encryption. |
virtual bool ExportKeyingMaterial(const std::string& label, |