Skip to content

Commit

Permalink
Handling of KeyingMaterial internal slot
Browse files Browse the repository at this point in the history
Rebase of #1723

Clarification for Issues #1694 and #1739

See also #1089
  • Loading branch information
aboba authored Mar 14, 2018
1 parent be474c4 commit 6f3b7e2
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions webrtc.html
Original file line number Diff line number Diff line change
Expand Up @@ -4672,14 +4672,18 @@ <h2>Methods</h2>
</section>
</div>
<p>For the purposes of this API, the <a>[[\Certificate]]</a> slot
contains unstructured binary data.</p>
<p>Note that an <code>RTCCertificate</code> might not directly hold
private keying material, this might be stored in a secure module.</p>
<p>The <code>RTCCertificate</code> object can be stored and retrieved
from persistent storage by an application. When a <a>user agent</a> is
required to obtain a structured clone [[!HTML51]] of an
<code>RTCCertificate</code> object, it performs the following
steps:</p>
contains unstructured binary data. No mechanism is provided for
applications to access the <a>[[\KeyingMaterial]]</a> internal slot.
Implementations MUST support applications storing and retrieving
<code>RTCCertificate</code> objects from persistent storage.
In implementations where an <code>RTCCertificate</code> might not
directly hold private keying material (it might be stored in a
secure module), a reference to the private key can be held in
the <a>[[\KeyingMaterial]]</a> internal slot, allowing the
private key to be stored and used.</p>
<p>When a <a>user agent</a> is required to obtain a structured
clone [[!HTML51]] of an <code>RTCCertificate</code> object,
it performs the following steps:</p>
<ol>
<li>Let <var>input</var> and <var>memory</var> be the corresponding
inputs defined by the internal structured cloning algorithm, where
Expand Down

0 comments on commit 6f3b7e2

Please sign in to comment.