Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
249a77f5
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看板
提交
249a77f5
编写于
8月 27, 2008
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add support for freshest CRL extension.
上级
d0fff69d
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
37 addition
and
6 deletion
+37
-6
CHANGES
CHANGES
+5
-0
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
+2
-0
crypto/x509v3/ext_dat.h
crypto/x509v3/ext_dat.h
+2
-1
crypto/x509v3/v3_crld.c
crypto/x509v3/v3_crld.c
+11
-0
未找到文件。
CHANGES
浏览文件 @
249a77f5
...
...
@@ -4,6 +4,11 @@
Changes between 0.9.8i and 0.9.9 [xx XXX xxxx]
*) Support for freshest CRL extension.
This work was sponsored by Google.
[Steve Henson]
*) Initial indirect CRL support. Currently only supported in the CRLs
passed directly and not via lookup. Process certificate issuer
CRL entry extension and lookup CRL entries by bother issuer name
...
...
crypto/objects/obj_dat.h
浏览文件 @
249a77f5
...
...
@@ -62,12 +62,12 @@
* [including the GNU Public Licence.]
*/
#define NUM_NID 85
7
#define NUM_SN 85
0
#define NUM_LN 85
0
#define NUM_OBJ 80
4
#define NUM_NID 85
8
#define NUM_SN 85
1
#define NUM_LN 85
1
#define NUM_OBJ 80
5
static
const
unsigned
char
lvalues
[
571
1
]
=
{
static
const
unsigned
char
lvalues
[
571
4
]
=
{
0x00
,
/* [ 0] OBJ_undef */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
/* [ 1] OBJ_rsadsi */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
/* [ 7] OBJ_pkcs */
...
...
@@ -872,6 +872,7 @@ static const unsigned char lvalues[5711]={
0x2A
,
0x85
,
0x03
,
0x02
,
0x09
,
0x01
,
0x03
,
0x04
,
/* [5685] OBJ_id_GostR3411_94_with_GostR3410_2001_cc */
0x2A
,
0x85
,
0x03
,
0x02
,
0x09
,
0x01
,
0x08
,
0x01
,
/* [5693] OBJ_id_GostR3410_2001_ParamSet_cc */
0x2B
,
0x06
,
0x01
,
0x04
,
0x01
,
0x82
,
0x37
,
0x11
,
0x02
,
/* [5701] OBJ_LocalKeySet */
0x55
,
0x1D
,
0x2E
,
/* [5710] OBJ_freshest_crl */
};
static
const
ASN1_OBJECT
nid_objs
[
NUM_NID
]
=
{
...
...
@@ -2256,6 +2257,8 @@ static const ASN1_OBJECT nid_objs[NUM_NID]={
{
"HMAC"
,
"hmac"
,
NID_hmac
,
0
,
NULL
,
0
},
{
"LocalKeySet"
,
"Microsoft Local Key set"
,
NID_LocalKeySet
,
9
,
&
(
lvalues
[
5701
]),
0
},
{
"freshestCRL"
,
"X509v3 Freshest CRL"
,
NID_freshest_crl
,
3
,
&
(
lvalues
[
5710
]),
0
},
};
static
const
unsigned
int
sn_objs
[
NUM_SN
]
=
{
...
...
@@ -2534,6 +2537,7 @@ static const unsigned int sn_objs[NUM_SN]={
126
,
/* "extendedKeyUsage" */
372
,
/* "extendedStatus" */
462
,
/* "favouriteDrink" */
857
,
/* "freshestCRL" */
453
,
/* "friendlyCountry" */
490
,
/* "friendlyCountryName" */
156
,
/* "friendlyName" */
...
...
@@ -3230,6 +3234,7 @@ static const unsigned int ln_objs[NUM_LN]={
89
,
/* "X509v3 Certificate Policies" */
140
,
/* "X509v3 Delta CRL Indicator" */
126
,
/* "X509v3 Extended Key Usage" */
857
,
/* "X509v3 Freshest CRL" */
748
,
/* "X509v3 Inhibit Any Policy" */
86
,
/* "X509v3 Issuer Alternative Name" */
770
,
/* "X509v3 Issuing Distrubution Point" */
...
...
@@ -4029,6 +4034,7 @@ static const unsigned int obj_objs[NUM_OBJ]={
90
,
/* OBJ_authority_key_identifier 2 5 29 35 */
401
,
/* OBJ_policy_constraints 2 5 29 36 */
126
,
/* OBJ_ext_key_usage 2 5 29 37 */
857
,
/* OBJ_freshest_crl 2 5 29 46 */
748
,
/* OBJ_inhibit_any_policy 2 5 29 54 */
402
,
/* OBJ_target_information 2 5 29 55 */
403
,
/* OBJ_no_rev_avail 2 5 29 56 */
...
...
crypto/objects/obj_mac.h
浏览文件 @
249a77f5
...
...
@@ -2235,6 +2235,11 @@
#define NID_ext_key_usage 126
#define OBJ_ext_key_usage OBJ_id_ce,37L
#define SN_freshest_crl "freshestCRL"
#define LN_freshest_crl "X509v3 Freshest CRL"
#define NID_freshest_crl 857
#define OBJ_freshest_crl OBJ_id_ce,46L
#define SN_inhibit_any_policy "inhibitAnyPolicy"
#define LN_inhibit_any_policy "X509v3 Inhibit Any Policy"
#define NID_inhibit_any_policy 748
...
...
crypto/objects/obj_mac.num
浏览文件 @
249a77f5
...
...
@@ -854,3 +854,4 @@ id_GostR3411_94_with_GostR3410_2001_cc 853
id_GostR3410_2001_ParamSet_cc 854
hmac 855
LocalKeySet 856
freshest_crl 857
crypto/objects/objects.txt
浏览文件 @
249a77f5
...
...
@@ -726,6 +726,8 @@ id-ce 35 : authorityKeyIdentifier : X509v3 Authority Key Identifier
id-ce 36 : policyConstraints : X509v3 Policy Constraints
!Cname ext-key-usage
id-ce 37 : extendedKeyUsage : X509v3 Extended Key Usage
!Cname freshest-crl
id-ce 46 : freshestCRL : X509v3 Freshest CRL
!Cname inhibit-any-policy
id-ce 54 : inhibitAnyPolicy : X509v3 Inhibit Any Policy
!Cname target-information
...
...
crypto/x509v3/ext_dat.h
浏览文件 @
249a77f5
...
...
@@ -61,7 +61,7 @@ extern X509V3_EXT_METHOD v3_bcons, v3_nscert, v3_key_usage, v3_ext_ku;
extern
X509V3_EXT_METHOD
v3_pkey_usage_period
,
v3_sxnet
,
v3_info
,
v3_sinfo
;
extern
X509V3_EXT_METHOD
v3_ns_ia5_list
[],
v3_alt
[],
v3_skey_id
,
v3_akey_id
;
extern
X509V3_EXT_METHOD
v3_crl_num
,
v3_crl_reason
,
v3_crl_invdate
;
extern
X509V3_EXT_METHOD
v3_delta_crl
,
v3_cpols
,
v3_crld
;
extern
X509V3_EXT_METHOD
v3_delta_crl
,
v3_cpols
,
v3_crld
,
v3_freshest_crl
;
extern
X509V3_EXT_METHOD
v3_ocsp_nonce
,
v3_ocsp_accresp
,
v3_ocsp_acutoff
;
extern
X509V3_EXT_METHOD
v3_ocsp_crlid
,
v3_ocsp_nocheck
,
v3_ocsp_serviceloc
;
extern
X509V3_EXT_METHOD
v3_crl_hold
,
v3_pci
;
...
...
@@ -123,6 +123,7 @@ static X509V3_EXT_METHOD *standard_exts[] = {
&
v3_inhibit_anyp
,
&
v3_idp
,
&
v3_alt
[
2
],
&
v3_freshest_crl
,
};
/* Number of standard extensions */
...
...
crypto/x509v3/v3_crld.c
浏览文件 @
249a77f5
...
...
@@ -79,6 +79,17 @@ const X509V3_EXT_METHOD v3_crld =
NULL
};
const
X509V3_EXT_METHOD
v3_freshest_crl
=
{
NID_freshest_crl
,
0
,
ASN1_ITEM_ref
(
CRL_DIST_POINTS
),
0
,
0
,
0
,
0
,
0
,
0
,
0
,
v2i_crld
,
i2r_crldp
,
0
,
NULL
};
static
STACK_OF
(
GENERAL_NAME
)
*
gnames_from_sectname
(
X509V3_CTX
*
ctx
,
char
*
sect
)
{
STACK_OF
(
CONF_VALUE
)
*
gnsect
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录