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