Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
835911b8
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
1 年多 前同步成功
通知
10
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看板
提交
835911b8
编写于
9月 18, 2015
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Additional X509_CRL accessors.
Reviewed-by:
N
Rich Salz
<
rsalz@openssl.org
>
上级
75ef61d7
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
12 addition
and
0 deletion
+12
-0
crypto/x509/x509cset.c
crypto/x509/x509cset.c
+10
-0
include/openssl/x509.h
include/openssl/x509.h
+2
-0
未找到文件。
crypto/x509/x509cset.c
浏览文件 @
835911b8
...
...
@@ -158,6 +158,11 @@ X509_NAME *X509_CRL_get_issuer(X509_CRL *crl)
return
crl
->
crl
.
issuer
;
}
STACK_OF
(
X509_EXTENSION
)
*
X509_CRL_get0_extensions
(
X509_CRL
*
crl
)
{
return
crl
->
crl
.
extensions
;
}
STACK_OF
(
X509_REVOKED
)
*
X509_CRL_get_REVOKED
(
X509_CRL
*
crl
)
{
return
crl
->
crl
.
revoked
;
...
...
@@ -221,6 +226,11 @@ int X509_REVOKED_set_serialNumber(X509_REVOKED *x, ASN1_INTEGER *serial)
return
(
in
!=
NULL
);
}
STACK_OF
(
X509_EXTENSION
)
*
X509_REVOKED_get0_extensions
(
X509_REVOKED
*
r
)
{
return
r
->
extensions
;
}
int
i2d_re_X509_CRL_tbs
(
X509_CRL
*
crl
,
unsigned
char
**
pp
)
{
crl
->
crl
.
enc
.
modified
=
1
;
...
...
include/openssl/x509.h
浏览文件 @
835911b8
...
...
@@ -794,6 +794,7 @@ long X509_CRL_get_version(X509_CRL *crl);
ASN1_TIME
*
X509_CRL_get_lastUpdate
(
X509_CRL
*
crl
);
ASN1_TIME
*
X509_CRL_get_nextUpdate
(
X509_CRL
*
crl
);
X509_NAME
*
X509_CRL_get_issuer
(
X509_CRL
*
crl
);
STACK_OF
(
X509_EXTENSION
)
*
X509_CRL_get0_extensions
(
X509_CRL
*
crl
);
STACK_OF
(
X509_REVOKED
)
*
X509_CRL_get_REVOKED
(
X509_CRL
*
crl
);
void
X509_CRL_get0_signature
(
ASN1_BIT_STRING
**
psig
,
X509_ALGOR
**
palg
,
X509_CRL
*
crl
);
...
...
@@ -804,6 +805,7 @@ ASN1_INTEGER *X509_REVOKED_get0_serialNumber(X509_REVOKED *x);
int
X509_REVOKED_set_serialNumber
(
X509_REVOKED
*
x
,
ASN1_INTEGER
*
serial
);
ASN1_TIME
*
X509_REVOKED_get0_revocationDate
(
X509_REVOKED
*
x
);
int
X509_REVOKED_set_revocationDate
(
X509_REVOKED
*
r
,
ASN1_TIME
*
tm
);
STACK_OF
(
X509_EXTENSION
)
*
X509_REVOKED_get0_extensions
(
X509_REVOKED
*
r
);
X509_CRL
*
X509_CRL_diff
(
X509_CRL
*
base
,
X509_CRL
*
newer
,
EVP_PKEY
*
skey
,
const
EVP_MD
*
md
,
unsigned
int
flags
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录