Searched refs:FakeSSLIdentity (Results 1 – 7 of 7) sorted by relevance
73 FakeSSLIdentity::FakeSSLIdentity(const std::string& pem_string) in FakeSSLIdentity() function in rtc::FakeSSLIdentity74 : FakeSSLIdentity(FakeSSLCertificate(pem_string)) {} in FakeSSLIdentity()76 FakeSSLIdentity::FakeSSLIdentity(const std::vector<std::string>& pem_strings) { in FakeSSLIdentity() function in rtc::FakeSSLIdentity85 FakeSSLIdentity::FakeSSLIdentity(const FakeSSLCertificate& cert) in FakeSSLIdentity() function in rtc::FakeSSLIdentity88 FakeSSLIdentity::FakeSSLIdentity(const FakeSSLIdentity& o) in FakeSSLIdentity() function in rtc::FakeSSLIdentity91 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 …]
53 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;
173 info.identity.reset(new rtc::FakeSSLIdentity(info.pems)); in CreateFakeIdentityAndInfoFromDers()
40 new rtc::FakeSSLIdentity("User1")))),42 new rtc::FakeSSLIdentity("User2")))) {}
664 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()
446 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()
155 rtc::RTCCertificate::Create(std::unique_ptr<rtc::FakeSSLIdentity>( in CreateFakeCertificateAndInfoFromDers()156 new rtc::FakeSSLIdentity(info->pems))); in CreateFakeCertificateAndInfoFromDers()