76 static int TS_ACCURACY_print_bio(
BIO *bio,
const TS_ACCURACY *accuracy);
99 static const char *status_map[] =
102 "Granted with modifications.",
105 "Revocation warning.",
111 "unrecognized or unsupported algorithm identifier" },
113 "transaction not permitted or supported" },
115 "the data submitted has the wrong format" },
117 "the TSA's time source is not available" },
119 "the requested TSA policy is not supported by the TSA" },
121 "the requested extension is not supported by the TSA" },
123 "the additional information requested could not be understood "
124 "or is not available" },
126 "the request cannot be handled due to system failure" },
135 if (0 <= status && status < (
long)(
sizeof(status_map)/
sizeof(status_map[0])))
156 lines = TS_status_map_print(bio, failure_map,
170 for (; a->
bit >= 0; ++
a)
193 if (a == NULL)
return 0;
225 if (accuracy == NULL)
228 TS_ACCURACY_print_bio(bio, accuracy);
247 if (tsa_name == NULL)
252 if ((nval = i2v_GENERAL_NAME(NULL, tsa_name, NULL)))
264 static int TS_ACCURACY_print_bio(
BIO *bio,
const TS_ACCURACY *accuracy)