Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
b03fe231
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
12 个月 前同步成功
通知
8
Star
18
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
T
Third Party Openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b03fe231
编写于
8月 09, 2016
作者:
E
Emilia Kasper
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
CT: fix documentation
Make method names match reality Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
上级
6bd3379a
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
9 addition
and
9 deletion
+9
-9
doc/ssl/SSL_CTX_set_ct_validation_callback.pod
doc/ssl/SSL_CTX_set_ct_validation_callback.pod
+9
-9
未找到文件。
doc/ssl/SSL_CTX_set_ct_validation_callback.pod
浏览文件 @
b03fe231
...
...
@@ -11,21 +11,21 @@ control Certificate Transparency policy
#include <openssl/ssl.h>
int SSL_
ct_enable
(SSL *s, int validation_mode);
int SSL_CTX_
ct_enable
(SSL_CTX *ctx, int validation_mode);
int SSL_
enable_ct
(SSL *s, int validation_mode);
int SSL_CTX_
enable_ct
(SSL_CTX *ctx, int validation_mode);
int SSL_set_ct_validation_callback(SSL *s, ssl_ct_validation_cb callback,
void *arg);
int SSL_CTX_set_ct_validation_callback(SSL_CTX *ctx,
ssl_ct_validation_cb callback,
void *arg);
void SSL_
ct_disable
(SSL *s);
void SSL_CTX_
ct_disable
(SSL_CTX *ctx);
void SSL_
disable_ct
(SSL *s);
void SSL_CTX_
disable_ct
(SSL_CTX *ctx);
int SSL_ct_is_enabled(const SSL *s);
int SSL_CTX_ct_is_enabled(const SSL_CTX *ctx);
=head1 DESCRIPTION
SSL_
ct_enable() and SSL_CTX_ct_enable
() enable the processing of signed
SSL_
enable_ct() and SSL_CTX_enable_ct
() enable the processing of signed
certificate timestamps (SCTs) either for a given SSL connection or for all
connections that share the given SSL context, respectively.
This is accomplished by setting a built-in CT validation callback.
...
...
@@ -84,12 +84,12 @@ Clients that require SCTs are expected to not have enabled any aNULL ciphers
nor to have specified server verification via DANE-TA(2) or DANE-EE(3) TLSA
records.
SSL_
ct_disable() and SSL_CTX_ct_disable
() turn off CT processing, whether
SSL_
disable_ct() and SSL_CTX_disable_ct
() turn off CT processing, whether
enabled via the built-in or the custom callbacks, by setting a NULL callback.
These may be implemented as macros.
SSL_ct_is_enabled() and SSL_CTX_ct_is_enabled() return 1 if CT processing is
enabled via either SSL_
ct_enable
() or a non-null custom callback, and 0
enabled via either SSL_
enable_ct
() or a non-null custom callback, and 0
otherwise.
=head1 NOTES
...
...
@@ -105,13 +105,13 @@ extensions (B<TLSEXT_TYPE_signed_certificate_timestamp>).
=head1 RETURN VALUES
SSL_
ct_enable(), SSL_CTX_ct_enable
(), SSL_CTX_set_ct_validation_callback() and
SSL_
enable_ct(), SSL_CTX_enable_ct
(), SSL_CTX_set_ct_validation_callback() and
SSL_set_ct_validation_callback() return 1 if the B<callback> is successfully
set.
They return 0 if an error occurs, e.g. a custom client extension handler has
been setup to handle SCTs.
SSL_
ct_disable() and SSL_CTX_ct_disable
() do not return a result.
SSL_
disable_ct() and SSL_CTX_disable_ct
() do not return a result.
SSL_CTX_ct_is_enabled() and SSL_ct_is_enabled() return a 1 if a non-null CT
validation callback is set, or 0 if no callback (or equivalently a NULL
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录