You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -386,18 +386,12 @@ The `web-push-subscription` element represents the public information of a Web P
386
386
387
387
It contains exactly one `push-resource` element, which contains an absolute URI that identifies the endpoint where Web Push notifications are sent to. The push resource is used as the unique identifier for the subscription.
388
388
389
-
Example:
390
-
391
-
~~~
392
-
{::include xml/sample-web-push-subscription.xml}
393
-
~~~
394
-
395
389
396
390
## VAPID
397
391
398
392
VAPID binds push subscriptions to the specific WebDAV-Push server.
399
393
400
-
A WebDAV-Push server which supports VAPID stores a key pair. The server exposes an additional transport property `server-public-key` (within the `web-push` element), which contains the VAPID public key in uncompressed form and base64url encoded. Its attribute `type="p256dh"` MUST be added to allow different key types in the future. See {{collection-properties}} for an example.
394
+
A WebDAV-Push server which supports VAPID stores a key pair. The server exposes an additional transport property `vapid-public-key` (within the `web-push` element), which contains the VAPID public key in uncompressed form and base64url encoded. Its attribute `type="p256ecdsa"` MUST be added to allow different key types in the future. See {{collection-properties}} for an example.
401
395
402
396
If available, the client SHOULD use this key to create a restricted subscription at the push service.
403
397
@@ -408,17 +402,11 @@ When the server sends a push message, it includes a corresponding `Authorization
408
402
409
403
Message encryption hides details of push messages from the push services. Before creating the subscription, the client generates a key pair as defined in {{RFC8291}}.
410
404
411
-
When the client then registers this subscription at the server, it includes additional subscription properties:
405
+
When the client then registers this subscription at the server, it includes these subscription properties:
412
406
413
407
*`client-public-key` – public key of the user agent's key pair in uncompressed form and base64url encoded; attribute `type="p256dh"` MUST be added to allow different key types in the future
414
408
*`auth-secret` – authentication secret
415
409
416
-
Example for a subscription registration requesting message encryption:
0 commit comments