W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > February 2019

Re: [webrtc-pc] Define a step-by-step generateCertificate algorithm (#2105)

From: youennf via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Feb 2019 16:29:26 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-468339653-1551371365-sysbot+gh@w3.org>
Checking Chrome, Firefox and Safari, it seems the default expires value is the same, equal to roughly 30 days. We could then use it as a default.

As of avoiding 'any', I wonder whether any generateCertificate implementation allows passing a String. If that is not the case, maybe all we need to do is moving from 'any' to 'object' in generateCertificate WebIDL.

Alternatively, since passing a String is a shortcut, we could only grab 'expires' in case of AlgorithmIdentifier being an object. I'll update the PR in this way.

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/pull/2105#issuecomment-468339653 using your GitHub account
Received on Thursday, 28 February 2019 16:29:27 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:46 UTC