sdmp / sdmp.github.io

The main front-page and docs for the sdmp project.
https://sdmp.io
2 stars 2 forks source link

Communication Serialization Format #18

Closed jmhobbs closed 8 years ago

jmhobbs commented 9 years ago

Which JWS format is used for sending documents? The TCP spec says:

Each node may at any time transmit to the other node. All 
transmitted communications must be in the format of a valid 
SDMP container.

It specifies that it must be in a valid container, but is that a JWS Compact Serialization String, JWS General JSON Serialization, JWS Flattened Serialization or something else?

saibotsivad commented 8 years ago

I believe that this is closed with https://github.com/sdmp/sdmp.github.io/pull/22 where network communication is specified as being sent over "container" objects where the only allowed schema is the "encrypted" schema.

As of this writing:

An encrypted network object is a container object where the only specified schema is the encrypted schema, and no other metadata is allowed. ... This JSON object is sent as the data stream for all network traffic after the session key is established.

saibotsivad commented 8 years ago

(Please feel free to re-open this issue once this pull request is merged, if it does not answer your question to your satisfaction.)