diff options
author | Dr. Stephen Henson <steve@openssl.org> | 1999-03-27 14:06:25 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 1999-03-27 14:06:25 +0000 |
commit | 785cdf20482063a6b59c44825e33c1dee60217d2 (patch) | |
tree | 58f0d2c932ca955c34677b8cf61792748d2c0c53 /crypto/objects | |
parent | ba423addddbc43be1e3bddca727332a9bfe3cb46 (diff) |
Add initial support for Thawte strong extranet certificate extensions and
include an 'indent' option to V3 stuff.
Diffstat (limited to 'crypto/objects')
-rw-r--r-- | crypto/objects/obj_dat.h | 15 | ||||
-rw-r--r-- | crypto/objects/objects.h | 5 |
2 files changed, 15 insertions, 5 deletions
diff --git a/crypto/objects/obj_dat.h b/crypto/objects/obj_dat.h index 5362bad76f..b5dd338fbe 100644 --- a/crypto/objects/obj_dat.h +++ b/crypto/objects/obj_dat.h @@ -61,12 +61,12 @@ * perl obj_dat.pl < objects.h > obj_dat.h */ -#define NUM_NID 143 -#define NUM_SN 114 -#define NUM_LN 139 -#define NUM_OBJ 115 +#define NUM_NID 144 +#define NUM_SN 115 +#define NUM_LN 140 +#define NUM_OBJ 116 -static unsigned char lvalues[735]={ +static unsigned char lvalues[740]={ 0x00, /* [ 0] OBJ_undef */ 0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */ 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */ @@ -182,6 +182,7 @@ static unsigned char lvalues[735]={ 0x55,0x1D,0x1B, /* [725] OBJ_delta_crl */ 0x55,0x1D,0x15, /* [728] OBJ_crl_reason */ 0x55,0x1D,0x18, /* [731] OBJ_invalidity_date */ +0x2B,0x65,0x01,0x04,0x01, /* [734] OBJ_sxnet */ }; static ASN1_OBJECT nid_objs[NUM_NID]={ @@ -380,6 +381,7 @@ static ASN1_OBJECT nid_objs[NUM_NID]={ {"CRLReason","CRL Reason Code",NID_crl_reason,3,&(lvalues[728]),0}, {"invalidityDate","Invalidity Date",NID_invalidity_date,3, &(lvalues[731]),0}, +{"SXNetID","Strong Extranet ID",NID_sxnet,5,&(lvalues[734]),0}, }; static ASN1_OBJECT *sn_objs[NUM_SN]={ @@ -456,6 +458,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={ &(nid_objs[64]),/* "SHA1" */ &(nid_objs[105]),/* "SN" */ &(nid_objs[16]),/* "ST" */ +&(nid_objs[143]),/* "SXNetID" */ &(nid_objs[106]),/* "T" */ &(nid_objs[102]),/* "UID" */ &(nid_objs[ 0]),/* "UNDEF" */ @@ -522,6 +525,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={ &(nid_objs[73]),/* "Netscape Revocation Url" */ &(nid_objs[77]),/* "Netscape SSL Server Name" */ &(nid_objs[139]),/* "Netscape Server Gated Crypto" */ +&(nid_objs[143]),/* "Strong Extranet ID" */ &(nid_objs[130]),/* "TLS Web Client Authentication" */ &(nid_objs[129]),/* "TLS Web Server Authentication" */ &(nid_objs[133]),/* "Time Stamping" */ @@ -692,6 +696,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={ &(nid_objs[70]),/* OBJ_dsaWithSHA1_2 1 3 14 3 2 27 */ &(nid_objs[115]),/* OBJ_sha1WithRSA 1 3 14 3 2 29 */ &(nid_objs[117]),/* OBJ_ripemd160 1 3 36 3 2 1 */ +&(nid_objs[143]),/* OBJ_sxnet 1 3 101 1 4 1 */ &(nid_objs[ 1]),/* OBJ_rsadsi 1 2 840 113549 */ &(nid_objs[127]),/* OBJ_id_pkix 1 3 6 1 5 5 7 */ &(nid_objs[119]),/* OBJ_ripemd160WithRSA 1 3 36 3 3 1 2 */ diff --git a/crypto/objects/objects.h b/crypto/objects/objects.h index 6ee2d4ff2f..bc140ee6cb 100644 --- a/crypto/objects/objects.h +++ b/crypto/objects/objects.h @@ -754,6 +754,11 @@ extern "C" { #define NID_invalidity_date 142 #define OBJ_invalidity_date OBJ_ld_ce,24L +#define SN_sxnet "SXNetID" +#define LN_sxnet "Strong Extranet ID" +#define NID_sxnet 143 +#define OBJ_sxnet 1L,3L,101L,1L,4L,1L + #include "bio.h" #include "asn1.h" |