Lines Matching refs:sct
19 static void SCT_signature_algorithms_print(const SCT *sct, BIO *out) in SCT_signature_algorithms_print() argument
21 int nid = SCT_get_signature_nid(sct); in SCT_signature_algorithms_print()
24 BIO_printf(out, "%02X%02X", sct->hash_alg, sct->sig_alg); in SCT_signature_algorithms_print()
50 const char *SCT_validation_status_string(const SCT *sct) in SCT_validation_status_string() argument
53 switch (SCT_get_validation_status(sct)) { in SCT_validation_status_string()
70 void SCT_print(const SCT *sct, BIO *out, int indent, in SCT_print() argument
76 log = CTLOG_STORE_get0_log_by_id(log_store, sct->log_id, in SCT_print()
77 sct->log_id_len); in SCT_print()
83 if (sct->version != SCT_VERSION_V1) { in SCT_print()
85 BIO_hex_string(out, indent + 16, 16, sct->sct, sct->sct_len); in SCT_print()
97 BIO_hex_string(out, indent + 16, 16, sct->log_id, sct->log_id_len); in SCT_print()
100 timestamp_print(sct->timestamp, out); in SCT_print()
103 if (sct->ext_len == 0) in SCT_print()
106 BIO_hex_string(out, indent + 16, 16, sct->ext, sct->ext_len); in SCT_print()
109 SCT_signature_algorithms_print(sct, out); in SCT_print()
111 BIO_hex_string(out, indent + 16, 16, sct->sig, sct->sig_len); in SCT_print()
121 SCT *sct = sk_SCT_value(sct_list, i); in SCT_LIST_print() local
123 SCT_print(sct, out, indent, log_store); in SCT_LIST_print()