Re: [push-api] Message encryption (#130)

Agreed.

Having a method raises an interesting question for the serializer - it'd expose a property that otherwise wouldn't exist. However, since it's not a client-side concern there's a good reason for `JSON.stringify(pushSubscription)` to include anything the server needs.

It could either include the escaped hex sequence of the ArrayBuffer's contents, or the base64 representation. I'm not sure what would be idiomatic - there's little precedence.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/pull/130#issuecomment-125241540

Received on Monday, 27 July 2015 15:15:54 UTC