Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
ba5df66a
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看板
提交
ba5df66a
编写于
3月 13, 2003
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add some OIDs.
上级
12d4e7b8
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
32 addition
and
5 deletion
+32
-5
crypto/objects/obj_dat.h
crypto/objects/obj_dat.h
+16
-5
crypto/objects/obj_mac.h
crypto/objects/obj_mac.h
+10
-0
crypto/objects/obj_mac.num
crypto/objects/obj_mac.num
+2
-0
crypto/objects/objects.txt
crypto/objects/objects.txt
+4
-0
未找到文件。
crypto/objects/obj_dat.h
浏览文件 @
ba5df66a
...
...
@@ -62,12 +62,12 @@
* [including the GNU Public Licence.]
*/
#define NUM_NID 7
18
#define NUM_SN 71
3
#define NUM_LN 71
3
#define NUM_OBJ 68
7
#define NUM_NID 7
20
#define NUM_SN 71
5
#define NUM_LN 71
5
#define NUM_OBJ 68
9
static
unsigned
char
lvalues
[
48
69
]
=
{
static
unsigned
char
lvalues
[
48
76
]
=
{
0x00
,
/* [ 0] OBJ_undef */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
/* [ 1] OBJ_rsadsi */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
/* [ 7] OBJ_pkcs */
...
...
@@ -755,6 +755,8 @@ static unsigned char lvalues[4869]={
0x67
,
0x2B
,
0x0D
,
0x04
,
0x0C
,
/* [4843] OBJ_wap_wsg_idm_ecid_wtls12 */
0x2B
,
0x06
,
0x01
,
0x04
,
0x01
,
0x82
,
0x37
,
0x14
,
0x02
,
0x02
,
/* [4848] OBJ_ms_smartcard_login */
0x2B
,
0x06
,
0x01
,
0x04
,
0x01
,
0x82
,
0x37
,
0x14
,
0x02
,
0x03
,
/* [4858] OBJ_ms_upn */
0x55
,
0x1D
,
0x20
,
0x00
,
/* [4868] OBJ_any_policy */
0x55
,
0x1D
,
0x21
,
/* [4872] OBJ_policy_mapping */
};
static
ASN1_OBJECT
nid_objs
[
NUM_NID
]
=
{
...
...
@@ -1879,6 +1881,9 @@ static ASN1_OBJECT nid_objs[NUM_NID]={
10
,
&
(
lvalues
[
4848
]),
0
},
{
"msUPN"
,
"Microsoft Universal Principal Name"
,
NID_ms_upn
,
10
,
&
(
lvalues
[
4858
]),
0
},
{
"anyPolicy"
,
"X509v3 Any Policy"
,
NID_any_policy
,
4
,
&
(
lvalues
[
4868
]),
0
},
{
"policyMapping"
,
"X509v3 Policy Mapping"
,
NID_policy_mapping
,
3
,
&
(
lvalues
[
4872
]),
0
},
};
static
ASN1_OBJECT
*
sn_objs
[
NUM_SN
]
=
{
...
...
@@ -2019,6 +2024,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
&
(
nid_objs
[
363
]),
/* "ad_timestamping" */
&
(
nid_objs
[
376
]),
/* "algorithm" */
&
(
nid_objs
[
405
]),
/* "ansi-X9-62" */
&
(
nid_objs
[
718
]),
/* "anyPolicy" */
&
(
nid_objs
[
370
]),
/* "archiveCutoff" */
&
(
nid_objs
[
484
]),
/* "associatedDomain" */
&
(
nid_objs
[
485
]),
/* "associatedName" */
...
...
@@ -2361,6 +2367,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
&
(
nid_objs
[
151
]),
/* "pkcs8ShroudedKeyBag" */
&
(
nid_objs
[
47
]),
/* "pkcs9" */
&
(
nid_objs
[
401
]),
/* "policyConstraints" */
&
(
nid_objs
[
719
]),
/* "policyMapping" */
&
(
nid_objs
[
506
]),
/* "ppBasis" */
&
(
nid_objs
[
406
]),
/* "prime-field" */
&
(
nid_objs
[
409
]),
/* "prime192v1" */
...
...
@@ -2679,6 +2686,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
&
(
nid_objs
[
375
]),
/* "Trust Root" */
&
(
nid_objs
[
12
]),
/* "X509" */
&
(
nid_objs
[
402
]),
/* "X509v3 AC Targeting" */
&
(
nid_objs
[
718
]),
/* "X509v3 Any Policy" */
&
(
nid_objs
[
90
]),
/* "X509v3 Authority Key Identifier" */
&
(
nid_objs
[
87
]),
/* "X509v3 Basic Constraints" */
&
(
nid_objs
[
103
]),
/* "X509v3 CRL Distribution Points" */
...
...
@@ -2691,6 +2699,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
&
(
nid_objs
[
83
]),
/* "X509v3 Key Usage" */
&
(
nid_objs
[
403
]),
/* "X509v3 No Revocation Available" */
&
(
nid_objs
[
401
]),
/* "X509v3 Policy Constraints" */
&
(
nid_objs
[
719
]),
/* "X509v3 Policy Mapping" */
&
(
nid_objs
[
84
]),
/* "X509v3 Private Key Usage Period" */
&
(
nid_objs
[
85
]),
/* "X509v3 Subject Alternative Name" */
&
(
nid_objs
[
82
]),
/* "X509v3 Subject Key Identifier" */
...
...
@@ -3365,6 +3374,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
&
(
nid_objs
[
140
]),
/* OBJ_delta_crl 2 5 29 27 */
&
(
nid_objs
[
103
]),
/* OBJ_crl_distribution_points 2 5 29 31 */
&
(
nid_objs
[
89
]),
/* OBJ_certificate_policies 2 5 29 32 */
&
(
nid_objs
[
719
]),
/* OBJ_policy_mapping 2 5 29 33 */
&
(
nid_objs
[
90
]),
/* OBJ_authority_key_identifier 2 5 29 35 */
&
(
nid_objs
[
401
]),
/* OBJ_policy_constraints 2 5 29 36 */
&
(
nid_objs
[
126
]),
/* OBJ_ext_key_usage 2 5 29 37 */
...
...
@@ -3389,6 +3399,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
&
(
nid_objs
[
19
]),
/* OBJ_rsa 2 5 8 1 1 */
&
(
nid_objs
[
96
]),
/* OBJ_mdc2WithRSA 2 5 8 3 100 */
&
(
nid_objs
[
95
]),
/* OBJ_mdc2 2 5 8 3 101 */
&
(
nid_objs
[
718
]),
/* OBJ_any_policy 2 5 29 32 0 */
&
(
nid_objs
[
583
]),
/* OBJ_setct_PANData 2 23 42 0 0 */
&
(
nid_objs
[
584
]),
/* OBJ_setct_PANToken 2 23 42 0 1 */
&
(
nid_objs
[
585
]),
/* OBJ_setct_PANOnly 2 23 42 0 2 */
...
...
crypto/objects/obj_mac.h
浏览文件 @
ba5df66a
...
...
@@ -2041,6 +2041,16 @@
#define NID_certificate_policies 89
#define OBJ_certificate_policies OBJ_id_ce,32L
#define SN_any_policy "anyPolicy"
#define LN_any_policy "X509v3 Any Policy"
#define NID_any_policy 718
#define OBJ_any_policy OBJ_certificate_policies,0L
#define SN_policy_mapping "policyMapping"
#define LN_policy_mapping "X509v3 Policy Mapping"
#define NID_policy_mapping 719
#define OBJ_policy_mapping OBJ_id_ce,33L
#define SN_authority_key_identifier "authorityKeyIdentifier"
#define LN_authority_key_identifier "X509v3 Authority Key Identifier"
#define NID_authority_key_identifier 90
...
...
crypto/objects/obj_mac.num
浏览文件 @
ba5df66a
...
...
@@ -715,3 +715,5 @@ wap_wsg_idm_ecid_wtls11 714
wap_wsg_idm_ecid_wtls12 715
ms_smartcard_login 716
ms_upn 717
any_policy 718
policy_mapping 719
crypto/objects/objects.txt
浏览文件 @
ba5df66a
...
...
@@ -662,6 +662,10 @@ id-ce 27 : deltaCRL : X509v3 Delta CRL Indicator
id-ce 31 : crlDistributionPoints : X509v3 CRL Distribution Points
!Cname certificate-policies
id-ce 32 : certificatePolicies : X509v3 Certificate Policies
!Cname any-policy
certificate-policies 0 : anyPolicy : X509v3 Any Policy
!Cname policy-mapping
id-ce 33 : policyMapping : X509v3 Policy Mapping
!Cname authority-key-identifier
id-ce 35 : authorityKeyIdentifier : X509v3 Authority Key Identifier
!Cname policy-constraints
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录