Skip to content

Commit

Permalink
Add more test files
Browse files Browse the repository at this point in the history
  • Loading branch information
bremoran committed Jun 6, 2018
1 parent 0dbaddc commit 5b142ec
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ecpubkey.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEEQyLdjHqP0btCzDFE5HZDPk1b1l0
Zn1bZ0dOcrp+cvYd/j7IYXybF6rUOtHf8IgtC18sA6yjd8Rsr4BRh41Arw==
-----END PUBLIC KEY-----
29 changes: 29 additions & 0 deletions test-file2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"text" : {
"manifestDescription" : "This is a test",
"payloadDescription" : "A test payload",
"vendor" : "A sample vendor",
"model" : "An experimental model"
},
"conditions" : {
"vendorId" : "fa6b4a53-d5ad-5fdf-be9d-e663e4d41ffe",
"classId" : "1492af14-2569-5e48-bf42-9b2d51f2ab45"
},
"payloadInfo" : {
"format" : {
"type" : "binary"
},
"size" : 16,
"storageId" : "foo",
"uris" : [
{"uri":"http://foo.com", "rank":1},
{"uri":"ftp://foo.com", "rank":2},
{"uri":"urn:uuid:694ec6f7-073e-4b09-a397-f9eb53ed8fe6", "rank":3}
],
"digestAlgorithm" : "SHA-256",
"digests" : {
"raw" : "c31211d1ff88f77a5aaf653677895bfca769f06da198a8fa71156aa64acd695d",
"ciphertext" : "f7e59db5d5ef2b6bbb732dec2e8ef33c285224cf7bad235910e402b5f5249c22"
}
}
}
Binary file added test-out-signed.cose
Binary file not shown.
1 change: 1 addition & 0 deletions test-out.cbor
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��nThis is a testnA test payloadoA sample vendoruAn experimental modelP>�����ģ�6�A���Z�'Ȃ�P�kJSխ_߾��c����P��%i^H�B�-Q�E������Cfoo��nhttp://foo.com��X �����zZ�e6w�[��i�m����qj�J�i]�

0 comments on commit 5b142ec

Please sign in to comment.