Home
last modified time | relevance | path

Searched refs:FakeSSLCertificate (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/base/
Dfakesslidentity.h23 class FakeSSLCertificate : public rtc::SSLCertificate {
27 explicit FakeSSLCertificate(const std::string& data) in FakeSSLCertificate() function
29 explicit FakeSSLCertificate(const std::vector<std::string>& certs) in FakeSSLCertificate() function
36 certs_.push_back(FakeSSLCertificate(*it)); in FakeSSLCertificate()
39 virtual FakeSSLCertificate* GetReference() const { in GetReference()
40 return new FakeSSLCertificate(*this); in GetReference()
82 static FakeSSLCertificate* DupCert(FakeSSLCertificate cert) { in DupCert()
87 std::vector<FakeSSLCertificate> certs_;
96 explicit FakeSSLIdentity(const FakeSSLCertificate& cert) : cert_(cert) {} in FakeSSLIdentity()
100 virtual const FakeSSLCertificate& certificate() const { return cert_; } in certificate()
[all …]
/external/webrtc/talk/app/webrtc/
Dstatscollector_unittest.cc674 void TestCertificateReports(const rtc::FakeSSLCertificate& local_cert, in TestCertificateReports()
676 const rtc::FakeSSLCertificate& remote_cert, in TestCertificateReports()
1332 rtc::FakeSSLCertificate local_cert(DersToPems(local_ders)); in TEST_F()
1340 rtc::FakeSSLCertificate remote_cert(DersToPems(remote_ders)); in TEST_F()
1350 rtc::FakeSSLCertificate local_cert(DerToPem(local_der)); in TEST_F()
1354 rtc::FakeSSLCertificate remote_cert(DerToPem(remote_der)); in TEST_F()
1472 rtc::FakeSSLCertificate local_cert(DerToPem(local_der)); in TEST_F()
1476 rtc::FakeSSLCertificate remote_cert(DerToPem(remote_der)); in TEST_F()
/external/webrtc/webrtc/p2p/base/
Dfaketransportcontroller.h239 void SetRemoteSSLCertificate(rtc::FakeSSLCertificate* cert) { in SetRemoteSSLCertificate()
322 rtc::FakeSSLCertificate* remote_cert_ = nullptr;
Dtransportcontroller_unittest.cc305 rtc::FakeSSLCertificate fake_certificate("fake_data"); in TEST_F()