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

Commit

Permalink
Merge pull request #13 from virtru/mimeType-addition
Browse files Browse the repository at this point in the history
add mimeType
  • Loading branch information
biscoe916 authored Jun 10, 2019
2 parents 965800c + b678cb7 commit 0ee19ae
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
[Unreleased]: https://github.com/virtru/saas-gateway/compare/master...HEAD

## Changes
* 1.3.0 (2019-06-10)
* _minor_: ([#13](https://github.com/virtru/tdf3-spec/pull/13))
Added mimeType to allow for reading clients to setup preview experiences.
* 1.2.0 (2019-05-10)
* _minor_: ([#6](https://github.com/virtru/tdf3-spec/pull/6))
WS-8962/AttributeObject: Added optional 'isDefault' boolean to AO schema.
Expand Down
2 changes: 2 additions & 0 deletions schema/manifest-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The payload contains metadata required to decrypt the TDF's payload, including _
"url": "0.payload",
"protocol": "zip",
"isEncrypted": true,
"mimeType": "application/pdf",
"schemaVersion:": "x.y.z"
}
```
Expand All @@ -33,6 +34,7 @@ The payload contains metadata required to decrypt the TDF's payload, including _
|`url`|String|A url pointing to the location of the payload. For example, `0.payload`, as a file local to the TDF.|Yes|
|`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|
|`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|
|`mimeType`|String|Specifies the type of file that is encrypted. Default is `application/octet-stream`. |No|
|`schemaVersion`|String|Version number of the manifest schema.|No|

## encryptionInformation
Expand Down

0 comments on commit 0ee19ae

Please sign in to comment.