Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.

Commit 0ee19ae

Browse files
authored
Merge pull request #13 from virtru/mimeType-addition
add mimeType
2 parents 965800c + b678cb7 commit 0ee19ae

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
[Unreleased]: https://github.com/virtru/saas-gateway/compare/master...HEAD
55

66
## Changes
7+
* 1.3.0 (2019-06-10)
8+
* _minor_: ([#13](https://github.com/virtru/tdf3-spec/pull/13))
9+
Added mimeType to allow for reading clients to setup preview experiences.
710
* 1.2.0 (2019-05-10)
811
* _minor_: ([#6](https://github.com/virtru/tdf3-spec/pull/6))
912
WS-8962/AttributeObject: Added optional 'isDefault' boolean to AO schema.

schema/manifest-json.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ The payload contains metadata required to decrypt the TDF's payload, including _
2323
"url": "0.payload",
2424
"protocol": "zip",
2525
"isEncrypted": true,
26+
"mimeType": "application/pdf",
2627
"schemaVersion:": "x.y.z"
2728
}
2829
```
@@ -33,6 +34,7 @@ The payload contains metadata required to decrypt the TDF's payload, including _
3334
|`url`|String|A url pointing to the location of the payload. For example, `0.payload`, as a file local to the TDF.|Yes|
3435
|`protocol`|String|Designates which protocol was used during encryption. Currently, only `zip` and `zipstream` are supported and are specified at time of encryption depending on the use of non-streaming vs. streaming encryption.|Yes|
3536
|`isEncrypted`|Boolean|Designates whether or not the payload is encrypted. This set by default to `true` for the time being and is intended for later expansion.|Yes|
37+
|`mimeType`|String|Specifies the type of file that is encrypted. Default is `application/octet-stream`. |No|
3638
|`schemaVersion`|String|Version number of the manifest schema.|No|
3739

3840
## encryptionInformation

0 commit comments

Comments
 (0)