We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e23088f commit 30e68b7Copy full SHA for 30e68b7
envelope.md
@@ -18,12 +18,10 @@ the following form, called the "JSON envelope":
18
19
```jsonc
20
{
21
- // Arbitrary binary data can be encode in base64.
22
- "payload": "<Base64(byte sequence)>",
23
- // If the SERIALIZED_BODY is a text string,
24
- // it can *instead* be encoded in UTF-8.
25
- // "payloadUtf8": "<Utf-8 encoded text>",
26
-
+ // Exactly one of the following must be set:
+ "payload": "<Base64Encode(SERIALIZED_BODY)>",
+ "payloadUtf8": "<Utf8Decode(SERIALIZED_BODY)>",
+ // End oneof
27
"payloadType": "<PAYLOAD_TYPE>",
28
"signatures": [{
29
"keyid": "<KEYID>",
0 commit comments