Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
15bd07e9
T
Third Party Openssl
项目概览
OpenHarmony
/
Third Party Openssl
11 个月 前同步成功
通知
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,发现更多精彩内容 >>
提交
15bd07e9
编写于
11月 19, 2007
作者:
B
Bodo Möller
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix typos
Submitted by: Ernst G. Giessmann
上级
fdf35587
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
14 addition
and
10 deletion
+14
-10
apps/ec.c
apps/ec.c
+1
-1
doc/crypto/ASN1_generate_nconf.pod
doc/crypto/ASN1_generate_nconf.pod
+13
-9
未找到文件。
apps/ec.c
浏览文件 @
15bd07e9
...
...
@@ -244,7 +244,7 @@ bad:
" the ec parameters are encoded
\n
"
);
BIO_printf
(
bio_err
,
" in the asn1 der "
"encoding
\n
"
);
BIO_printf
(
bio_err
,
" possi
lb
e values:"
BIO_printf
(
bio_err
,
" possi
bl
e values:"
" named_curve (default)
\n
"
);
BIO_printf
(
bio_err
,
" "
"explicit
\n
"
);
...
...
doc/crypto/ASN1_generate_nconf.pod
浏览文件 @
15bd07e9
...
...
@@ -30,7 +30,11 @@ The actual data encoded is determined by the string B<str> and
the configuration information. The general format of the string
is:
B<[modifier,]type[:value]>
=over 2
=item B<[modifier,]type[:value]>
=back
That is zero or more comma separated modifiers followed by a type
followed by an optional colon and a value. The formats of B<type>,
...
...
@@ -83,13 +87,13 @@ the format B<YYYYMMDDHHMMSSZ>.
=item B<OCTETSTRING>, B<OCT>
E
m
codes an ASN1 B<OCTET STRING>. B<value> represents the contents
E
n
codes an ASN1 B<OCTET STRING>. B<value> represents the contents
of this structure, the format strings B<ASCII> and B<HEX> can be
used to specify the format of B<value>.
=item B<BITSRING>, B<BITSTR>
=item B<BITS
T
RING>, B<BITSTR>
E
m
codes an ASN1 B<BIT STRING>. B<value> represents the contents
E
n
codes an ASN1 B<BIT STRING>. B<value> represents the contents
of this structure, the format strings B<ASCII>, B<HEX> and B<BITLIST>
can be used to specify the format of B<value>.
...
...
@@ -174,13 +178,13 @@ An IA5String explicitly tagged using APPLICATION tagging:
A more complex example using a config file to produce a
SEQUENCE consiting of a BOOL an OID and a UTF8String:
asn1 = SEQUENCE:seq_section
asn1 = SEQUENCE:seq_section
[seq_section]
[seq_section]
field1 = BOOLEAN:TRUE
field2 = OID:commonName
field3 = UTF8:Third field
field1 = BOOLEAN:TRUE
field2 = OID:commonName
field3 = UTF8:Third field
This example produces an RSAPrivateKey structure, this is the
key contained in the file client.pem in all OpenSSL distributions
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录