New OID for X509 usage: pseudonym

Submitted by: Michael Bell <michael.bell@rz.hu-berlin.de>
Reviewed by: Lutz Jaenicke
PR: 83
This commit is contained in:
Lutz Jänicke 2002-06-06 07:30:45 +00:00
parent ed703912b2
commit 2250f475fc
4 changed files with 16 additions and 5 deletions

View file

@ -62,12 +62,12 @@
* [including the GNU Public Licence.] * [including the GNU Public Licence.]
*/ */
#define NUM_NID 510 #define NUM_NID 511
#define NUM_SN 507 #define NUM_SN 508
#define NUM_LN 507 #define NUM_LN 508
#define NUM_OBJ 481 #define NUM_OBJ 482
static unsigned char lvalues[3881]={ static unsigned char lvalues[3884]={
0x00, /* [ 0] OBJ_undef */ 0x00, /* [ 0] OBJ_undef */
0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */ 0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */ 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */
@ -549,6 +549,7 @@ static unsigned char lvalues[3881]={
0x2B,0x06,0x01,0x07,0x01,0x01,0x01, /* [3863] OBJ_id_hex_partial_message */ 0x2B,0x06,0x01,0x07,0x01,0x01,0x01, /* [3863] OBJ_id_hex_partial_message */
0x2B,0x06,0x01,0x07,0x01,0x01,0x02, /* [3870] OBJ_id_hex_multipart_message */ 0x2B,0x06,0x01,0x07,0x01,0x01,0x02, /* [3870] OBJ_id_hex_multipart_message */
0x55,0x04,0x2C, /* [3877] OBJ_generationQualifier */ 0x55,0x04,0x2C, /* [3877] OBJ_generationQualifier */
0x55,0x04,0x41, /* [3880] OBJ_pseudonym */
}; };
static ASN1_OBJECT nid_objs[NUM_NID]={ static ASN1_OBJECT nid_objs[NUM_NID]={
@ -1334,6 +1335,7 @@ static ASN1_OBJECT nid_objs[NUM_NID]={
NID_id_hex_multipart_message,7,&(lvalues[3870]),0}, NID_id_hex_multipart_message,7,&(lvalues[3870]),0},
{"generationQualifier","generationQualifier",NID_generationQualifier, {"generationQualifier","generationQualifier",NID_generationQualifier,
3,&(lvalues[3877]),0}, 3,&(lvalues[3877]),0},
{"pseudonym","pseudonym",NID_pseudonym,3,&(lvalues[3880]),0},
}; };
static ASN1_OBJECT *sn_objs[NUM_SN]={ static ASN1_OBJECT *sn_objs[NUM_SN]={
@ -1798,6 +1800,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
&(nid_objs[415]),/* "prime256v1" */ &(nid_objs[415]),/* "prime256v1" */
&(nid_objs[385]),/* "private" */ &(nid_objs[385]),/* "private" */
&(nid_objs[84]),/* "privateKeyUsagePeriod" */ &(nid_objs[84]),/* "privateKeyUsagePeriod" */
&(nid_objs[510]),/* "pseudonym" */
&(nid_objs[435]),/* "pss" */ &(nid_objs[435]),/* "pss" */
&(nid_objs[286]),/* "qcStatements" */ &(nid_objs[286]),/* "qcStatements" */
&(nid_objs[457]),/* "qualityLabelledData" */ &(nid_objs[457]),/* "qualityLabelledData" */
@ -2293,6 +2296,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
&(nid_objs[413]),/* "prime239v2" */ &(nid_objs[413]),/* "prime239v2" */
&(nid_objs[414]),/* "prime239v3" */ &(nid_objs[414]),/* "prime239v3" */
&(nid_objs[415]),/* "prime256v1" */ &(nid_objs[415]),/* "prime256v1" */
&(nid_objs[510]),/* "pseudonym" */
&(nid_objs[435]),/* "pss" */ &(nid_objs[435]),/* "pss" */
&(nid_objs[286]),/* "qcStatements" */ &(nid_objs[286]),/* "qcStatements" */
&(nid_objs[457]),/* "qualityLabelledData" */ &(nid_objs[457]),/* "qualityLabelledData" */
@ -2389,6 +2393,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
&(nid_objs[509]),/* OBJ_generationQualifier 2 5 4 44 */ &(nid_objs[509]),/* OBJ_generationQualifier 2 5 4 44 */
&(nid_objs[503]),/* OBJ_x500UniqueIdentifier 2 5 4 45 */ &(nid_objs[503]),/* OBJ_x500UniqueIdentifier 2 5 4 45 */
&(nid_objs[174]),/* OBJ_dnQualifier 2 5 4 46 */ &(nid_objs[174]),/* OBJ_dnQualifier 2 5 4 46 */
&(nid_objs[510]),/* OBJ_pseudonym 2 5 4 65 */
&(nid_objs[400]),/* OBJ_role 2 5 4 72 */ &(nid_objs[400]),/* OBJ_role 2 5 4 72 */
&(nid_objs[82]),/* OBJ_subject_key_identifier 2 5 29 14 */ &(nid_objs[82]),/* OBJ_subject_key_identifier 2 5 29 14 */
&(nid_objs[83]),/* OBJ_key_usage 2 5 29 15 */ &(nid_objs[83]),/* OBJ_key_usage 2 5 29 15 */

View file

@ -1654,6 +1654,10 @@
#define NID_dnQualifier 174 #define NID_dnQualifier 174
#define OBJ_dnQualifier OBJ_X509,46L #define OBJ_dnQualifier OBJ_X509,46L
#define LN_pseudonym "pseudonym"
#define NID_pseudonym 510
#define OBJ_pseudonym OBJ_X509,65L
#define SN_role "role" #define SN_role "role"
#define LN_role "role" #define LN_role "role"
#define NID_role 400 #define NID_role 400

View file

@ -507,3 +507,4 @@ mime_mhs_bodies 506
id_hex_partial_message 507 id_hex_partial_message 507
id_hex_multipart_message 508 id_hex_multipart_message 508
generationQualifier 509 generationQualifier 509
pseudonym 510

View file

@ -542,6 +542,7 @@ X509 43 : : initials
X509 44 : : generationQualifier X509 44 : : generationQualifier
X509 45 : : x500UniqueIdentifier X509 45 : : x500UniqueIdentifier
X509 46 : dnQualifier : dnQualifier X509 46 : dnQualifier : dnQualifier
X509 65 : : pseudonym
X509 72 : role : role X509 72 : role : role
X500 8 : X500algorithms : directory services - algorithms X500 8 : X500algorithms : directory services - algorithms