Skip to content
This repository was archived by the owner on Jul 18, 2023. It is now read-only.

Commit 0f2cfb8

Browse files
committed
Fixed based on vbatt's comments
Signed-off-by: Brandon Lum <[email protected]>
1 parent bcb7903 commit 0f2cfb8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

encrypted-mediatype.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The encryption metadata consists of 2 parts: the PublicLayerBlockCipherOptions a
2323

2424
Below are golang definitions of these JSON objects:
2525

26-
```
26+
```golang
2727
// LayerCipherType is the ciphertype as specified in the layer metadata
2828
type LayerCipherType string
2929
// PublicLayerBlockCipherOptions includes the information required to encrypt/decrypt
@@ -61,12 +61,13 @@ Details of the algorithms and protocols used in the encryption of the data blob
6161
- The `cipherOptions` field specifies additional parameters used in the decryption process of the specified algorithm. This should be in accordance with the RFC standard of the algorithm used.
6262

6363
Example of `PublicLayerBlockCipherOption`:
64-
```
64+
```json
6565
{
6666
"cipher": "AES_256_CTR_HMAC_SHA256",
6767
"hmac": "M0M5OTA5QUZFQzI1MzU0RDU1MURBRTIxNTkwQkIyNkUzOEQ1M0YyMTczQjhEM0RDM0VFRTRDMDQ3RTdBQjFDMQ=="
6868
"cipheroptions": {}
6969
}
70+
```
7071

7172
Example of `PrivateLayerBlockCipherOption`:
7273
```

0 commit comments

Comments
 (0)