#include "rtc_base/rtc_certificate.h"
#include <memory>
#include "rtc_base/checks.h"
#include "rtc_base/ssl_certificate.h"
#include "rtc_base/ssl_identity.h"
#include "rtc_base/time_utils.h"
namespace rtc {
scoped_refptr<RTCCertificate> RTCCertificate::Create(
std::unique_ptr<SSLIdentity> identity) { … }
RTCCertificate::RTCCertificate(SSLIdentity* identity) : … { … }
RTCCertificate::~RTCCertificate() = default;
uint64_t RTCCertificate::Expires() const { … }
bool RTCCertificate::HasExpired(uint64_t now) const { … }
const SSLCertificate& RTCCertificate::GetSSLCertificate() const { … }
const SSLCertChain& RTCCertificate::GetSSLCertificateChain() const { … }
RTCCertificatePEM RTCCertificate::ToPEM() const { … }
scoped_refptr<RTCCertificate> RTCCertificate::FromPEM(
const RTCCertificatePEM& pem) { … }
bool RTCCertificate::operator==(const RTCCertificate& certificate) const { … }
bool RTCCertificate::operator!=(const RTCCertificate& certificate) const { … }
}