/external/webrtc/webrtc/base/ |
D | sslidentity_unittest.cc | 18 using rtc::SSLIdentity; 73 identity_rsa1_.reset(SSLIdentity::Generate("test1", rtc::KT_RSA)); in SetUp() 74 identity_rsa2_.reset(SSLIdentity::Generate("test2", rtc::KT_RSA)); in SetUp() 75 identity_ecdsa1_.reset(SSLIdentity::Generate("test3", rtc::KT_ECDSA)); in SetUp() 76 identity_ecdsa2_.reset(SSLIdentity::Generate("test4", rtc::KT_ECDSA)); in SetUp() 114 const SSLIdentity* identity, in TestDigestHelper() 177 rtc::scoped_ptr<SSLIdentity> identity_rsa1_; 178 rtc::scoped_ptr<SSLIdentity> identity_rsa2_; 179 rtc::scoped_ptr<SSLIdentity> identity_ecdsa1_; 180 rtc::scoped_ptr<SSLIdentity> identity_ecdsa2_; [all …]
|
D | sslidentity.h | 184 class SSLIdentity { 191 static SSLIdentity* Generate(const std::string& common_name, 193 static SSLIdentity* Generate(const std::string& common_name, in Generate() 199 static SSLIdentity* GenerateForTest(const SSLIdentityParams& params); 202 static SSLIdentity* FromPEMStrings(const std::string& private_key, 205 virtual ~SSLIdentity() {} in ~SSLIdentity() 211 virtual SSLIdentity* GetReference() const = 0;
|
D | rtccertificate.h | 28 static scoped_refptr<RTCCertificate> Create(scoped_ptr<SSLIdentity> identity); 41 SSLIdentity* identity() const { return identity_.get(); } in identity() 44 explicit RTCCertificate(SSLIdentity* identity); 50 scoped_ptr<SSLIdentity> identity_;
|
D | sslidentity.cc | 91 bool SSLIdentity::PemToDer(const std::string& pem_type, in PemToDer() 116 std::string SSLIdentity::DerToPem(const std::string& pem_type, in DerToPem() 161 SSLIdentity* SSLIdentity::Generate(const std::string& common_name, in Generate() 166 SSLIdentity* SSLIdentity::GenerateForTest(const SSLIdentityParams& params) { in GenerateForTest() 170 SSLIdentity* SSLIdentity::FromPEMStrings(const std::string& private_key, in FromPEMStrings()
|
D | rtccertificate_unittests.cc | 80 scoped_ptr<SSLIdentity> identity(SSLIdentity::GenerateForTest(params)); in GenerateCertificateWithExpires() 88 scoped_ptr<SSLIdentity> identity( in TEST_F() 89 SSLIdentity::Generate(kTestCertCommonName, KeyParams::ECDSA())); in TEST_F()
|
D | rtccertificate.cc | 18 scoped_ptr<SSLIdentity> identity) { in Create() 22 RTCCertificate::RTCCertificate(SSLIdentity* identity) in RTCCertificate()
|
D | sslstreamadapterhelper.h | 33 void SetIdentity(SSLIdentity* identity) override; 91 scoped_ptr<SSLIdentity> identity_;
|
D | opensslidentity.h | 102 class OpenSSLIdentity : public SSLIdentity { 107 static SSLIdentity* FromPEMStrings(const std::string& private_key,
|
D | fakesslidentity.h | 47 VERIFY(SSLIdentity::PemToDer(kPemTypeCertificate, data_, &der_string)); in ToDER() 93 class FakeSSLIdentity : public rtc::SSLIdentity {
|
D | sslstreamadapter_unittest.cc | 266 client_identity_ = rtc::SSLIdentity::FromPEMStrings( in SetUp() 269 client_identity_ = rtc::SSLIdentity::Generate("client", client_key_type_); in SetUp() 271 server_identity_ = rtc::SSLIdentity::Generate("server", server_key_type_); in SetUp() 303 client_identity_ = rtc::SSLIdentity::GenerateForTest(client_params); in ResetIdentitiesWithValidity() 310 server_identity_ = rtc::SSLIdentity::GenerateForTest(server_params); in ResetIdentitiesWithValidity() 524 rtc::SSLIdentity *client_identity_; // freed by client_ssl_ destructor 525 rtc::SSLIdentity *server_identity_; // freed by server_ssl_ destructor
|
D | sslfingerprint.h | 26 const rtc::SSLIdentity* identity);
|
D | ssladapter_unittest.cc | 137 ssl_identity_.reset(rtc::SSLIdentity::Generate(GetHostname(), key_params)); in SSLAdapterTestDummyServer() 265 rtc::scoped_ptr<rtc::SSLIdentity> ssl_identity_;
|
D | sslstreamadapter.h | 97 virtual void SetIdentity(SSLIdentity* identity) = 0;
|
D | sslfingerprint.cc | 23 const std::string& algorithm, const rtc::SSLIdentity* identity) { in Create()
|
D | sslstreamadapterhelper.cc | 36 void SSLStreamAdapterHelper::SetIdentity(SSLIdentity* identity) { in SetIdentity()
|
D | opensslstreamadapter.h | 64 void SetIdentity(SSLIdentity* identity) override;
|
/external/webrtc/talk/app/webrtc/test/ |
D | fakedtlsidentitystore.h | 130 rtc::SSLIdentity::PemToDer("CERTIFICATE", kKeysAndCerts[0].cert_pem, &cert); in GenerateCertificate() 131 rtc::SSLIdentity::PemToDer("RSA PRIVATE KEY", in GenerateCertificate() 134 std::string pem_cert = rtc::SSLIdentity::DerToPem( in GenerateCertificate() 138 std::string pem_key = rtc::SSLIdentity::DerToPem( in GenerateCertificate() 142 rtc::scoped_ptr<rtc::SSLIdentity> identity( in GenerateCertificate() 143 rtc::SSLIdentity::FromPEMStrings(pem_key, pem_cert)); in GenerateCertificate() 168 rtc::SSLIdentity::PemToDer("CERTIFICATE", get_cert(), &cert); in OnMessage() 169 rtc::SSLIdentity::PemToDer("RSA PRIVATE KEY", get_key(), &key); in OnMessage()
|
/external/webrtc/talk/app/webrtc/ |
D | dtlsidentitystore.h | 48 class SSLIdentity; variable 60 virtual void OnSuccess(rtc::scoped_ptr<rtc::SSLIdentity> identity) = 0; 123 rtc::scoped_ptr<rtc::SSLIdentity> identity); 132 rtc::scoped_ptr<rtc::SSLIdentity> identity) in IdentityResult() 136 rtc::scoped_ptr<rtc::SSLIdentity> identity_; 156 rtc::scoped_ptr<rtc::SSLIdentity> free_identity_;
|
D | dtlsidentitystore.cc | 71 rtc::scoped_ptr<rtc::SSLIdentity> identity( in GenerateIdentity_w() 72 rtc::SSLIdentity::Generate(kIdentityName, key_type_)); in GenerateIdentity_w() 209 rtc::KeyType key_type, rtc::scoped_ptr<rtc::SSLIdentity> identity) { in OnIdentityGenerated()
|
D | webrtcsessiondescriptionfactory.cc | 94 std::string pem_cert = rtc::SSLIdentity::DerToPem( in OnSuccess() 98 std::string pem_key = rtc::SSLIdentity::DerToPem( in OnSuccess() 102 rtc::scoped_ptr<rtc::SSLIdentity> identity( in OnSuccess() 103 rtc::SSLIdentity::FromPEMStrings(pem_key, pem_cert)); in OnSuccess() 108 rtc::scoped_ptr<rtc::SSLIdentity> identity) { in OnSuccess()
|
D | dtlsidentitystore_unittest.cc | 54 void OnSuccess(rtc::scoped_ptr<rtc::SSLIdentity> identity) override { in OnSuccess()
|
D | webrtcsessiondescriptionfactory.h | 57 void OnSuccess(rtc::scoped_ptr<rtc::SSLIdentity> identity) override;
|
/external/webrtc/webrtc/p2p/base/ |
D | transportdescriptionfactory.h | 18 class SSLIdentity; variable
|
D | transportcontroller_unittest.cc | 272 rtc::RTCCertificate::Create(rtc::scoped_ptr<rtc::SSLIdentity>( in TEST_F() 273 rtc::SSLIdentity::Generate("session1", rtc::KT_DEFAULT))); in TEST_F() 275 rtc::RTCCertificate::Create(rtc::scoped_ptr<rtc::SSLIdentity>( in TEST_F() 276 rtc::SSLIdentity::Generate("session2", rtc::KT_DEFAULT))); in TEST_F()
|
D | transportdescriptionfactory_unittest.cc | 30 scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("User1")))), in TransportDescriptionFactoryTest() 32 scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("User2")))) {} in TransportDescriptionFactoryTest()
|