unsigned char *sct;
size_t sct_len;
/*
- * If version is SCT_V1 fields below contain components of the SCT. "logid",
- * "ext" and "sig" point to buffers allocated with OPENSSL_malloc().
+ * If version is SCT_V1, fields below contain components of the SCT.
+ * "log_id", "ext" and "sig" point to buffers allocated with
+ * OPENSSL_malloc().
*/
unsigned char *log_id;
size_t log_id_len;
int SCT_set_log_entry_type(SCT *sct, log_entry_type_t entry_type);
/*
- * Set the log id of an SCT to point directly to the *logid specified.
+ * Set the log id of an SCT to point directly to the *log_id specified.
* The SCT takes ownership of the specified pointer.
* Returns 1 on success.
*/
log_entry_type_t SCT_get_log_entry_type(const SCT *sct);
/*
- * Set *logid to point to the log id for the SCT. logid must not be NULL.
+ * Set *log_id to point to the log id for the SCT. log_id must not be NULL.
* The SCT retains ownership of this pointer.
* Returns length of the data pointed to.
*/
/*
* Return the nid for the signature used by the SCT.
- * Currently NID_sha256WithRSAEncryption or NID_ecdsa_with_SHA256 (or NID_undef)
+ * Currently NID_sha256WithRSAEncryption or NID_ecdsa_with_SHA256
+ * (or NID_undef).
*/
int SCT_get_signature_nid(const SCT *sct);