Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
f4042781
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
大约 1 年 前同步成功
通知
9
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,发现更多精彩内容 >>
提交
f4042781
编写于
11月 29, 2012
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add wrapper function for certificate download
上级
68f5500d
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
7 addition
and
0 deletion
+7
-0
crypto/x509/x509.h
crypto/x509/x509.h
+1
-0
crypto/x509/x_all.c
crypto/x509/x_all.c
+6
-0
未找到文件。
crypto/x509/x509.h
浏览文件 @
f4042781
...
@@ -663,6 +663,7 @@ int X509_signature_print(BIO *bp,X509_ALGOR *alg, ASN1_STRING *sig);
...
@@ -663,6 +663,7 @@ int X509_signature_print(BIO *bp,X509_ALGOR *alg, ASN1_STRING *sig);
int
X509_sign
(
X509
*
x
,
EVP_PKEY
*
pkey
,
const
EVP_MD
*
md
);
int
X509_sign
(
X509
*
x
,
EVP_PKEY
*
pkey
,
const
EVP_MD
*
md
);
int
X509_sign_ctx
(
X509
*
x
,
EVP_MD_CTX
*
ctx
);
int
X509_sign_ctx
(
X509
*
x
,
EVP_MD_CTX
*
ctx
);
int
X509_http_nbio
(
OCSP_REQ_CTX
*
rctx
,
X509
**
pcert
);
int
X509_REQ_sign
(
X509_REQ
*
x
,
EVP_PKEY
*
pkey
,
const
EVP_MD
*
md
);
int
X509_REQ_sign
(
X509_REQ
*
x
,
EVP_PKEY
*
pkey
,
const
EVP_MD
*
md
);
int
X509_REQ_sign_ctx
(
X509_REQ
*
x
,
EVP_MD_CTX
*
ctx
);
int
X509_REQ_sign_ctx
(
X509_REQ
*
x
,
EVP_MD_CTX
*
ctx
);
int
X509_CRL_sign
(
X509_CRL
*
x
,
EVP_PKEY
*
pkey
,
const
EVP_MD
*
md
);
int
X509_CRL_sign
(
X509_CRL
*
x
,
EVP_PKEY
*
pkey
,
const
EVP_MD
*
md
);
...
...
crypto/x509/x_all.c
浏览文件 @
f4042781
...
@@ -103,6 +103,12 @@ int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx)
...
@@ -103,6 +103,12 @@ int X509_sign_ctx(X509 *x, EVP_MD_CTX *ctx)
x
->
sig_alg
,
x
->
signature
,
x
->
cert_info
,
ctx
);
x
->
sig_alg
,
x
->
signature
,
x
->
cert_info
,
ctx
);
}
}
int
X509_http_nbio
(
OCSP_REQ_CTX
*
rctx
,
X509
**
pcert
)
{
return
OCSP_REQ_CTX_nbio_d2i
(
rctx
,
(
ASN1_VALUE
**
)
pcert
,
ASN1_ITEM_rptr
(
X509
));
}
int
X509_REQ_sign
(
X509_REQ
*
x
,
EVP_PKEY
*
pkey
,
const
EVP_MD
*
md
)
int
X509_REQ_sign
(
X509_REQ
*
x
,
EVP_PKEY
*
pkey
,
const
EVP_MD
*
md
)
{
{
return
(
ASN1_item_sign
(
ASN1_ITEM_rptr
(
X509_REQ_INFO
),
x
->
sig_alg
,
NULL
,
return
(
ASN1_item_sign
(
ASN1_ITEM_rptr
(
X509_REQ_INFO
),
x
->
sig_alg
,
NULL
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录