diff --git a/index.html b/index.html index 61c7f69..ceea660 100644 --- a/index.html +++ b/index.html @@ -77,8 +77,8 @@ "id": "x690" } }, - "publishISODate": "2021-09-03T00:00:00.000Z", - "generatedSubtitle": "Editor's Draft 03 September 2021" + "publishISODate": "2021-09-13T00:00:00.000Z", + "generatedSubtitle": "Editor's Draft 13 September 2021" }
This document is governed by the 1 March 2019 W3C Process Document. -
- The terms and algorithms
+ The terms
ArrayBuffer
,
ArrayBufferView
, and
-
- structured clone,
+ serializable objects,
are defined by the HTML specification [HTML].
@@ -1182,44 +1180,60 @@
- When a user agent is required to obtain a structured clone
- of a
object, it must run the following steps.
+ CryptoKey
objects are serializable objects. Their serialization steps,
+ given value and serialized, are:
CryptoKey
CryptoKey
object to be
- cloned.
+ Set serialized.[[Type]] to the [[type]] internal slot of value.
CryptoKey
- object.
+ Set serialized.[[Extractable]] to the [[extractable]] internal slot of value.
+ Their deserialization steps, given serialized and value, are: +
+CryptoKey
object, implementations must not allow the
- object to be deserialized as a different type. This is normatively required by the
- definition of structured clone, but it merits specific attention, as such
- deserialization may expose the contents of the [[handle]] internal slot, which in some
- implementations may contain cryptographic key data that should not be exposed to
- applications.
+ When deserializing a serialized CryptoKey
object, it is important that the
+ object is not deserialized as a different type. This is normatively required by the
+ definition of the deserialization steps, but it merits specific attention, as
+ such deserialization may expose the contents of the key material, which in some
+ cases (such as when the [[extractable]] internal slot is false) should not
+ be exposed to applications.