add "Certificate Issuer" and "Subject Directory Attributes" OIDs
authorNils Larsch <nils@openssl.org>
Mon, 4 Dec 2006 18:51:06 +0000 (18:51 +0000)
committerNils Larsch <nils@openssl.org>
Mon, 4 Dec 2006 18:51:06 +0000 (18:51 +0000)
PR: 1433

crypto/objects/obj_dat.h
crypto/objects/obj_mac.h
crypto/objects/obj_mac.num
crypto/objects/objects.txt

index 15c40b318a732fd6d171d0e63e402261e18df7e3..ce81aee6c6d322fbd6902917f5701f57a8418f11 100644 (file)
  * [including the GNU Public Licence.]
  */
 
-#define NUM_NID 825
-#define NUM_SN 821
-#define NUM_LN 821
-#define NUM_OBJ 777
+#define NUM_NID 827
+#define NUM_SN 823
+#define NUM_LN 823
+#define NUM_OBJ 779
 
-static unsigned char lvalues[5490]={
+static unsigned char lvalues[5496]={
 0x00,                                        /* [  0] OBJ_undef */
 0x2A,0x86,0x48,0x86,0xF7,0x0D,               /* [  1] OBJ_rsadsi */
 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01,          /* [  7] OBJ_pkcs */
@@ -845,6 +845,8 @@ static unsigned char lvalues[5490]={
 0x03,0xA2,0x31,0x05,0x03,0x01,0x09,0x03,     /* [5465] OBJ_camellia_128_ofb128 */
 0x03,0xA2,0x31,0x05,0x03,0x01,0x09,0x17,     /* [5473] OBJ_camellia_192_ofb128 */
 0x03,0xA2,0x31,0x05,0x03,0x01,0x09,0x2B,     /* [5481] OBJ_camellia_256_ofb128 */
+0x55,0x1D,0x09,                              /* [5489] OBJ_subject_directory_attributes */
+0x55,0x1D,0x1D,                              /* [5492] OBJ_certificate_issuer */
 };
 
 static ASN1_OBJECT nid_objs[NUM_NID]={
@@ -2178,6 +2180,10 @@ static ASN1_OBJECT nid_objs[NUM_NID]={
        &(lvalues[5473]),0},
 {"CAMELLIA-256-OFB","camellia-256-ofb",NID_camellia_256_ofb128,8,
        &(lvalues[5481]),0},
+{"subjectDirectoryAttributes","X509v3 Subject Directory Attributes",
+       NID_subject_directory_attributes,3,&(lvalues[5489]),0},
+{"certificateIssuer","X509v3 Certificate Issuer",
+       NID_certificate_issuer,3,&(lvalues[5492]),0},
 };
 
 static ASN1_OBJECT *sn_objs[NUM_SN]={
@@ -2394,6 +2400,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
 &(nid_objs[443]),/* "caseIgnoreIA5StringSyntax" */
 &(nid_objs[152]),/* "certBag" */
 &(nid_objs[663]),/* "certicom-arc" */
+&(nid_objs[826]),/* "certificateIssuer" */
 &(nid_objs[89]),/* "certificatePolicies" */
 &(nid_objs[54]),/* "challengePassword" */
 &(nid_objs[407]),/* "characteristic-two-field" */
@@ -2969,6 +2976,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
 &(nid_objs[387]),/* "snmpv2" */
 &(nid_objs[660]),/* "streetAddress" */
 &(nid_objs[85]),/* "subjectAltName" */
+&(nid_objs[825]),/* "subjectDirectoryAttributes" */
 &(nid_objs[398]),/* "subjectInfoAccess" */
 &(nid_objs[82]),/* "subjectKeyIdentifier" */
 &(nid_objs[498]),/* "subtreeMaximumQuality" */
@@ -3116,6 +3124,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
 &(nid_objs[103]),/* "X509v3 CRL Distribution Points" */
 &(nid_objs[88]),/* "X509v3 CRL Number" */
 &(nid_objs[141]),/* "X509v3 CRL Reason Code" */
+&(nid_objs[826]),/* "X509v3 Certificate Issuer" */
 &(nid_objs[89]),/* "X509v3 Certificate Policies" */
 &(nid_objs[140]),/* "X509v3 Delta CRL Indicator" */
 &(nid_objs[126]),/* "X509v3 Extended Key Usage" */
@@ -3129,6 +3138,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
 &(nid_objs[738]),/* "X509v3 Policy Mappings" */
 &(nid_objs[84]),/* "X509v3 Private Key Usage Period" */
 &(nid_objs[85]),/* "X509v3 Subject Alternative Name" */
+&(nid_objs[825]),/* "X509v3 Subject Directory Attributes" */
 &(nid_objs[82]),/* "X509v3 Subject Key Identifier" */
 &(nid_objs[184]),/* "X9.57" */
 &(nid_objs[185]),/* "X9.57 CM ?" */
@@ -3872,6 +3882,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
 &(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[825]),/* OBJ_subject_directory_attributes 2 5 29 9 */
 &(nid_objs[82]),/* OBJ_subject_key_identifier       2 5 29 14 */
 &(nid_objs[83]),/* OBJ_key_usage                    2 5 29 15 */
 &(nid_objs[84]),/* OBJ_private_key_usage_period     2 5 29 16 */
@@ -3884,6 +3895,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
 &(nid_objs[142]),/* OBJ_invalidity_date              2 5 29 24 */
 &(nid_objs[140]),/* OBJ_delta_crl                    2 5 29 27 */
 &(nid_objs[751]),/* OBJ_issuing_distribution_point   2 5 29 28 */
+&(nid_objs[826]),/* OBJ_certificate_issuer           2 5 29 29 */
 &(nid_objs[736]),/* OBJ_name_constraints             2 5 29 30 */
 &(nid_objs[103]),/* OBJ_crl_distribution_points      2 5 29 31 */
 &(nid_objs[89]),/* OBJ_certificate_policies         2 5 29 32 */
index f8d22bd74a8d451bcbc43ab19a29d14f4fe777f1..98e6b0457838ed13693fdb3c13e17f71652d19d2 100644 (file)
 #define NID_id_ce              81
 #define OBJ_id_ce              OBJ_X500,29L
 
+#define SN_subject_directory_attributes                "subjectDirectoryAttributes"
+#define LN_subject_directory_attributes                "X509v3 Subject Directory Attributes"
+#define NID_subject_directory_attributes               825
+#define OBJ_subject_directory_attributes               OBJ_id_ce,9L
+
 #define SN_subject_key_identifier              "subjectKeyIdentifier"
 #define LN_subject_key_identifier              "X509v3 Subject Key Identifier"
 #define NID_subject_key_identifier             82
 #define NID_issuing_distribution_point         751
 #define OBJ_issuing_distribution_point         OBJ_id_ce,28L
 
+#define SN_certificate_issuer          "certificateIssuer"
+#define LN_certificate_issuer          "X509v3 Certificate Issuer"
+#define NID_certificate_issuer         826
+#define OBJ_certificate_issuer         OBJ_id_ce,29L
+
 #define SN_name_constraints            "nameConstraints"
 #define LN_name_constraints            "X509v3 Name Constraints"
 #define NID_name_constraints           736
index 5646debba5da27bca75e782a3c32a4055c202aaa..88660aa16b5696eb55ad1107731b512d5de1f8e2 100644 (file)
@@ -822,3 +822,5 @@ camellia_256_cfb8           821
 camellia_128_ofb128            822
 camellia_192_ofb128            823
 camellia_256_ofb128            824
+subject_directory_attributes           825
+certificate_issuer             826
index 97b520d15084b79858289ab27f648480e906b678..aea67ebe84d67aee7de69a7ed911291141b23deb 100644 (file)
@@ -665,6 +665,8 @@ X500algorithms 3 100        : RSA-MDC2              : mdc2WithRSA
 X500algorithms 3 101   : MDC2                  : mdc2
 
 X500 29                        : id-ce
+!Cname subject-directory-attributes
+id-ce 9                        : subjectDirectoryAttributes : X509v3 Subject Directory Attributes
 !Cname subject-key-identifier
 id-ce 14               : subjectKeyIdentifier  : X509v3 Subject Key Identifier
 !Cname key-usage
@@ -686,7 +688,9 @@ id-ce 24            : invalidityDate        : Invalidity Date
 !Cname delta-crl
 id-ce 27               : deltaCRL              : X509v3 Delta CRL Indicator
 !Cname issuing-distribution-point
-id-ce 28       : issuingDistributionPoint : X509v3 Issuing Distrubution Point
+id-ce 28               : issuingDistributionPoint : X509v3 Issuing Distrubution Point
+!Cname certificate-issuer
+id-ce 29               : certificateIssuer     : X509v3 Certificate Issuer
 !Cname name-constraints
 id-ce 30               : nameConstraints       : X509v3 Name Constraints
 !Cname crl-distribution-points