RTCCertificate::Expires() and ::HasExpired() implemented using SSLCertificate::CertificateExpirationTime().

NOPRESUBMIT=true
BUG=chromium:544894

Review URL: https://codereview.webrtc.org/1494103003

Cr-Commit-Position: refs/heads/master@{#10930}
This commit is contained in:
hbos
2015-12-08 01:42:37 -08:00
committed by Commit bot
parent 325b34542d
commit 20ef654174
6 changed files with 144 additions and 12 deletions

View File

@ -70,7 +70,8 @@ class SSLCertificate {
size_t size,
size_t* length) const = 0;
// Returns the time in seconds relative to epoch.
// Returns the time in seconds relative to epoch, 1970-01-01T00:00:00Z (UTC),
// or -1 if an expiration time could not be retrieved.
virtual int64_t CertificateExpirationTime() const = 0;
};