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:
@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user