Searched refs:FakeSSLCertificate (Results 1 – 6 of 6) sorted by relevance
22 FakeSSLCertificate::FakeSSLCertificate(const std::string& pem_string) in FakeSSLCertificate() function in rtc::FakeSSLCertificate27 FakeSSLCertificate::FakeSSLCertificate(const FakeSSLCertificate&) = default;29 FakeSSLCertificate::~FakeSSLCertificate() = default;31 std::unique_ptr<SSLCertificate> FakeSSLCertificate::Clone() const { in Clone()32 return std::make_unique<FakeSSLCertificate>(*this); in Clone()35 std::string FakeSSLCertificate::ToPEMString() const { in ToPEMString()39 void FakeSSLCertificate::ToDER(Buffer* der_buffer) const { in ToDER()46 int64_t FakeSSLCertificate::CertificateExpirationTime() const { in CertificateExpirationTime()50 void FakeSSLCertificate::SetCertificateExpirationTime(int64_t expiration_time) { in SetCertificateExpirationTime()54 void FakeSSLCertificate::set_digest_algorithm(const std::string& algorithm) { in set_digest_algorithm()[all …]
22 class FakeSSLCertificate : public SSLCertificate {26 explicit FakeSSLCertificate(const std::string& pem_string);28 FakeSSLCertificate(const FakeSSLCertificate&);29 ~FakeSSLCertificate() override;58 explicit FakeSSLIdentity(const FakeSSLCertificate& cert);
58 void CreateTransport(rtc::FakeSSLCertificate* certificate = nullptr) { in CreateTransport()124 rtc::FakeSSLCertificate fake_certificate("fake data"); in TEST_F()134 rtc::FakeSSLCertificate fake_certificate("fake data"); in TEST_F()
569 rtc::FakeSSLCertificate fake_certificate("fake_data"); in TEST_F()
1465 rtc::FakeSSLCertificate remote_cert(DerToPem(remote_der)); in TEST_F()
169 void SetRemoteSSLCertificate(rtc::FakeSSLCertificate* cert) { in SetRemoteSSLCertificate()293 rtc::FakeSSLCertificate* remote_cert_ = nullptr;