HomeSort by relevance Sort by last modified time
    Searched refs:SSLIdentity (Results 1 - 25 of 35) sorted by null

1 2

  /external/webrtc/webrtc/base/
rtccertificate.h 18 #include "webrtc/base/sslidentity.h"
28 static scoped_refptr<RTCCertificate> Create(scoped_ptr<SSLIdentity> identity);
39 // raw SSLIdentity* for the sake of accessing SSLIdentity::certificate().
40 // However, some places might need SSLIdentity* for its public/private key...
41 SSLIdentity* identity() const { return identity_.get(); }
44 explicit RTCCertificate(SSLIdentity* identity);
48 // The SSLIdentity is the owner of the SSLCertificate. To protect our
50 scoped_ptr<SSLIdentity> identity_;
rtccertificate.cc 18 scoped_ptr<SSLIdentity> identity) {
22 RTCCertificate::RTCCertificate(SSLIdentity* identity)
sslidentity.h 184 class SSLIdentity {
191 static SSLIdentity* Generate(const std::string& common_name,
193 static SSLIdentity* Generate(const std::string& common_name,
199 static SSLIdentity* GenerateForTest(const SSLIdentityParams& params);
202 static SSLIdentity* FromPEMStrings(const std::string& private_key,
205 virtual ~SSLIdentity() {}
207 // Returns a new SSLIdentity object instance wrapping the same
211 virtual SSLIdentity* GetReference() const = 0;
rtccertificate_unittests.cc 20 #include "webrtc/base/sslidentity.h"
80 scoped_ptr<SSLIdentity> identity(SSLIdentity::GenerateForTest(params));
88 scoped_ptr<SSLIdentity> identity(
89 SSLIdentity::Generate(kTestCertCommonName, KeyParams::ECDSA()));
sslidentity_unittest.cc 16 #include "webrtc/base/sslidentity.h"
18 using rtc::SSLIdentity;
73 identity_rsa1_.reset(SSLIdentity::Generate("test1", rtc::KT_RSA));
74 identity_rsa2_.reset(SSLIdentity::Generate("test2", rtc::KT_RSA));
75 identity_ecdsa1_.reset(SSLIdentity::Generate("test3", rtc::KT_ECDSA));
76 identity_ecdsa2_.reset(SSLIdentity::Generate("test4", rtc::KT_ECDSA));
114 const SSLIdentity* identity,
177 rtc::scoped_ptr<SSLIdentity> identity_rsa1_;
178 rtc::scoped_ptr<SSLIdentity> identity_rsa2_;
179 rtc::scoped_ptr<SSLIdentity> identity_ecdsa1_
    [all...]
sslfingerprint.h 18 #include "webrtc/base/sslidentity.h"
26 const rtc::SSLIdentity* identity);
sslidentity.cc 16 #include "webrtc/base/sslidentity.h"
91 bool SSLIdentity::PemToDer(const std::string& pem_type,
116 std::string SSLIdentity::DerToPem(const std::string& pem_type,
161 SSLIdentity* SSLIdentity::Generate(const std::string& common_name,
166 SSLIdentity* SSLIdentity::GenerateForTest(const SSLIdentityParams& params) {
170 SSLIdentity* SSLIdentity::FromPEMStrings(const std::string& private_key,
sslstreamadapterhelper.h 19 #include "webrtc/base/sslidentity.h"
33 void SetIdentity(SSLIdentity* identity) override;
91 scoped_ptr<SSLIdentity> identity_;
opensslidentity.h 21 #include "webrtc/base/sslidentity.h"
102 class OpenSSLIdentity : public SSLIdentity {
107 static SSLIdentity* FromPEMStrings(const std::string& private_key,
fakesslidentity.h 19 #include "webrtc/base/sslidentity.h"
47 VERIFY(SSLIdentity::PemToDer(kPemTypeCertificate, data_, &der_string));
93 class FakeSSLIdentity : public rtc::SSLIdentity {
sslstreamadapter.h 18 #include "webrtc/base/sslidentity.h"
94 // SSLStream takes ownership of the SSLIdentity object and will
97 virtual void SetIdentity(SSLIdentity* identity) = 0;
sslfingerprint.cc 23 const std::string& algorithm, const rtc::SSLIdentity* identity) {
opensslstreamadapter.h 64 void SetIdentity(SSLIdentity* identity) override;
sslstreamadapterhelper.cc 36 void SSLStreamAdapterHelper::SetIdentity(SSLIdentity* identity) {
sslstreamadapter_unittest.cc 22 #include "webrtc/base/sslidentity.h"
266 client_identity_ = rtc::SSLIdentity::FromPEMStrings(
269 client_identity_ = rtc::SSLIdentity::Generate("client", client_key_type_);
271 server_identity_ = rtc::SSLIdentity::Generate("server", server_key_type_);
303 client_identity_ = rtc::SSLIdentity::GenerateForTest(client_params);
310 server_identity_ = rtc::SSLIdentity::GenerateForTest(server_params);
524 rtc::SSLIdentity *client_identity_; // freed by client_ssl_ destructor
525 rtc::SSLIdentity *server_identity_; // freed by server_ssl_ destructor
    [all...]
ssladapter_unittest.cc 18 #include "webrtc/base/sslidentity.h"
137 ssl_identity_.reset(rtc::SSLIdentity::Generate(GetHostname(), key_params));
265 rtc::scoped_ptr<rtc::SSLIdentity> ssl_identity_;
  /external/webrtc/talk/app/webrtc/test/
fakedtlsidentitystore.h 130 rtc::SSLIdentity::PemToDer("CERTIFICATE", kKeysAndCerts[0].cert_pem, &cert);
131 rtc::SSLIdentity::PemToDer("RSA PRIVATE KEY",
134 std::string pem_cert = rtc::SSLIdentity::DerToPem(
138 std::string pem_key = rtc::SSLIdentity::DerToPem(
142 rtc::scoped_ptr<rtc::SSLIdentity> identity(
143 rtc::SSLIdentity::FromPEMStrings(pem_key, pem_cert));
168 rtc::SSLIdentity::PemToDer("CERTIFICATE", get_cert(), &cert);
169 rtc::SSLIdentity::PemToDer("RSA PRIVATE KEY", get_key(), &key);
  /external/webrtc/talk/app/webrtc/
dtlsidentitystore.h 40 #include "webrtc/base/sslidentity.h"
45 // Passed to SSLIdentity::Generate.
48 class SSLIdentity;
58 // |identity| is a scoped_ptr because rtc::SSLIdentity is not copyable and the
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)
136 rtc::scoped_ptr<rtc::SSLIdentity> identity_;
156 rtc::scoped_ptr<rtc::SSLIdentity> free_identity_;
dtlsidentitystore.cc 39 // Passed to SSLIdentity::Generate, "WebRTC". Used for the certificates'
71 rtc::scoped_ptr<rtc::SSLIdentity> identity(
72 rtc::SSLIdentity::Generate(kIdentityName, key_type_));
209 rtc::KeyType key_type, rtc::scoped_ptr<rtc::SSLIdentity> identity) {
webrtcsessiondescriptionfactory.cc 37 #include "webrtc/base/sslidentity.h"
94 std::string pem_cert = rtc::SSLIdentity::DerToPem(
98 std::string pem_key = rtc::SSLIdentity::DerToPem(
102 rtc::scoped_ptr<rtc::SSLIdentity> identity(
103 rtc::SSLIdentity::FromPEMStrings(pem_key, pem_cert));
108 rtc::scoped_ptr<rtc::SSLIdentity> identity) {
dtlsidentitystore_unittest.cc 54 void OnSuccess(rtc::scoped_ptr<rtc::SSLIdentity> identity) override {
webrtcsessiondescriptionfactory.h 57 void OnSuccess(rtc::scoped_ptr<rtc::SSLIdentity> identity) override;
  /external/webrtc/webrtc/p2p/base/
transportdescriptionfactory.h 18 class SSLIdentity;
dtlstransport.h 18 class SSLIdentity;
transportdescriptionfactory_unittest.cc 30 scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("User1")))),
32 scoped_ptr<rtc::SSLIdentity>(new rtc::FakeSSLIdentity("User2")))) {}

Completed in 141 milliseconds

1 2