Home
last modified time | relevance | path

Searched refs:certificate_ (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Ddtlstransport.h36 certificate_(certificate), in DtlsTransport()
46 certificate_ = certificate; in SetLocalCertificate()
50 if (!certificate_) in GetLocalCertificate()
53 *certificate = certificate_; in GetLocalCertificate()
69 if (certificate_) { in ApplyLocalTransportDescription()
72 certificate_->identity())); in ApplyLocalTransportDescription()
87 certificate_ = nullptr; in ApplyLocalTransportDescription()
90 if (!channel->SetLocalCertificate(certificate_)) { in ApplyLocalTransportDescription()
242 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; variable
Dtransportdescriptionfactory.h39 return certificate_; in certificate()
47 certificate_ = certificate; in set_certificate()
64 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; variable
Dtransportdescriptionfactory.cc98 if (!certificate_) { in SetSecurityInfo()
107 if (!certificate_->ssl_certificate().GetSignatureDigestAlgorithm( in SetSecurityInfo()
114 rtc::SSLFingerprint::Create(digest_alg, certificate_->identity())); in SetSecurityInfo()
Dtransportcontroller.cc207 return certificate_; in certificate_for_testing()
215 transport_name, port_allocator(), certificate_); in CreateTransport_w()
290 if (certificate_) { in GetOrCreateTransport_w()
291 transport->SetLocalCertificate(certificate_); in GetOrCreateTransport_w()
363 if (certificate_) { in SetLocalCertificate_w()
369 certificate_ = certificate; in SetLocalCertificate_w()
372 kv.second->SetLocalCertificate(certificate_); in SetLocalCertificate_w()
Dfaketransportcontroller.h367 kv.second->SetLocalCertificate(certificate_); in SetDestination()
380 certificate_ = certificate; in SetLocalCertificate()
384 if (!certificate_) in GetLocalCertificate()
387 *certificate = certificate_; in GetLocalCertificate()
442 dest_channel->SetLocalCertificate(dest_->certificate_); in SetChannelDestination()
455 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; variable
Ddtlstransportchannel_unittest.cc56 certificate_ = in CreateCertificate()
61 return certificate_; in certificate()
64 ASSERT(certificate_); in SetupSrtp()
73 "dtls content name", nullptr, certificate_)); in SetupChannels()
114 Negotiate(certificate_, certificate_ ? peer->certificate_ : nullptr, action, in Negotiate()
262 int flags = (certificate_ && srtp) ? cricket::PF_SRTP_BYPASS : 0; in SendPackets()
340 (certificate_ && IsRtpLeadByte(data[0])) ? cricket::PF_SRTP_BYPASS : 0; in OnTransportChannelReadPacket()
381 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; member in DtlsTestClient
Dtransportcontroller.h214 rtc::scoped_refptr<rtc::RTCCertificate> certificate_; variable
/external/webrtc/webrtc/base/
Dopensslidentity.cc395 : key_pair_(key_pair), certificate_(certificate) { in OpenSSLIdentity()
462 return *certificate_; in certificate()
467 certificate_->GetReference()); in GetReference()
472 if (SSL_CTX_use_certificate(ctx, certificate_->x509()) != 1 || in ConfigureIdentity()
Dopensslidentity.h123 scoped_ptr<OpenSSLCertificate> certificate_; variable