Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
df4c395c
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看板
提交
df4c395c
编写于
2月 24, 2010
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add anyExtendedKeyUsage OID
上级
385a488c
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
26 addition
and
5 deletion
+26
-5
crypto/objects/obj_dat.h
crypto/objects/obj_dat.h
+11
-5
crypto/objects/obj_mac.h
crypto/objects/obj_mac.h
+5
-0
crypto/objects/obj_mac.num
crypto/objects/obj_mac.num
+1
-0
crypto/objects/objects.txt
crypto/objects/objects.txt
+4
-0
crypto/x509v3/v3_purp.c
crypto/x509v3/v3_purp.c
+4
-0
crypto/x509v3/x509v3.h
crypto/x509v3/x509v3.h
+1
-0
未找到文件。
crypto/objects/obj_dat.h
浏览文件 @
df4c395c
...
...
@@ -62,12 +62,12 @@
* [including the GNU Public Licence.]
*/
#define NUM_NID 91
0
#define NUM_SN 90
3
#define NUM_LN 90
3
#define NUM_OBJ 85
3
#define NUM_NID 91
1
#define NUM_SN 90
4
#define NUM_LN 90
4
#define NUM_OBJ 85
4
static
const
unsigned
char
lvalues
[
59
49
]
=
{
static
const
unsigned
char
lvalues
[
59
53
]
=
{
0x00
,
/* [ 0] OBJ_undef */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
/* [ 1] OBJ_rsadsi */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
/* [ 7] OBJ_pkcs */
...
...
@@ -921,6 +921,7 @@ static const unsigned char lvalues[5949]={
0x2A
,
0x83
,
0x08
,
0x8C
,
0x9A
,
0x4B
,
0x3D
,
0x01
,
0x01
,
0x03
,
0x02
,
/* [5915] OBJ_id_camellia128_wrap */
0x2A
,
0x83
,
0x08
,
0x8C
,
0x9A
,
0x4B
,
0x3D
,
0x01
,
0x01
,
0x03
,
0x03
,
/* [5926] OBJ_id_camellia192_wrap */
0x2A
,
0x83
,
0x08
,
0x8C
,
0x9A
,
0x4B
,
0x3D
,
0x01
,
0x01
,
0x03
,
0x04
,
/* [5937] OBJ_id_camellia256_wrap */
0x55
,
0x1D
,
0x25
,
0x00
,
/* [5948] OBJ_anyExtendedKeyUsage */
};
static
const
ASN1_OBJECT
nid_objs
[
NUM_NID
]
=
{
...
...
@@ -2388,6 +2389,8 @@ static const ASN1_OBJECT nid_objs[NUM_NID]={
11
,
&
(
lvalues
[
5926
]),
0
},
{
"id-camellia256-wrap"
,
"id-camellia256-wrap"
,
NID_id_camellia256_wrap
,
11
,
&
(
lvalues
[
5937
]),
0
},
{
"anyExtendedKeyUsage"
,
"Any Extended Key Usage"
,
NID_anyExtendedKeyUsage
,
4
,
&
(
lvalues
[
5948
]),
0
},
};
static
const
unsigned
int
sn_objs
[
NUM_SN
]
=
{
...
...
@@ -2581,6 +2584,7 @@ static const unsigned int sn_objs[NUM_SN]={
363
,
/* "ad_timestamping" */
376
,
/* "algorithm" */
405
,
/* "ansi-X9-62" */
910
,
/* "anyExtendedKeyUsage" */
746
,
/* "anyPolicy" */
370
,
/* "archiveCutoff" */
484
,
/* "associatedDomain" */
...
...
@@ -3300,6 +3304,7 @@ static const unsigned int ln_objs[NUM_LN]={
363
,
/* "AD Time Stamping" */
405
,
/* "ANSI X9.62" */
368
,
/* "Acceptable OCSP Responses" */
910
,
/* "Any Extended Key Usage" */
664
,
/* "Any language" */
177
,
/* "Authority Information Access" */
365
,
/* "Basic OCSP Response" */
...
...
@@ -4325,6 +4330,7 @@ static const unsigned int obj_objs[NUM_OBJ]={
96
,
/* OBJ_mdc2WithRSA 2 5 8 3 100 */
95
,
/* OBJ_mdc2 2 5 8 3 101 */
746
,
/* OBJ_any_policy 2 5 29 32 0 */
910
,
/* OBJ_anyExtendedKeyUsage 2 5 29 37 0 */
519
,
/* OBJ_setct_PANData 2 23 42 0 0 */
520
,
/* OBJ_setct_PANToken 2 23 42 0 1 */
521
,
/* OBJ_setct_PANOnly 2 23 42 0 2 */
...
...
crypto/objects/obj_mac.h
浏览文件 @
df4c395c
...
...
@@ -2403,6 +2403,11 @@
#define NID_no_rev_avail 403
#define OBJ_no_rev_avail OBJ_id_ce,56L
#define SN_anyExtendedKeyUsage "anyExtendedKeyUsage"
#define LN_anyExtendedKeyUsage "Any Extended Key Usage"
#define NID_anyExtendedKeyUsage 910
#define OBJ_anyExtendedKeyUsage OBJ_ext_key_usage,0L
#define SN_netscape "Netscape"
#define LN_netscape "Netscape Communications Corp."
#define NID_netscape 57
...
...
crypto/objects/obj_mac.num
浏览文件 @
df4c395c
...
...
@@ -907,3 +907,4 @@ aes_256_ctr 906
id_camellia128_wrap 907
id_camellia192_wrap 908
id_camellia256_wrap 909
anyExtendedKeyUsage 910
crypto/objects/objects.txt
浏览文件 @
df4c395c
...
...
@@ -771,6 +771,10 @@ id-ce 55 : targetInformation : X509v3 AC Targeting
!Cname no-rev-avail
id-ce 56 : noRevAvail : X509v3 No Revocation Available
# From RFC5280
ext-key-usage 0 : anyExtendedKeyUsage : Any Extended Key Usage
!Cname netscape
2 16 840 1 113730 : Netscape : Netscape Communications Corp.
!Cname netscape-cert-extension
...
...
crypto/x509v3/v3_purp.c
浏览文件 @
df4c395c
...
...
@@ -447,6 +447,10 @@ static void x509v3_cache_extensions(X509 *x)
case
NID_dvcs
:
x
->
ex_xkusage
|=
XKU_DVCS
;
break
;
case
NID_anyExtendedKeyUsage
:
x
->
ex_xkusage
|=
XKU_ANYEKU
;
break
;
}
}
sk_ASN1_OBJECT_pop_free
(
extusage
,
ASN1_OBJECT_free
);
...
...
crypto/x509v3/x509v3.h
浏览文件 @
df4c395c
...
...
@@ -451,6 +451,7 @@ struct ISSUING_DIST_POINT_st
#define XKU_OCSP_SIGN 0x20
#define XKU_TIMESTAMP 0x40
#define XKU_DVCS 0x80
#define XKU_ANYEKU 0x100
#define X509_PURPOSE_DYNAMIC 0x1
#define X509_PURPOSE_DYNAMIC_NAME 0x2
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录