Searched refs:FakeSSLIdentity (Results 1 – 4 of 4) sorted by relevance
93 class FakeSSLIdentity : public rtc::SSLIdentity {95 explicit FakeSSLIdentity(const std::string& data) : cert_(data) {} in FakeSSLIdentity() function96 explicit FakeSSLIdentity(const FakeSSLCertificate& cert) : cert_(cert) {} in FakeSSLIdentity() function97 virtual FakeSSLIdentity* GetReference() const { in GetReference()98 return new FakeSSLIdentity(*this); in GetReference()
30 scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("User1")))), in TransportDescriptionFactoryTest()32 scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("User2")))) {} in TransportDescriptionFactoryTest()
698 rtc::RTCCertificate::Create(rtc::scoped_ptr<rtc::FakeSSLIdentity>( in TestCertificateReports()699 new rtc::FakeSSLIdentity(local_cert)))); in TestCertificateReports()
241 rtc::scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("id1")))); in MediaSessionDescriptionFactoryTest()243 rtc::scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("id2")))); in MediaSessionDescriptionFactoryTest()