@@ -18,6 +18,11 @@ public function getOCSPResponse()
1818 return file_get_contents (__DIR__ . '/fixtures/OCSPResponse.pem ' );
1919 }
2020
21+ public function getTimeStampRequestWithPolicy ()
22+ {
23+ return file_get_contents (__DIR__ . '/fixtures/TimeStampRequestWithPolicy.pem ' );
24+ }
25+
2126 public function getFullCMS ()
2227 {
2328 return file_get_contents (__DIR__ . '/fixtures/full.cms ' );
@@ -48,6 +53,11 @@ public function getTimeStampResponse()
4853 return file_get_contents (__DIR__ . '/fixtures/TimeStampResponse.pem ' );
4954 }
5055
56+ public function getTimeStampResponseTSA ()
57+ {
58+ return file_get_contents (__DIR__ . '/fixtures/response.tsr ' );
59+ }
60+
5161 public function getBadTimeStampResponse ()
5262 {
5363 return file_get_contents (__DIR__ . '/fixtures/BadTimeStampResponse.pem ' );
@@ -63,15 +73,15 @@ public function getOCSPRequestWithSignature()
6373 return file_get_contents (__DIR__ . '/fixtures/OCSPRequestWithSignature.pem ' );
6474 }
6575
66- public function getRevokedCertificate ()
67- {
68- return file_get_contents (__DIR__ . '/fixtures/revokedCertificate.pem ' );
69- }
76+ public function getRevokedCertificate ()
77+ {
78+ return file_get_contents (__DIR__ . '/fixtures/revokedCertificate.pem ' );
79+ }
7080
71- public function getDoubleOCSPRequest ()
72- {
73- return file_get_contents (__DIR__ . '/fixtures/DoubleOCSPRequest.pem ' );
74- }
81+ public function getDoubleOCSPRequest ()
82+ {
83+ return file_get_contents (__DIR__ . '/fixtures/DoubleOCSPRequest.pem ' );
84+ }
7585
7686 protected function curlRequest (string $ url , string $ binaryContent , string $ requestContentType , string $ responseContentType )
7787 {
0 commit comments