Skip to content

Commit

Permalink
FEAT: Adds test reports for Expect-CT and Expect-Staple headers
Browse files Browse the repository at this point in the history
In preparation for #16 and #2.
  • Loading branch information
rspeed committed Oct 13, 2017
1 parent bce8e4e commit 3a780b5
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/fixtures/expect_ct_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"expect-ct-report": {
"date-time": "",
"hostname": "",
"port": "",
"effective-expiration-date": "",
"served-certificate-chain": [],
"validated-certificate-chain": [],
"scts": [
{
"version": "",
"status": "",
"source": "",
"serialized_sct": ""
}
]
}
}
10 changes: 10 additions & 0 deletions tests/fixtures/expect_staple_1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"date-time": "[date]",
"hostname": "[hostname]",
"port": "[port]",
"response-status": "[enum]",
"ocsp-response": "[OCSP response]",
"cert-status": "[enum]",
"served-certificate-chain": "[PEM encoded chain]",
"validated-certificate-chain": "[PEM encoded chain]"
}

0 comments on commit 3a780b5

Please sign in to comment.