Andres Amaya Garcia
45289f4ca6
Parse top-level of SingleResponse in OCSP response
...
Populate the function x509_ocsp_get_single_response() that parses the
following ASN.1 structure:
SingleResponse ::= SEQUENCE {
certID CertID,
certStatus CertStatus,
thisUpdate GeneralizedTime,
nextUpdate [0] EXPLICIT GeneralizedTime OPTIONAL,
singleExtensions [1] EXPLICIT Extensions OPTIONAL }
x509_ocsp_get_single_response() parses the top-level SEQUENCE and the
two explicit tags. Note that the tagged values at the end of the
SingleResponse are optional so this function takes care of the
following cases using a switch statement:
* nextUpdate only
* nextUpdate followed by SingleExtensions
* singleExtensions only
2017-11-11 12:49:19 +00:00
..
2015-06-25 10:59:56 +02:00
2017-07-27 21:44:33 +01:00
2016-05-23 14:29:28 +01:00
2016-05-23 14:29:32 +01:00
2016-10-13 13:54:14 +01:00
2016-08-25 15:42:27 +01:00
2017-02-15 23:31:07 +02:00
2017-06-08 19:48:03 +02:00
2016-05-23 14:29:32 +01:00
2016-06-07 14:52:35 +01:00
2016-05-23 14:29:32 +01:00
2017-07-27 21:44:33 +01:00
2015-09-04 14:21:07 +02:00
2017-02-15 23:31:07 +02:00
2017-07-28 22:28:08 +01:00
2017-11-11 12:44:26 +00:00
2017-02-15 23:31:07 +02:00
2017-02-15 09:08:26 +00:00
2016-05-23 14:29:32 +01:00
2017-07-27 21:44:33 +01:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-10-20 16:20:56 +02:00
2017-05-11 22:42:14 +01:00
2017-07-27 21:44:33 +01:00
2016-06-12 00:31:33 +01:00
2017-07-28 22:28:08 +01:00
2017-07-06 11:58:41 +02:00
2017-07-27 21:44:33 +01:00
2016-05-23 23:18:26 +01:00
2015-09-04 14:21:07 +02:00
2017-11-11 12:44:26 +00:00
2017-02-15 23:31:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2015-09-04 14:21:07 +02:00
2016-05-23 14:29:29 +01:00
2017-10-12 23:21:37 +01:00
2017-11-11 12:49:19 +00:00
2015-09-04 14:21:07 +02:00
2017-02-15 22:54:42 +02:00
2017-05-11 21:55:17 +01:00
2017-05-11 21:55:17 +01:00
2016-08-25 16:36:35 +01:00
2015-09-04 14:21:07 +02:00
2016-05-23 14:29:28 +01:00
2017-02-15 09:08:26 +00:00
2015-10-21 12:50:45 +02:00
2017-07-27 21:44:33 +01:00
2016-08-25 16:36:35 +01:00
2017-06-08 20:31:06 +02:00
2016-05-23 14:29:32 +01:00
2016-10-13 15:10:14 +01:00
2016-10-13 15:10:14 +01:00
2017-07-28 23:46:43 +01:00
2017-07-27 21:44:33 +01:00
2017-10-06 11:59:13 +01:00
2017-03-02 12:26:11 +00:00
2017-10-12 23:21:37 +01:00
2016-07-13 14:46:18 +01:00
2017-10-06 11:58:50 +01:00
2017-07-27 21:44:32 +01:00
2016-02-22 10:47:32 +01:00
2017-07-27 21:44:33 +01:00
2015-09-04 14:21:07 +02:00
2015-10-21 12:50:45 +02:00
2017-07-27 21:44:34 +01:00
2017-11-11 12:43:16 +00:00
2017-07-27 21:44:34 +01:00
2017-11-11 12:49:19 +00:00
2017-10-12 23:21:37 +01:00
2017-07-28 22:28:08 +01:00
2016-10-11 14:07:48 +01:00
2015-09-04 14:21:07 +02:00