Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Third Party Openssl
提交
df0681e5
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看板
体验新版 GitCode,发现更多精彩内容 >>
提交
df0681e5
编写于
10月 22, 2008
作者:
D
Dr. Stephen Henson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add permanentIdentifier OID.
上级
e19106f5
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
18 addition
and
5 deletion
+18
-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
+1
-0
未找到文件。
crypto/objects/obj_dat.h
浏览文件 @
df0681e5
...
...
@@ -62,12 +62,12 @@
* [including the GNU Public Licence.]
*/
#define NUM_NID 85
8
#define NUM_SN 85
1
#define NUM_LN 85
1
#define NUM_OBJ 80
5
#define NUM_NID 85
9
#define NUM_SN 85
2
#define NUM_LN 85
2
#define NUM_OBJ 80
6
static
const
unsigned
char
lvalues
[
57
14
]
=
{
static
const
unsigned
char
lvalues
[
57
22
]
=
{
0x00
,
/* [ 0] OBJ_undef */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
/* [ 1] OBJ_rsadsi */
0x2A
,
0x86
,
0x48
,
0x86
,
0xF7
,
0x0D
,
0x01
,
/* [ 7] OBJ_pkcs */
...
...
@@ -873,6 +873,7 @@ static const unsigned char lvalues[5714]={
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 */
0x2B
,
0x06
,
0x01
,
0x05
,
0x05
,
0x07
,
0x08
,
0x03
,
/* [5713] OBJ_id_on_permanentIdentifier */
};
static
const
ASN1_OBJECT
nid_objs
[
NUM_NID
]
=
{
...
...
@@ -2259,6 +2260,8 @@ static const ASN1_OBJECT nid_objs[NUM_NID]={
&
(
lvalues
[
5701
]),
0
},
{
"freshestCRL"
,
"X509v3 Freshest CRL"
,
NID_freshest_crl
,
3
,
&
(
lvalues
[
5710
]),
0
},
{
"id-on-permanentIdentifier"
,
"Permanent Identifier"
,
NID_id_on_permanentIdentifier
,
8
,
&
(
lvalues
[
5713
]),
0
},
};
static
const
unsigned
int
sn_objs
[
NUM_SN
]
=
{
...
...
@@ -2682,6 +2685,7 @@ static const unsigned int sn_objs[NUM_SN]={
279
,
/* "id-mod-qualified-cert-93" */
281
,
/* "id-mod-timestamp-protocol" */
264
,
/* "id-on" */
858
,
/* "id-on-permanentIdentifier" */
347
,
/* "id-on-personalData" */
265
,
/* "id-pda" */
352
,
/* "id-pda-countryOfCitizenship" */
...
...
@@ -3204,6 +3208,7 @@ static const unsigned int ln_objs[NUM_LN]={
69
,
/* "PBKDF2" */
162
,
/* "PBMAC1" */
127
,
/* "PKIX" */
858
,
/* "Permanent Identifier" */
164
,
/* "Policy Qualifier CPS" */
165
,
/* "Policy Qualifier User Notice" */
385
,
/* "Private" */
...
...
@@ -4482,6 +4487,7 @@ static const unsigned int obj_objs[NUM_OBJ]={
345
,
/* OBJ_id_cmc_popLinkWitness 1 3 6 1 5 5 7 7 23 */
346
,
/* OBJ_id_cmc_confirmCertAcceptance 1 3 6 1 5 5 7 7 24 */
347
,
/* OBJ_id_on_personalData 1 3 6 1 5 5 7 8 1 */
858
,
/* OBJ_id_on_permanentIdentifier 1 3 6 1 5 5 7 8 3 */
348
,
/* OBJ_id_pda_dateOfBirth 1 3 6 1 5 5 7 9 1 */
349
,
/* OBJ_id_pda_placeOfBirth 1 3 6 1 5 5 7 9 2 */
351
,
/* OBJ_id_pda_gender 1 3 6 1 5 5 7 9 3 */
...
...
crypto/objects/obj_mac.h
浏览文件 @
df0681e5
...
...
@@ -1734,6 +1734,11 @@
#define NID_id_on_personalData 347
#define OBJ_id_on_personalData OBJ_id_on,1L
#define SN_id_on_permanentIdentifier "id-on-permanentIdentifier"
#define LN_id_on_permanentIdentifier "Permanent Identifier"
#define NID_id_on_permanentIdentifier 858
#define OBJ_id_on_permanentIdentifier OBJ_id_on,3L
#define SN_id_pda_dateOfBirth "id-pda-dateOfBirth"
#define NID_id_pda_dateOfBirth 348
#define OBJ_id_pda_dateOfBirth OBJ_id_pda,1L
...
...
crypto/objects/obj_mac.num
浏览文件 @
df0681e5
...
...
@@ -855,3 +855,4 @@ id_GostR3410_2001_ParamSet_cc 854
hmac 855
LocalKeySet 856
freshest_crl 857
id_on_permanentIdentifier 858
crypto/objects/objects.txt
浏览文件 @
df0681e5
...
...
@@ -557,6 +557,7 @@ id-cmc 24 : id-cmc-confirmCertAcceptance
# other names
id-on 1 : id-on-personalData
id-on 3 : id-on-permanentIdentifier : Permanent Identifier
# personal data attributes
id-pda 1 : id-pda-dateOfBirth
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录