Lines Matching defs:out
19 static void SCT_signature_algorithms_print(const SCT *sct, BIO *out)
24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg);
26 BIO_printf(out, "%s", OBJ_nid2ln(nid));
29 static void timestamp_print(uint64_t timestamp, BIO *out)
46 ASN1_GENERALIZEDTIME_print(out, gen);
70 void SCT_print(const SCT *sct, BIO *out, int indent,
80 BIO_printf(out, "%*sSigned Certificate Timestamp:", indent, "");
81 BIO_printf(out, "\n%*sVersion : ", indent + 4, "");
84 BIO_printf(out, "unknown\n%*s", indent + 16, "");
85 BIO_hex_string(out, indent + 16, 16, sct->sct, sct->sct_len);
89 BIO_printf(out, "v1 (0x0)");
92 BIO_printf(out, "\n%*sLog : %s", indent + 4, "",
96 BIO_printf(out, "\n%*sLog ID : ", indent + 4, "");
97 BIO_hex_string(out, indent + 16, 16, sct->log_id, sct->log_id_len);
99 BIO_printf(out, "\n%*sTimestamp : ", indent + 4, "");
100 timestamp_print(sct->timestamp, out);
102 BIO_printf(out, "\n%*sExtensions: ", indent + 4, "");
104 BIO_printf(out, "none");
106 BIO_hex_string(out, indent + 16, 16, sct->ext, sct->ext_len);
108 BIO_printf(out, "\n%*sSignature : ", indent + 4, "");
109 SCT_signature_algorithms_print(sct, out);
110 BIO_printf(out, "\n%*s ", indent + 4, "");
111 BIO_hex_string(out, indent + 16, 16, sct->sig, sct->sig_len);
114 void SCT_LIST_print(const STACK_OF(SCT) *sct_list, BIO *out, int indent,
123 SCT_print(sct, out, indent, log_store);
125 BIO_printf(out, "%s", separator);