95 lines
3.2 KiB
HTML
Executable File
95 lines
3.2 KiB
HTML
Executable File
<?xml version="1.0" ?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>SCT_print</title>
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
|
<link rev="made" href="mailto:root@localhost" />
|
|
</head>
|
|
|
|
<body style="background-color: white">
|
|
|
|
|
|
<!-- INDEX BEGIN -->
|
|
<div name="index">
|
|
<p><a name="__index__"></a></p>
|
|
|
|
<ul>
|
|
|
|
<li><a href="#name">NAME</a></li>
|
|
<li><a href="#synopsis">SYNOPSIS</a></li>
|
|
<li><a href="#description">DESCRIPTION</a></li>
|
|
<li><a href="#return_values">RETURN VALUES</a></li>
|
|
<li><a href="#see_also">SEE ALSO</a></li>
|
|
<li><a href="#history">HISTORY</a></li>
|
|
<li><a href="#copyright">COPYRIGHT</a></li>
|
|
</ul>
|
|
|
|
<hr name="index" />
|
|
</div>
|
|
<!-- INDEX END -->
|
|
|
|
<p>
|
|
</p>
|
|
<hr />
|
|
<h1><a name="name">NAME</a></h1>
|
|
<p>SCT_print, SCT_LIST_print, SCT_validation_status_string -
|
|
Prints Signed Certificate Timestamps in a human-readable way</p>
|
|
<p>
|
|
</p>
|
|
<hr />
|
|
<h1><a name="synopsis">SYNOPSIS</a></h1>
|
|
<pre>
|
|
#include <openssl/ct.h></pre>
|
|
<pre>
|
|
void SCT_print(const SCT *sct, BIO *out, int indent, const CTLOG_STORE *logs);
|
|
void SCT_LIST_print(const STACK_OF(SCT) *sct_list, BIO *out, int indent,
|
|
const char *separator, const CTLOG_STORE *logs);
|
|
const char *SCT_validation_status_string(const SCT *sct);</pre>
|
|
<p>
|
|
</p>
|
|
<hr />
|
|
<h1><a name="description">DESCRIPTION</a></h1>
|
|
<p><code>SCT_print()</code> prints a single Signed Certificate Timestamp (SCT) to a <strong>BIO</strong> in
|
|
a human-readable format. <code>SCT_LIST_print()</code> prints an entire list of SCTs in a
|
|
similar way. A separator can be specified to delimit each SCT in the output.</p>
|
|
<p>The output can be indented by a specified number of spaces. If a <strong>CTLOG_STORE</strong>
|
|
is provided, it will be used to print the description of the CT log that issued
|
|
each SCT (if that log is in the CTLOG_STORE). Alternatively, NULL can be passed
|
|
as the CTLOG_STORE parameter to disable this feature.</p>
|
|
<p><code>SCT_validation_status_string()</code> will return the validation status of an SCT as
|
|
a human-readable string. Call <code>SCT_validate()</code> or <code>SCT_LIST_validate()</code>
|
|
beforehand in order to set the validation status of an SCT first.</p>
|
|
<p>
|
|
</p>
|
|
<hr />
|
|
<h1><a name="return_values">RETURN VALUES</a></h1>
|
|
<p><code>SCT_validation_status_string()</code> returns a null-terminated string representing
|
|
the validation status of an <strong>SCT</strong> object.</p>
|
|
<p>
|
|
</p>
|
|
<hr />
|
|
<h1><a name="see_also">SEE ALSO</a></h1>
|
|
<p><em>ct(7)</em>,
|
|
<em>bio(7)</em>,
|
|
<em>CTLOG_STORE_new(3)</em>,
|
|
<em>SCT_validate(3)</em></p>
|
|
<p>
|
|
</p>
|
|
<hr />
|
|
<h1><a name="history">HISTORY</a></h1>
|
|
<p>These functions were added in OpenSSL 1.1.0.</p>
|
|
<p>
|
|
</p>
|
|
<hr />
|
|
<h1><a name="copyright">COPYRIGHT</a></h1>
|
|
<p>Copyright 2016-2018 The OpenSSL Project Authors. All Rights Reserved.</p>
|
|
<p>Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
this file except in compliance with the License. You can obtain a copy
|
|
in the file LICENSE in the source distribution or at
|
|
<a href="https://www.openssl.org/source/license.html">https://www.openssl.org/source/license.html</a>.</p>
|
|
|
|
</body>
|
|
|
|
</html>
|