Lines Matching refs:sct

164 void SCT_free(SCT *sct);
175 sct_version_t SCT_get_version(const SCT *sct);
181 __owur int SCT_set_version(SCT *sct, sct_version_t version);
186 ct_log_entry_type_t SCT_get_log_entry_type(const SCT *sct);
192 __owur int SCT_set_log_entry_type(SCT *sct, ct_log_entry_type_t entry_type);
199 size_t SCT_get0_log_id(const SCT *sct, unsigned char **log_id);
206 __owur int SCT_set0_log_id(SCT *sct, unsigned char *log_id, size_t log_id_len);
213 __owur int SCT_set1_log_id(SCT *sct, const unsigned char *log_id,
219 uint64_t SCT_get_timestamp(const SCT *sct);
224 void SCT_set_timestamp(SCT *sct, uint64_t timestamp);
231 int SCT_get_signature_nid(const SCT *sct);
239 __owur int SCT_set_signature_nid(SCT *sct, int nid);
246 size_t SCT_get0_extensions(const SCT *sct, unsigned char **ext);
252 void SCT_set0_extensions(SCT *sct, unsigned char *ext, size_t ext_len);
259 __owur int SCT_set1_extensions(SCT *sct, const unsigned char *ext,
267 size_t SCT_get0_signature(const SCT *sct, unsigned char **sig);
273 void SCT_set0_signature(SCT *sct, unsigned char *sig, size_t sig_len);
279 __owur int SCT_set1_signature(SCT *sct, const unsigned char *sig,
285 sct_source_t SCT_get_source(const SCT *sct);
291 __owur int SCT_set_source(SCT *sct, sct_source_t source);
294 * Returns a text string describing the validation status of |sct|.
296 const char *SCT_validation_status_string(const SCT *sct);
299 * Pretty-prints an |sct| to |out|.
304 void SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG_STORE *logs);
320 sct_validation_status_t SCT_get_validation_status(const SCT *sct);
329 __owur int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx);
401 * Serialize (to TLS format) an |sct| and write it to |out|.
409 __owur int i2o_SCT(const SCT *sct, unsigned char **out);
419 * If the SCT is an unsupported version, only the SCT's 'sct' and 'sct_len'