Skip to content

Instantly share code, notes, and snippets.

@richardlehane
Last active September 30, 2015 01:07
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save richardlehane/6e406eb5d6601ed8e726 to your computer and use it in GitHub Desktop.
Save richardlehane/6e406eb5d6601ed8e726 to your computer and use it in GitHub Desktop.
{
"formats": [
{
"format": {
"id": "archives-nz-dev-signature/1",
"name": "Adobe Air",
"version": "1.0",
"mime": "application/vnd.adobe.air-application-installer-package+zip",
"extensions": [
"air"
],
"relations": [
{
"superiorTo": "x-fmt/267"
}
],
"signatures": [
{
"byteSignature": [
{
"anchor": "BOF",
"min": 0,
"max": 4,
"pattern": {
"type": "hex",
"value": "504B030"
}
},
{
"anchor": "EOF",
"min": 18,
"max": 65531,
"pattern": {
"type": "hex",
"value": "504B0506"
}
}
]
}
]
}
},
{
"format": {
"id": "archives-nz-dev-signature/2",
"name": "Adobe Air",
"version": "1.5",
"mime": "application/vnd.adobe.air-application-installer-package+zip",
"extensions": [
"air"
],
"relations": [
{
"superiorTo": "x-fmt/267"
}
],
"signatures": [
{
"containerSignature": [
{
"path": "mimetype",
"signatures": [
{
"byteSignature": [
{
"anchor": "BOF",
"min": 0,
"max": 0,
"pattern": {
"type": "ascii",
"value": "application/vnd.adobe.air-application-installer-package+zip"
}
}
]
}
]
},
{
"path": "META-INF/AIR/application.xml",
"signatures": [
{
"byteSignature": {
"anchor": "BOF",
"min": 50,
"max": 80,
"pattern": {
"type": "hex",
"value": "786D6C6E733D22687474703A2F2F6E732E61646F62652E636F6D2F6169722F6170706C69636174696F6E2F312E3522"
}
}
}
]
}
]
}
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment