Home
last modified time | relevance | path

Searched refs:FakeSSLIdentity (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/rtc_base/
Dfake_ssl_identity.cc73 FakeSSLIdentity::FakeSSLIdentity(const std::string& pem_string) in FakeSSLIdentity() function in rtc::FakeSSLIdentity
74 : FakeSSLIdentity(FakeSSLCertificate(pem_string)) {} in FakeSSLIdentity()
76 FakeSSLIdentity::FakeSSLIdentity(const std::vector<std::string>& pem_strings) { in FakeSSLIdentity() function in rtc::FakeSSLIdentity
85 FakeSSLIdentity::FakeSSLIdentity(const FakeSSLCertificate& cert) in FakeSSLIdentity() function in rtc::FakeSSLIdentity
88 FakeSSLIdentity::FakeSSLIdentity(const FakeSSLIdentity& o) in FakeSSLIdentity() function in rtc::FakeSSLIdentity
91 FakeSSLIdentity::~FakeSSLIdentity() = default;
93 std::unique_ptr<SSLIdentity> FakeSSLIdentity::CloneInternal() const { in CloneInternal()
94 return std::make_unique<FakeSSLIdentity>(*this); in CloneInternal()
97 const SSLCertificate& FakeSSLIdentity::certificate() const { in certificate()
101 const SSLCertChain& FakeSSLIdentity::cert_chain() const { in cert_chain()
[all …]
Dfake_ssl_identity.h53 class FakeSSLIdentity : public SSLIdentity {
55 explicit FakeSSLIdentity(const std::string& pem_string);
57 explicit FakeSSLIdentity(const std::vector<std::string>& pem_strings);
58 explicit FakeSSLIdentity(const FakeSSLCertificate& cert);
60 explicit FakeSSLIdentity(const FakeSSLIdentity& o);
62 ~FakeSSLIdentity() override;
Dssl_identity_unittest.cc173 info.identity.reset(new rtc::FakeSSLIdentity(info.pems)); in CreateFakeIdentityAndInfoFromDers()
/external/webrtc/p2p/base/
Dtransport_description_factory_unittest.cc40 new rtc::FakeSSLIdentity("User1")))),
42 new rtc::FakeSSLIdentity("User2")))) {}
/external/webrtc/pc/
Dstats_collector_unittest.cc664 void TestCertificateReports(const rtc::FakeSSLIdentity& local_identity, in TestCertificateReports()
666 const rtc::FakeSSLIdentity& remote_identity, in TestCertificateReports()
1389 rtc::FakeSSLIdentity local_identity(DersToPems(local_ders)); in TEST_F()
1397 rtc::FakeSSLIdentity remote_identity(DersToPems(remote_ders)); in TEST_F()
1408 rtc::FakeSSLIdentity local_identity(DerToPem(local_der)); in TEST_F()
1412 rtc::FakeSSLIdentity remote_identity(DerToPem(remote_der)); in TEST_F()
1461 rtc::FakeSSLIdentity local_identity(DerToPem(local_der)); in TEST_F()
1467 rtc::FakeSSLIdentity remote_identity(remote_cert); in TEST_F()
Dmedia_session_unittest.cc446 std::unique_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("id1")))); in MediaSessionDescriptionFactoryTest()
448 std::unique_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("id2")))); in MediaSessionDescriptionFactoryTest()
4577 std::unique_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("id1")))); in MediaProtocolTest()
4579 std::unique_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("id2")))); in MediaProtocolTest()
Drtc_stats_collector_unittest.cc155 rtc::RTCCertificate::Create(std::unique_ptr<rtc::FakeSSLIdentity>( in CreateFakeCertificateAndInfoFromDers()
156 new rtc::FakeSSLIdentity(info->pems))); in CreateFakeCertificateAndInfoFromDers()