- From: Martin Thomson <notifications@github.com>
- Date: Tue, 25 Aug 2015 10:18:48 -0700
- To: w3c/push-api <push-api@noreply.github.com>
Received on Tuesday, 25 August 2015 17:19:16 UTC
> + <p> > + The <code><dfn id="widl-PushSubscription-getKey-ArrayBuffer-PushEncryptionKeyName-name" > + data-lt="PushSubscription-getKey">getKey</dfn></code> method retrieves an encryption key > + using the following process: > + </p> > + <ol> > + <li>Find the internal slot that contains the encryption key named by the <code>name</code> > + argument. > + </li> > + <li>If an encryption key was not found, return <code>null</code>. > + </li> > + <li>If the encryption key represents an asymmetric key pair, set <var>key</var> to the > + serialized value of the public key from the key pair. This uses the serialization format > + defined in the specification for the name. > + </li> > + <li>If the encryption key represents a symmetric key, set <var>key</var> to the serialized I'll remove it. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/push-api/pull/130/files#r37892547
Received on Tuesday, 25 August 2015 17:19:16 UTC