Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
btwise
openssl
提交
5e31a40f
O
openssl
项目概览
btwise
/
openssl
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
O
openssl
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
5e31a40f
编写于
11月 27, 2014
作者:
M
Matt Caswell
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Tidy up ocsp help output
Reviewed-by:
N
Dr. Stephen Henson
<
steve@openssl.org
>
上级
de87dd46
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
46 addition
and
46 deletion
+46
-46
apps/ocsp.c
apps/ocsp.c
+46
-46
未找到文件。
apps/ocsp.c
浏览文件 @
5e31a40f
...
...
@@ -604,53 +604,53 @@ int MAIN(int argc, char **argv)
BIO_printf
(
bio_err
,
"OCSP utility
\n
"
);
BIO_printf
(
bio_err
,
"Usage ocsp [options]
\n
"
);
BIO_printf
(
bio_err
,
"where options are
\n
"
);
BIO_printf
(
bio_err
,
"-out file output filename
\n
"
);
BIO_printf
(
bio_err
,
"-issuer file issuer certificate
\n
"
);
BIO_printf
(
bio_err
,
"-cert file certificate to check
\n
"
);
BIO_printf
(
bio_err
,
"-serial n serial number to check
\n
"
);
BIO_printf
(
bio_err
,
"-signer file certificate to sign OCSP request with
\n
"
);
BIO_printf
(
bio_err
,
"-signkey file private key to sign OCSP request with
\n
"
);
BIO_printf
(
bio_err
,
"-sign_other file additional certificates to include in signed request
\n
"
);
BIO_printf
(
bio_err
,
"-no_certs don't include any certificates in signed request
\n
"
);
BIO_printf
(
bio_err
,
"-req_text print text form of request
\n
"
);
BIO_printf
(
bio_err
,
"-resp_text print text form of response
\n
"
);
BIO_printf
(
bio_err
,
"-text print text form of request and response
\n
"
);
BIO_printf
(
bio_err
,
"-reqout file write DER encoded OCSP request to
\"
file
\"\n
"
);
BIO_printf
(
bio_err
,
"-respout file write DER encoded OCSP reponse to
\"
file
\"\n
"
);
BIO_printf
(
bio_err
,
"-reqin file read DER encoded OCSP request from
\"
file
\"\n
"
);
BIO_printf
(
bio_err
,
"-respin file read DER encoded OCSP reponse from
\"
file
\"\n
"
);
BIO_printf
(
bio_err
,
"-nonce add OCSP nonce to request
\n
"
);
BIO_printf
(
bio_err
,
"-no_nonce don't add OCSP nonce to request
\n
"
);
BIO_printf
(
bio_err
,
"-url URL OCSP responder URL
\n
"
);
BIO_printf
(
bio_err
,
"-host host:n send OCSP request to host on port n
\n
"
);
BIO_printf
(
bio_err
,
"-path path to use in OCSP request
\n
"
);
BIO_printf
(
bio_err
,
"-CApath dir trusted certificates directory
\n
"
);
BIO_printf
(
bio_err
,
"-CAfile file trusted certificates file
\n
"
);
BIO_printf
(
bio_err
,
"-trusted_first use locally trusted CA's first when building trust chain
\n
"
);
BIO_printf
(
bio_err
,
"-VAfile file validator certificates file
\n
"
);
BIO_printf
(
bio_err
,
"-validity_period n maximum validity discrepancy in seconds
\n
"
);
BIO_printf
(
bio_err
,
"-status_age n maximum status age in seconds
\n
"
);
BIO_printf
(
bio_err
,
"-noverify don't verify response at all
\n
"
);
BIO_printf
(
bio_err
,
"-verify_other file additional certificates to search for signer
\n
"
);
BIO_printf
(
bio_err
,
"-trust_other don't verify additional certificates
\n
"
);
BIO_printf
(
bio_err
,
"-no_intern don't search certificates contained in response for signer
\n
"
);
BIO_printf
(
bio_err
,
"-out file
output filename
\n
"
);
BIO_printf
(
bio_err
,
"-issuer file
issuer certificate
\n
"
);
BIO_printf
(
bio_err
,
"-cert file
certificate to check
\n
"
);
BIO_printf
(
bio_err
,
"-serial n
serial number to check
\n
"
);
BIO_printf
(
bio_err
,
"-signer file
certificate to sign OCSP request with
\n
"
);
BIO_printf
(
bio_err
,
"-signkey file
private key to sign OCSP request with
\n
"
);
BIO_printf
(
bio_err
,
"-sign_other file
additional certificates to include in signed request
\n
"
);
BIO_printf
(
bio_err
,
"-no_certs
don't include any certificates in signed request
\n
"
);
BIO_printf
(
bio_err
,
"-req_text
print text form of request
\n
"
);
BIO_printf
(
bio_err
,
"-resp_text
print text form of response
\n
"
);
BIO_printf
(
bio_err
,
"-text
print text form of request and response
\n
"
);
BIO_printf
(
bio_err
,
"-reqout file
write DER encoded OCSP request to
\"
file
\"\n
"
);
BIO_printf
(
bio_err
,
"-respout file
write DER encoded OCSP reponse to
\"
file
\"\n
"
);
BIO_printf
(
bio_err
,
"-reqin file
read DER encoded OCSP request from
\"
file
\"\n
"
);
BIO_printf
(
bio_err
,
"-respin file
read DER encoded OCSP reponse from
\"
file
\"\n
"
);
BIO_printf
(
bio_err
,
"-nonce
add OCSP nonce to request
\n
"
);
BIO_printf
(
bio_err
,
"-no_nonce
don't add OCSP nonce to request
\n
"
);
BIO_printf
(
bio_err
,
"-url URL
OCSP responder URL
\n
"
);
BIO_printf
(
bio_err
,
"-host host:n
send OCSP request to host on port n
\n
"
);
BIO_printf
(
bio_err
,
"-path
path to use in OCSP request
\n
"
);
BIO_printf
(
bio_err
,
"-CApath dir
trusted certificates directory
\n
"
);
BIO_printf
(
bio_err
,
"-CAfile file
trusted certificates file
\n
"
);
BIO_printf
(
bio_err
,
"-trusted_first
use locally trusted CA's first when building trust chain
\n
"
);
BIO_printf
(
bio_err
,
"-VAfile file
validator certificates file
\n
"
);
BIO_printf
(
bio_err
,
"-validity_period n
maximum validity discrepancy in seconds
\n
"
);
BIO_printf
(
bio_err
,
"-status_age n
maximum status age in seconds
\n
"
);
BIO_printf
(
bio_err
,
"-noverify
don't verify response at all
\n
"
);
BIO_printf
(
bio_err
,
"-verify_other file
additional certificates to search for signer
\n
"
);
BIO_printf
(
bio_err
,
"-trust_other
don't verify additional certificates
\n
"
);
BIO_printf
(
bio_err
,
"-no_intern
don't search certificates contained in response for signer
\n
"
);
BIO_printf
(
bio_err
,
"-no_signature_verify don't check signature on response
\n
"
);
BIO_printf
(
bio_err
,
"-no_cert_verify don't check signing certificate
\n
"
);
BIO_printf
(
bio_err
,
"-no_chain don't chain verify response
\n
"
);
BIO_printf
(
bio_err
,
"-no_cert_checks don't do additional checks on signing certificate
\n
"
);
BIO_printf
(
bio_err
,
"-port num
port to run responder on
\n
"
);
BIO_printf
(
bio_err
,
"-index file
certificate status index file
\n
"
);
BIO_printf
(
bio_err
,
"-CA file
CA certificate
\n
"
);
BIO_printf
(
bio_err
,
"-rsigner file
responder certificate to sign responses with
\n
"
);
BIO_printf
(
bio_err
,
"-rkey file
responder key to sign responses with
\n
"
);
BIO_printf
(
bio_err
,
"-rother file
other certificates to include in response
\n
"
);
BIO_printf
(
bio_err
,
"-resp_no_certs don't include any certificates in response
\n
"
);
BIO_printf
(
bio_err
,
"-nmin n
number of minutes before next update
\n
"
);
BIO_printf
(
bio_err
,
"-ndays n
number of days before next update
\n
"
);
BIO_printf
(
bio_err
,
"-resp_key_id identify reponse by signing certificate key ID
\n
"
);
BIO_printf
(
bio_err
,
"-nrequest n number of requests to accept (default unlimited)
\n
"
);
BIO_printf
(
bio_err
,
"-<dgst alg> use specified digest in the request
\n
"
);
BIO_printf
(
bio_err
,
"-timeout n timeout connection to OCSP responder after n seconds
\n
"
);
BIO_printf
(
bio_err
,
"-no_cert_verify
don't check signing certificate
\n
"
);
BIO_printf
(
bio_err
,
"-no_chain
don't chain verify response
\n
"
);
BIO_printf
(
bio_err
,
"-no_cert_checks
don't do additional checks on signing certificate
\n
"
);
BIO_printf
(
bio_err
,
"-port num
port to run responder on
\n
"
);
BIO_printf
(
bio_err
,
"-index file
certificate status index file
\n
"
);
BIO_printf
(
bio_err
,
"-CA file
CA certificate
\n
"
);
BIO_printf
(
bio_err
,
"-rsigner file
responder certificate to sign responses with
\n
"
);
BIO_printf
(
bio_err
,
"-rkey file
responder key to sign responses with
\n
"
);
BIO_printf
(
bio_err
,
"-rother file
other certificates to include in response
\n
"
);
BIO_printf
(
bio_err
,
"-resp_no_certs
don't include any certificates in response
\n
"
);
BIO_printf
(
bio_err
,
"-nmin n
number of minutes before next update
\n
"
);
BIO_printf
(
bio_err
,
"-ndays n
number of days before next update
\n
"
);
BIO_printf
(
bio_err
,
"-resp_key_id
identify reponse by signing certificate key ID
\n
"
);
BIO_printf
(
bio_err
,
"-nrequest n
number of requests to accept (default unlimited)
\n
"
);
BIO_printf
(
bio_err
,
"-<dgst alg>
use specified digest in the request
\n
"
);
BIO_printf
(
bio_err
,
"-timeout n
timeout connection to OCSP responder after n seconds
\n
"
);
goto
end
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录