Home
last modified time | relevance | path

Searched refs:ToPEMString (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/p2p/base/
Ddtls_transport_unittest.cc520 ASSERT_NE(certificate1->GetSSLCertificate().ToPEMString(), in TEST_F()
521 certificate2->GetSSLCertificate().ToPEMString()); in TEST_F()
534 ASSERT_NE(certificate1->GetSSLCertificate().ToPEMString(), in TEST_F()
535 certificate2->GetSSLCertificate().ToPEMString()); in TEST_F()
542 ASSERT_EQ(remote_cert1->Get(0).ToPEMString(), in TEST_F()
543 certificate2->GetSSLCertificate().ToPEMString()); in TEST_F()
548 ASSERT_EQ(remote_cert2->Get(0).ToPEMString(), in TEST_F()
549 certificate1->GetSSLCertificate().ToPEMString()); in TEST_F()
/external/webrtc/rtc_base/
Dssl_stream_adapter_unittest.cc995 EXPECT_EQ(cert_chain->Get(0).ToPEMString(), in TEST_P()
996 server_identity()->certificate().ToPEMString()); in TEST_P()
1008 EXPECT_EQ(kCERT_PEM, peer_cert_chain->Get(0).ToPEMString()); in TEST_F()
1009 EXPECT_EQ(kCACert, peer_cert_chain->Get(1).ToPEMString()); in TEST_F()
1020 EXPECT_EQ(kCERT_PEM, peer_cert_chain->Get(0).ToPEMString()); in TEST_F()
1021 EXPECT_EQ(kCACert, peer_cert_chain->Get(1).ToPEMString()); in TEST_F()
1032 EXPECT_EQ(kCERT_PEM, peer_cert_chain->Get(0).ToPEMString()); in TEST_F()
1033 EXPECT_EQ(kIntCert1, peer_cert_chain->Get(1).ToPEMString()); in TEST_F()
1034 EXPECT_EQ(kCACert, peer_cert_chain->Get(2).ToPEMString()); in TEST_F()
1400 std::string client_peer_string = client_peer_cert->ToPEMString(); in TEST_F()
[all …]
Dssl_identity_unittest.cc305 std::string cert_pem = identity.certificate().ToPEMString(); in TestCloningIdentity()
325 std::string clone_cert_pem = clone->certificate().ToPEMString(); in TestCloningIdentity()
397 EXPECT_EQ(kRSA_CERT_PEM, identity->certificate().ToPEMString()); in TEST_F()
406 EXPECT_EQ(kECDSA_CERT_PEM, identity->certificate().ToPEMString()); in TEST_F()
Dopenssl_certificate.h49 std::string ToPEMString() const override;
Drtc_certificate.cc61 GetSSLCertificate().ToPEMString()); in ToPEM()
Dfake_ssl_identity.h33 std::string ToPEMString() const override;
Dssl_certificate.h66 virtual std::string ToPEMString() const = 0;
Dfake_ssl_identity.cc35 std::string FakeSSLCertificate::ToPEMString() const { in ToPEMString() function in rtc::FakeSSLCertificate
Dopenssl_certificate.cc245 std::string OpenSSLCertificate::ToPEMString() const { in ToPEMString() function in rtc::OpenSSLCertificate
/external/webrtc/test/fuzzers/
Dssl_certificate_fuzzer.cc33 cert->ToPEMString(); in FuzzOneInput()
/external/webrtc/pc/
Djsep_transport_controller_unittest.cc550 EXPECT_EQ(certificate1->identity()->certificate().ToPEMString(), in TEST_F()
551 returned_certificate->identity()->certificate().ToPEMString()); in TEST_F()
578 EXPECT_EQ(fake_certificate.ToPEMString(), in TEST_F()
579 returned_cert_chain->Get(0).ToPEMString()); in TEST_F()
Dpeer_connection_integrationtest.cc1996 EXPECT_EQ(callee_cert->GetSSLCertificate().ToPEMString(), in TEST_P()
1997 caller_remote_cert->ToPEMString()); in TEST_P()
2001 EXPECT_EQ(caller_cert->GetSSLCertificate().ToPEMString(), in TEST_P()
2002 callee_remote_cert->ToPEMString()); in TEST_P()
2008 EXPECT_EQ(callee_cert->GetSSLCertificate().ToPEMString(), in TEST_P()
2009 remote_cert->ToPEMString()); in TEST_P()
2015 EXPECT_EQ(caller_cert->GetSSLCertificate().ToPEMString(), in TEST_P()
2016 remote_cert->ToPEMString()); in TEST_P()