From b5c5a9714197186013a181e8bfb829a2d24f8b04 Mon Sep 17 00:00:00 2001 From: Rich Salz Date: Tue, 2 Feb 2016 14:14:33 -0500 Subject: RT2353: Add ipsec IKE OID Reviewed-by: Dr. Stephen Henson --- crypto/objects/obj_dat.h | 16 +++++++++++----- crypto/objects/obj_mac.num | 1 + crypto/objects/objects.txt | 2 ++ 3 files changed, 14 insertions(+), 5 deletions(-) (limited to 'crypto/objects') diff --git a/crypto/objects/obj_dat.h b/crypto/objects/obj_dat.h index 6907bc3683..d91fb1817d 100644 --- a/crypto/objects/obj_dat.h +++ b/crypto/objects/obj_dat.h @@ -60,12 +60,12 @@ * [including the GNU Public Licence.] */ -#define NUM_NID 1022 -#define NUM_SN 1015 -#define NUM_LN 1015 -#define NUM_OBJ 937 +#define NUM_NID 1023 +#define NUM_SN 1016 +#define NUM_LN 1016 +#define NUM_OBJ 938 -static const unsigned char lvalues[6612]={ +static const unsigned char lvalues[6620]={ 0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 0] OBJ_rsadsi */ 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 6] OBJ_pkcs */ 0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x02, /* [ 13] OBJ_md2 */ @@ -997,6 +997,7 @@ static const unsigned char lvalues[6612]={ 0x2A,0x85,0x03,0x64,0x6F, /* [6593] OBJ_subjectSignTool */ 0x2A,0x85,0x03,0x64,0x70, /* [6598] OBJ_issuerSignTool */ 0x2B,0x06,0x01,0x05,0x05,0x07,0x01,0x18, /* [6603] OBJ_tlsfeature */ +0x2B,0x06,0x01,0x05,0x05,0x07,0x03,0x11, /* [6611] OBJ_ipsec_IKE */ }; static const ASN1_OBJECT nid_objs[NUM_NID]={ @@ -2670,6 +2671,8 @@ static const ASN1_OBJECT nid_objs[NUM_NID]={ {"ChaCha20","chacha20",NID_chacha20,0,NULL,0}, {"tlsfeature","TLS Feature",NID_tlsfeature,8,&(lvalues[6603]),0}, {"TLS1-PRF","tls1-prf",NID_tls1_prf,0,NULL,0}, +{"ipsecIKE","ipsec Internet Key Exchange",NID_ipsec_IKE,8, + &(lvalues[6611]),0}, }; static const unsigned int sn_objs[NUM_SN]={ @@ -3337,6 +3340,7 @@ static const unsigned int sn_objs[NUM_SN]={ 869, /* "internationaliSDNNumber" */ 142, /* "invalidityDate" */ 294, /* "ipsecEndSystem" */ +1022, /* "ipsecIKE" */ 295, /* "ipsecTunnel" */ 296, /* "ipsecUser" */ 86, /* "issuerAltName" */ @@ -4344,6 +4348,7 @@ static const unsigned int ln_objs[NUM_LN]={ 461, /* "info" */ 101, /* "initials" */ 869, /* "internationaliSDNNumber" */ +1022, /* "ipsec Internet Key Exchange" */ 749, /* "ipsec3" */ 750, /* "ipsec4" */ 181, /* "iso" */ @@ -5263,6 +5268,7 @@ static const unsigned int obj_objs[NUM_OBJ]={ 133, /* OBJ_time_stamp 1 3 6 1 5 5 7 3 8 */ 180, /* OBJ_OCSP_sign 1 3 6 1 5 5 7 3 9 */ 297, /* OBJ_dvcs 1 3 6 1 5 5 7 3 10 */ +1022, /* OBJ_ipsec_IKE 1 3 6 1 5 5 7 3 17 */ 298, /* OBJ_id_it_caProtEncCert 1 3 6 1 5 5 7 4 1 */ 299, /* OBJ_id_it_signKeyPairTypes 1 3 6 1 5 5 7 4 2 */ 300, /* OBJ_id_it_encKeyPairTypes 1 3 6 1 5 5 7 4 3 */ diff --git a/crypto/objects/obj_mac.num b/crypto/objects/obj_mac.num index 663e86c10c..2e54d3d261 100644 --- a/crypto/objects/obj_mac.num +++ b/crypto/objects/obj_mac.num @@ -1019,3 +1019,4 @@ chacha20_poly1305 1018 chacha20 1019 tlsfeature 1020 tls1_prf 1021 +ipsec_IKE 1022 diff --git a/crypto/objects/objects.txt b/crypto/objects/objects.txt index 1de8e79e5b..42175d9daf 100644 --- a/crypto/objects/objects.txt +++ b/crypto/objects/objects.txt @@ -497,6 +497,8 @@ id-kp 8 : timeStamping : Time Stamping !Cname OCSP-sign id-kp 9 : OCSPSigning : OCSP Signing id-kp 10 : DVCS : dvcs +!Cname ipsec-IKE +id-kp 17 : ipsecIKE : ipsec Internet Key Exchange # CMP information types id-it 1 : id-it-caProtEncCert -- cgit v1.2.3