Update from stable branch... sync OIDs, add LMK support.
This commit is contained in:
parent
a302eb21b7
commit
ae2865a771
8 changed files with 906 additions and 19 deletions
|
@ -254,6 +254,7 @@ ERR_load_crypto_strings();
|
|||
BIO_printf(bio_err,"-keyform arg key file format (PEM or ENGINE)\n");
|
||||
BIO_printf(bio_err,"-signature file signature to verify\n");
|
||||
BIO_printf(bio_err,"-binary output in binary form\n");
|
||||
BIO_printf(bio_err,"-hmac key create hashed MAC with key\n");
|
||||
#ifndef OPENSSL_NO_ENGINE
|
||||
BIO_printf(bio_err,"-engine e use engine e, possibly a hardware device.\n");
|
||||
#endif
|
||||
|
|
|
@ -100,6 +100,7 @@ int MAIN(int argc, char **argv)
|
|||
char **args;
|
||||
char *name = NULL;
|
||||
char *csp_name = NULL;
|
||||
int add_lmk = 0;
|
||||
PKCS12 *p12 = NULL;
|
||||
char pass[50], macpass[50];
|
||||
int export_cert = 0;
|
||||
|
@ -231,7 +232,9 @@ int MAIN(int argc, char **argv)
|
|||
args++;
|
||||
name = *args;
|
||||
} else badarg = 1;
|
||||
} else if (!strcmp (*args, "-CSP")) {
|
||||
} else if (!strcmp (*args, "-LMK"))
|
||||
add_lmk = 1;
|
||||
else if (!strcmp (*args, "-CSP")) {
|
||||
if (args[1]) {
|
||||
args++;
|
||||
csp_name = *args;
|
||||
|
@ -345,6 +348,8 @@ int MAIN(int argc, char **argv)
|
|||
BIO_printf(bio_err, "-rand file%cfile%c...\n", LIST_SEPARATOR_CHAR, LIST_SEPARATOR_CHAR);
|
||||
BIO_printf(bio_err, " load the file (or the files in the directory) into\n");
|
||||
BIO_printf(bio_err, " the random number generator\n");
|
||||
BIO_printf(bio_err, "-CSP name Microsoft CSP name\n");
|
||||
BIO_printf(bio_err, "-LMK Add local machine keyset attribute to private key\n");
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
@ -569,7 +574,9 @@ int MAIN(int argc, char **argv)
|
|||
if (csp_name && key)
|
||||
EVP_PKEY_add1_attr_by_NID(key, NID_ms_csp_name,
|
||||
MBSTRING_ASC, (unsigned char *)csp_name, -1);
|
||||
|
||||
|
||||
if (add_lmk && key)
|
||||
EVP_PKEY_add1_attr_by_NID(key, NID_LocalKeySet, 0, NULL, -1);
|
||||
|
||||
#ifdef CRYPTO_MDEBUG
|
||||
CRYPTO_pop_info();
|
||||
|
|
|
@ -62,12 +62,12 @@
|
|||
* [including the GNU Public Licence.]
|
||||
*/
|
||||
|
||||
#define NUM_NID 791
|
||||
#define NUM_SN 784
|
||||
#define NUM_LN 784
|
||||
#define NUM_OBJ 740
|
||||
#define NUM_NID 857
|
||||
#define NUM_SN 850
|
||||
#define NUM_LN 850
|
||||
#define NUM_OBJ 804
|
||||
|
||||
static unsigned char lvalues[5258]={
|
||||
static unsigned char lvalues[5711]={
|
||||
0x00, /* [ 0] OBJ_undef */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D, /* [ 1] OBJ_rsadsi */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x01, /* [ 7] OBJ_pkcs */
|
||||
|
@ -808,6 +808,70 @@ static unsigned char lvalues[5258]={
|
|||
0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x01,0x05,/* [5230] OBJ_id_aes128_wrap */
|
||||
0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x01,0x19,/* [5239] OBJ_id_aes192_wrap */
|
||||
0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x01,0x2D,/* [5248] OBJ_id_aes256_wrap */
|
||||
0x2A,0x86,0x48,0xCE,0x3D,0x04,0x02, /* [5257] OBJ_ecdsa_with_Recommended */
|
||||
0x2A,0x86,0x48,0xCE,0x3D,0x04,0x03, /* [5264] OBJ_ecdsa_with_Specified */
|
||||
0x2A,0x86,0x48,0xCE,0x3D,0x04,0x03,0x01, /* [5271] OBJ_ecdsa_with_SHA224 */
|
||||
0x2A,0x86,0x48,0xCE,0x3D,0x04,0x03,0x02, /* [5279] OBJ_ecdsa_with_SHA256 */
|
||||
0x2A,0x86,0x48,0xCE,0x3D,0x04,0x03,0x03, /* [5287] OBJ_ecdsa_with_SHA384 */
|
||||
0x2A,0x86,0x48,0xCE,0x3D,0x04,0x03,0x04, /* [5295] OBJ_ecdsa_with_SHA512 */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x06, /* [5303] OBJ_hmacWithMD5 */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x08, /* [5311] OBJ_hmacWithSHA224 */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x09, /* [5319] OBJ_hmacWithSHA256 */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x0A, /* [5327] OBJ_hmacWithSHA384 */
|
||||
0x2A,0x86,0x48,0x86,0xF7,0x0D,0x02,0x0B, /* [5335] OBJ_hmacWithSHA512 */
|
||||
0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x03,0x01,/* [5343] OBJ_dsa_with_SHA224 */
|
||||
0x60,0x86,0x48,0x01,0x65,0x03,0x04,0x03,0x02,/* [5352] OBJ_dsa_with_SHA256 */
|
||||
0x28,0xCF,0x06,0x03,0x00,0x37, /* [5361] OBJ_whirlpool */
|
||||
0x2A,0x85,0x03,0x02,0x02, /* [5367] OBJ_cryptopro */
|
||||
0x2A,0x85,0x03,0x02,0x09, /* [5372] OBJ_cryptocom */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x03, /* [5377] OBJ_id_GostR3411_94_with_GostR3410_2001 */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x04, /* [5383] OBJ_id_GostR3411_94_with_GostR3410_94 */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x09, /* [5389] OBJ_id_GostR3411_94 */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x0A, /* [5395] OBJ_id_HMACGostR3411_94 */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x13, /* [5401] OBJ_id_GostR3410_2001 */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x14, /* [5407] OBJ_id_GostR3410_94 */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x15, /* [5413] OBJ_id_Gost28147_89 */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x16, /* [5419] OBJ_id_Gost28147_89_MAC */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x17, /* [5425] OBJ_id_GostR3411_94_prf */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x62, /* [5431] OBJ_id_GostR3410_2001DH */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x63, /* [5437] OBJ_id_GostR3410_94DH */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x0E,0x01, /* [5443] OBJ_id_Gost28147_89_CryptoPro_KeyMeshing */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x0E,0x00, /* [5450] OBJ_id_Gost28147_89_None_KeyMeshing */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x1E,0x00, /* [5457] OBJ_id_GostR3411_94_TestParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x1E,0x01, /* [5464] OBJ_id_GostR3411_94_CryptoProParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x1F,0x00, /* [5471] OBJ_id_Gost28147_89_TestParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x1F,0x01, /* [5478] OBJ_id_Gost28147_89_CryptoPro_A_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x1F,0x02, /* [5485] OBJ_id_Gost28147_89_CryptoPro_B_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x1F,0x03, /* [5492] OBJ_id_Gost28147_89_CryptoPro_C_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x1F,0x04, /* [5499] OBJ_id_Gost28147_89_CryptoPro_D_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x1F,0x05, /* [5506] OBJ_id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x1F,0x06, /* [5513] OBJ_id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x1F,0x07, /* [5520] OBJ_id_Gost28147_89_CryptoPro_RIC_1_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x20,0x00, /* [5527] OBJ_id_GostR3410_94_TestParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x20,0x02, /* [5534] OBJ_id_GostR3410_94_CryptoPro_A_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x20,0x03, /* [5541] OBJ_id_GostR3410_94_CryptoPro_B_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x20,0x04, /* [5548] OBJ_id_GostR3410_94_CryptoPro_C_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x20,0x05, /* [5555] OBJ_id_GostR3410_94_CryptoPro_D_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x21,0x01, /* [5562] OBJ_id_GostR3410_94_CryptoPro_XchA_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x21,0x02, /* [5569] OBJ_id_GostR3410_94_CryptoPro_XchB_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x21,0x03, /* [5576] OBJ_id_GostR3410_94_CryptoPro_XchC_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x23,0x00, /* [5583] OBJ_id_GostR3410_2001_TestParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x23,0x01, /* [5590] OBJ_id_GostR3410_2001_CryptoPro_A_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x23,0x02, /* [5597] OBJ_id_GostR3410_2001_CryptoPro_B_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x23,0x03, /* [5604] OBJ_id_GostR3410_2001_CryptoPro_C_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x24,0x00, /* [5611] OBJ_id_GostR3410_2001_CryptoPro_XchA_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x24,0x01, /* [5618] OBJ_id_GostR3410_2001_CryptoPro_XchB_ParamSet */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x14,0x01, /* [5625] OBJ_id_GostR3410_94_a */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x14,0x02, /* [5632] OBJ_id_GostR3410_94_aBis */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x14,0x03, /* [5639] OBJ_id_GostR3410_94_b */
|
||||
0x2A,0x85,0x03,0x02,0x02,0x14,0x04, /* [5646] OBJ_id_GostR3410_94_bBis */
|
||||
0x2A,0x85,0x03,0x02,0x09,0x01,0x06,0x01, /* [5653] OBJ_id_Gost28147_89_cc */
|
||||
0x2A,0x85,0x03,0x02,0x09,0x01,0x05,0x03, /* [5661] OBJ_id_GostR3410_94_cc */
|
||||
0x2A,0x85,0x03,0x02,0x09,0x01,0x05,0x04, /* [5669] OBJ_id_GostR3410_2001_cc */
|
||||
0x2A,0x85,0x03,0x02,0x09,0x01,0x03,0x03, /* [5677] OBJ_id_GostR3411_94_with_GostR3410_94_cc */
|
||||
0x2A,0x85,0x03,0x02,0x09,0x01,0x03,0x04, /* [5685] OBJ_id_GostR3411_94_with_GostR3410_2001_cc */
|
||||
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 */
|
||||
};
|
||||
|
||||
static ASN1_OBJECT nid_objs[NUM_NID]={
|
||||
|
@ -2039,6 +2103,159 @@ static ASN1_OBJECT nid_objs[NUM_NID]={
|
|||
&(lvalues[5239]),0},
|
||||
{"id-aes256-wrap","id-aes256-wrap",NID_id_aes256_wrap,9,
|
||||
&(lvalues[5248]),0},
|
||||
{"ecdsa-with-Recommended","ecdsa-with-Recommended",
|
||||
NID_ecdsa_with_Recommended,7,&(lvalues[5257]),0},
|
||||
{"ecdsa-with-Specified","ecdsa-with-Specified",
|
||||
NID_ecdsa_with_Specified,7,&(lvalues[5264]),0},
|
||||
{"ecdsa-with-SHA224","ecdsa-with-SHA224",NID_ecdsa_with_SHA224,8,
|
||||
&(lvalues[5271]),0},
|
||||
{"ecdsa-with-SHA256","ecdsa-with-SHA256",NID_ecdsa_with_SHA256,8,
|
||||
&(lvalues[5279]),0},
|
||||
{"ecdsa-with-SHA384","ecdsa-with-SHA384",NID_ecdsa_with_SHA384,8,
|
||||
&(lvalues[5287]),0},
|
||||
{"ecdsa-with-SHA512","ecdsa-with-SHA512",NID_ecdsa_with_SHA512,8,
|
||||
&(lvalues[5295]),0},
|
||||
{"hmacWithMD5","hmacWithMD5",NID_hmacWithMD5,8,&(lvalues[5303]),0},
|
||||
{"hmacWithSHA224","hmacWithSHA224",NID_hmacWithSHA224,8,
|
||||
&(lvalues[5311]),0},
|
||||
{"hmacWithSHA256","hmacWithSHA256",NID_hmacWithSHA256,8,
|
||||
&(lvalues[5319]),0},
|
||||
{"hmacWithSHA384","hmacWithSHA384",NID_hmacWithSHA384,8,
|
||||
&(lvalues[5327]),0},
|
||||
{"hmacWithSHA512","hmacWithSHA512",NID_hmacWithSHA512,8,
|
||||
&(lvalues[5335]),0},
|
||||
{"dsa_with_SHA224","dsa_with_SHA224",NID_dsa_with_SHA224,9,
|
||||
&(lvalues[5343]),0},
|
||||
{"dsa_with_SHA256","dsa_with_SHA256",NID_dsa_with_SHA256,9,
|
||||
&(lvalues[5352]),0},
|
||||
{"whirlpool","whirlpool",NID_whirlpool,6,&(lvalues[5361]),0},
|
||||
{"cryptopro","cryptopro",NID_cryptopro,5,&(lvalues[5367]),0},
|
||||
{"cryptocom","cryptocom",NID_cryptocom,5,&(lvalues[5372]),0},
|
||||
{"id-GostR3411-94-with-GostR3410-2001",
|
||||
"GOST R 34.11-94 with GOST R 34.10-2001",
|
||||
NID_id_GostR3411_94_with_GostR3410_2001,6,&(lvalues[5377]),0},
|
||||
{"id-GostR3411-94-with-GostR3410-94",
|
||||
"GOST R 34.11-94 with GOST R 34.10-94",
|
||||
NID_id_GostR3411_94_with_GostR3410_94,6,&(lvalues[5383]),0},
|
||||
{"md_gost94","GOST R 34.11-94",NID_id_GostR3411_94,6,&(lvalues[5389]),0},
|
||||
{"id-HMACGostR3411-94","HMAC GOST 34.11-94",NID_id_HMACGostR3411_94,6,
|
||||
&(lvalues[5395]),0},
|
||||
{"gost2001","GOST R 34.10-2001",NID_id_GostR3410_2001,6,
|
||||
&(lvalues[5401]),0},
|
||||
{"gost94","GOST R 34.10-94",NID_id_GostR3410_94,6,&(lvalues[5407]),0},
|
||||
{"gost89","GOST 28147-89",NID_id_Gost28147_89,6,&(lvalues[5413]),0},
|
||||
{"gost89-cnt","gost89-cnt",NID_gost89_cnt,0,NULL,0},
|
||||
{"gost-mac","GOST 28147-89 MAC",NID_id_Gost28147_89_MAC,6,
|
||||
&(lvalues[5419]),0},
|
||||
{"prf-gostr3411-94","GOST R 34.11-94 PRF",NID_id_GostR3411_94_prf,6,
|
||||
&(lvalues[5425]),0},
|
||||
{"id-GostR3410-2001DH","GOST R 34.10-2001 DH",NID_id_GostR3410_2001DH,
|
||||
6,&(lvalues[5431]),0},
|
||||
{"id-GostR3410-94DH","GOST R 34.10-94 DH",NID_id_GostR3410_94DH,6,
|
||||
&(lvalues[5437]),0},
|
||||
{"id-Gost28147-89-CryptoPro-KeyMeshing",
|
||||
"id-Gost28147-89-CryptoPro-KeyMeshing",
|
||||
NID_id_Gost28147_89_CryptoPro_KeyMeshing,7,&(lvalues[5443]),0},
|
||||
{"id-Gost28147-89-None-KeyMeshing","id-Gost28147-89-None-KeyMeshing",
|
||||
NID_id_Gost28147_89_None_KeyMeshing,7,&(lvalues[5450]),0},
|
||||
{"id-GostR3411-94-TestParamSet","id-GostR3411-94-TestParamSet",
|
||||
NID_id_GostR3411_94_TestParamSet,7,&(lvalues[5457]),0},
|
||||
{"id-GostR3411-94-CryptoProParamSet",
|
||||
"id-GostR3411-94-CryptoProParamSet",
|
||||
NID_id_GostR3411_94_CryptoProParamSet,7,&(lvalues[5464]),0},
|
||||
{"id-Gost28147-89-TestParamSet","id-Gost28147-89-TestParamSet",
|
||||
NID_id_Gost28147_89_TestParamSet,7,&(lvalues[5471]),0},
|
||||
{"id-Gost28147-89-CryptoPro-A-ParamSet",
|
||||
"id-Gost28147-89-CryptoPro-A-ParamSet",
|
||||
NID_id_Gost28147_89_CryptoPro_A_ParamSet,7,&(lvalues[5478]),0},
|
||||
{"id-Gost28147-89-CryptoPro-B-ParamSet",
|
||||
"id-Gost28147-89-CryptoPro-B-ParamSet",
|
||||
NID_id_Gost28147_89_CryptoPro_B_ParamSet,7,&(lvalues[5485]),0},
|
||||
{"id-Gost28147-89-CryptoPro-C-ParamSet",
|
||||
"id-Gost28147-89-CryptoPro-C-ParamSet",
|
||||
NID_id_Gost28147_89_CryptoPro_C_ParamSet,7,&(lvalues[5492]),0},
|
||||
{"id-Gost28147-89-CryptoPro-D-ParamSet",
|
||||
"id-Gost28147-89-CryptoPro-D-ParamSet",
|
||||
NID_id_Gost28147_89_CryptoPro_D_ParamSet,7,&(lvalues[5499]),0},
|
||||
{"id-Gost28147-89-CryptoPro-Oscar-1-1-ParamSet",
|
||||
"id-Gost28147-89-CryptoPro-Oscar-1-1-ParamSet",
|
||||
NID_id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet,7,&(lvalues[5506]),
|
||||
0},
|
||||
{"id-Gost28147-89-CryptoPro-Oscar-1-0-ParamSet",
|
||||
"id-Gost28147-89-CryptoPro-Oscar-1-0-ParamSet",
|
||||
NID_id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet,7,&(lvalues[5513]),
|
||||
0},
|
||||
{"id-Gost28147-89-CryptoPro-RIC-1-ParamSet",
|
||||
"id-Gost28147-89-CryptoPro-RIC-1-ParamSet",
|
||||
NID_id_Gost28147_89_CryptoPro_RIC_1_ParamSet,7,&(lvalues[5520]),0},
|
||||
{"id-GostR3410-94-TestParamSet","id-GostR3410-94-TestParamSet",
|
||||
NID_id_GostR3410_94_TestParamSet,7,&(lvalues[5527]),0},
|
||||
{"id-GostR3410-94-CryptoPro-A-ParamSet",
|
||||
"id-GostR3410-94-CryptoPro-A-ParamSet",
|
||||
NID_id_GostR3410_94_CryptoPro_A_ParamSet,7,&(lvalues[5534]),0},
|
||||
{"id-GostR3410-94-CryptoPro-B-ParamSet",
|
||||
"id-GostR3410-94-CryptoPro-B-ParamSet",
|
||||
NID_id_GostR3410_94_CryptoPro_B_ParamSet,7,&(lvalues[5541]),0},
|
||||
{"id-GostR3410-94-CryptoPro-C-ParamSet",
|
||||
"id-GostR3410-94-CryptoPro-C-ParamSet",
|
||||
NID_id_GostR3410_94_CryptoPro_C_ParamSet,7,&(lvalues[5548]),0},
|
||||
{"id-GostR3410-94-CryptoPro-D-ParamSet",
|
||||
"id-GostR3410-94-CryptoPro-D-ParamSet",
|
||||
NID_id_GostR3410_94_CryptoPro_D_ParamSet,7,&(lvalues[5555]),0},
|
||||
{"id-GostR3410-94-CryptoPro-XchA-ParamSet",
|
||||
"id-GostR3410-94-CryptoPro-XchA-ParamSet",
|
||||
NID_id_GostR3410_94_CryptoPro_XchA_ParamSet,7,&(lvalues[5562]),0},
|
||||
{"id-GostR3410-94-CryptoPro-XchB-ParamSet",
|
||||
"id-GostR3410-94-CryptoPro-XchB-ParamSet",
|
||||
NID_id_GostR3410_94_CryptoPro_XchB_ParamSet,7,&(lvalues[5569]),0},
|
||||
{"id-GostR3410-94-CryptoPro-XchC-ParamSet",
|
||||
"id-GostR3410-94-CryptoPro-XchC-ParamSet",
|
||||
NID_id_GostR3410_94_CryptoPro_XchC_ParamSet,7,&(lvalues[5576]),0},
|
||||
{"id-GostR3410-2001-TestParamSet","id-GostR3410-2001-TestParamSet",
|
||||
NID_id_GostR3410_2001_TestParamSet,7,&(lvalues[5583]),0},
|
||||
{"id-GostR3410-2001-CryptoPro-A-ParamSet",
|
||||
"id-GostR3410-2001-CryptoPro-A-ParamSet",
|
||||
NID_id_GostR3410_2001_CryptoPro_A_ParamSet,7,&(lvalues[5590]),0},
|
||||
{"id-GostR3410-2001-CryptoPro-B-ParamSet",
|
||||
"id-GostR3410-2001-CryptoPro-B-ParamSet",
|
||||
NID_id_GostR3410_2001_CryptoPro_B_ParamSet,7,&(lvalues[5597]),0},
|
||||
{"id-GostR3410-2001-CryptoPro-C-ParamSet",
|
||||
"id-GostR3410-2001-CryptoPro-C-ParamSet",
|
||||
NID_id_GostR3410_2001_CryptoPro_C_ParamSet,7,&(lvalues[5604]),0},
|
||||
{"id-GostR3410-2001-CryptoPro-XchA-ParamSet",
|
||||
"id-GostR3410-2001-CryptoPro-XchA-ParamSet",
|
||||
NID_id_GostR3410_2001_CryptoPro_XchA_ParamSet,7,&(lvalues[5611]),0},
|
||||
|
||||
{"id-GostR3410-2001-CryptoPro-XchB-ParamSet",
|
||||
"id-GostR3410-2001-CryptoPro-XchB-ParamSet",
|
||||
NID_id_GostR3410_2001_CryptoPro_XchB_ParamSet,7,&(lvalues[5618]),0},
|
||||
|
||||
{"id-GostR3410-94-a","id-GostR3410-94-a",NID_id_GostR3410_94_a,7,
|
||||
&(lvalues[5625]),0},
|
||||
{"id-GostR3410-94-aBis","id-GostR3410-94-aBis",
|
||||
NID_id_GostR3410_94_aBis,7,&(lvalues[5632]),0},
|
||||
{"id-GostR3410-94-b","id-GostR3410-94-b",NID_id_GostR3410_94_b,7,
|
||||
&(lvalues[5639]),0},
|
||||
{"id-GostR3410-94-bBis","id-GostR3410-94-bBis",
|
||||
NID_id_GostR3410_94_bBis,7,&(lvalues[5646]),0},
|
||||
{"id-Gost28147-89-cc","GOST 28147-89 Cryptocom ParamSet",
|
||||
NID_id_Gost28147_89_cc,8,&(lvalues[5653]),0},
|
||||
{"gost94cc","GOST 34.10-94 Cryptocom",NID_id_GostR3410_94_cc,8,
|
||||
&(lvalues[5661]),0},
|
||||
{"gost2001cc","GOST 34.10-2001 Cryptocom",NID_id_GostR3410_2001_cc,8,
|
||||
&(lvalues[5669]),0},
|
||||
{"id-GostR3411-94-with-GostR3410-94-cc",
|
||||
"GOST R 34.11-94 with GOST R 34.10-94 Cryptocom",
|
||||
NID_id_GostR3411_94_with_GostR3410_94_cc,8,&(lvalues[5677]),0},
|
||||
{"id-GostR3411-94-with-GostR3410-2001-cc",
|
||||
"GOST R 34.11-94 with GOST R 34.10-2001 Cryptocom",
|
||||
NID_id_GostR3411_94_with_GostR3410_2001_cc,8,&(lvalues[5685]),0},
|
||||
{"id-GostR3410-2001-ParamSet-cc",
|
||||
"GOST R 3410-2001 Parameter Set Cryptocom",
|
||||
NID_id_GostR3410_2001_ParamSet_cc,8,&(lvalues[5693]),0},
|
||||
{"HMAC","hmac",NID_hmac,0,NULL,0},
|
||||
{"LocalKeySet","Microsoft Local Key set",NID_LocalKeySet,9,
|
||||
&(lvalues[5701]),0},
|
||||
};
|
||||
|
||||
static ASN1_OBJECT *sn_objs[NUM_SN]={
|
||||
|
@ -2119,6 +2336,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
|
|||
&(nid_objs[67]),/* "DSA-old" */
|
||||
&(nid_objs[297]),/* "DVCS" */
|
||||
&(nid_objs[99]),/* "GN" */
|
||||
&(nid_objs[855]),/* "HMAC" */
|
||||
&(nid_objs[780]),/* "HMAC-MD5" */
|
||||
&(nid_objs[781]),/* "HMAC-SHA1" */
|
||||
&(nid_objs[381]),/* "IANA" */
|
||||
|
@ -2132,6 +2350,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
|
|||
&(nid_objs[646]),/* "JOINT-ISO-ITU-T" */
|
||||
&(nid_objs[773]),/* "KISA" */
|
||||
&(nid_objs[15]),/* "L" */
|
||||
&(nid_objs[856]),/* "LocalKeySet" */
|
||||
&(nid_objs[ 3]),/* "MD2" */
|
||||
&(nid_objs[257]),/* "MD4" */
|
||||
&(nid_objs[ 4]),/* "MD5" */
|
||||
|
@ -2275,6 +2494,8 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
|
|||
&(nid_objs[153]),/* "crlBag" */
|
||||
&(nid_objs[103]),/* "crlDistributionPoints" */
|
||||
&(nid_objs[88]),/* "crlNumber" */
|
||||
&(nid_objs[806]),/* "cryptocom" */
|
||||
&(nid_objs[805]),/* "cryptopro" */
|
||||
&(nid_objs[500]),/* "dITRedirect" */
|
||||
&(nid_objs[451]),/* "dNSDomain" */
|
||||
&(nid_objs[495]),/* "dSAQuality" */
|
||||
|
@ -2295,7 +2516,15 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
|
|||
&(nid_objs[470]),/* "documentVersion" */
|
||||
&(nid_objs[392]),/* "domain" */
|
||||
&(nid_objs[452]),/* "domainRelatedObject" */
|
||||
&(nid_objs[802]),/* "dsa_with_SHA224" */
|
||||
&(nid_objs[803]),/* "dsa_with_SHA256" */
|
||||
&(nid_objs[791]),/* "ecdsa-with-Recommended" */
|
||||
&(nid_objs[416]),/* "ecdsa-with-SHA1" */
|
||||
&(nid_objs[793]),/* "ecdsa-with-SHA224" */
|
||||
&(nid_objs[794]),/* "ecdsa-with-SHA256" */
|
||||
&(nid_objs[795]),/* "ecdsa-with-SHA384" */
|
||||
&(nid_objs[796]),/* "ecdsa-with-SHA512" */
|
||||
&(nid_objs[792]),/* "ecdsa-with-Specified" */
|
||||
&(nid_objs[48]),/* "emailAddress" */
|
||||
&(nid_objs[132]),/* "emailProtection" */
|
||||
&(nid_objs[389]),/* "enterprises" */
|
||||
|
@ -2309,7 +2538,19 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
|
|||
&(nid_objs[490]),/* "friendlyCountryName" */
|
||||
&(nid_objs[156]),/* "friendlyName" */
|
||||
&(nid_objs[509]),/* "generationQualifier" */
|
||||
&(nid_objs[815]),/* "gost-mac" */
|
||||
&(nid_objs[811]),/* "gost2001" */
|
||||
&(nid_objs[851]),/* "gost2001cc" */
|
||||
&(nid_objs[813]),/* "gost89" */
|
||||
&(nid_objs[814]),/* "gost89-cnt" */
|
||||
&(nid_objs[812]),/* "gost94" */
|
||||
&(nid_objs[850]),/* "gost94cc" */
|
||||
&(nid_objs[797]),/* "hmacWithMD5" */
|
||||
&(nid_objs[163]),/* "hmacWithSHA1" */
|
||||
&(nid_objs[798]),/* "hmacWithSHA224" */
|
||||
&(nid_objs[799]),/* "hmacWithSHA256" */
|
||||
&(nid_objs[800]),/* "hmacWithSHA384" */
|
||||
&(nid_objs[801]),/* "hmacWithSHA512" */
|
||||
&(nid_objs[432]),/* "holdInstructionCallIssuer" */
|
||||
&(nid_objs[430]),/* "holdInstructionCode" */
|
||||
&(nid_objs[431]),/* "holdInstructionNone" */
|
||||
|
@ -2319,6 +2560,45 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
|
|||
&(nid_objs[466]),/* "host" */
|
||||
&(nid_objs[442]),/* "iA5StringSyntax" */
|
||||
&(nid_objs[783]),/* "id-DHBasedMac" */
|
||||
&(nid_objs[824]),/* "id-Gost28147-89-CryptoPro-A-ParamSet" */
|
||||
&(nid_objs[825]),/* "id-Gost28147-89-CryptoPro-B-ParamSet" */
|
||||
&(nid_objs[826]),/* "id-Gost28147-89-CryptoPro-C-ParamSet" */
|
||||
&(nid_objs[827]),/* "id-Gost28147-89-CryptoPro-D-ParamSet" */
|
||||
&(nid_objs[819]),/* "id-Gost28147-89-CryptoPro-KeyMeshing" */
|
||||
&(nid_objs[829]),/* "id-Gost28147-89-CryptoPro-Oscar-1-0-ParamSet" */
|
||||
&(nid_objs[828]),/* "id-Gost28147-89-CryptoPro-Oscar-1-1-ParamSet" */
|
||||
&(nid_objs[830]),/* "id-Gost28147-89-CryptoPro-RIC-1-ParamSet" */
|
||||
&(nid_objs[820]),/* "id-Gost28147-89-None-KeyMeshing" */
|
||||
&(nid_objs[823]),/* "id-Gost28147-89-TestParamSet" */
|
||||
&(nid_objs[849]),/* "id-Gost28147-89-cc" */
|
||||
&(nid_objs[840]),/* "id-GostR3410-2001-CryptoPro-A-ParamSet" */
|
||||
&(nid_objs[841]),/* "id-GostR3410-2001-CryptoPro-B-ParamSet" */
|
||||
&(nid_objs[842]),/* "id-GostR3410-2001-CryptoPro-C-ParamSet" */
|
||||
&(nid_objs[843]),/* "id-GostR3410-2001-CryptoPro-XchA-ParamSet" */
|
||||
&(nid_objs[844]),/* "id-GostR3410-2001-CryptoPro-XchB-ParamSet" */
|
||||
&(nid_objs[854]),/* "id-GostR3410-2001-ParamSet-cc" */
|
||||
&(nid_objs[839]),/* "id-GostR3410-2001-TestParamSet" */
|
||||
&(nid_objs[817]),/* "id-GostR3410-2001DH" */
|
||||
&(nid_objs[832]),/* "id-GostR3410-94-CryptoPro-A-ParamSet" */
|
||||
&(nid_objs[833]),/* "id-GostR3410-94-CryptoPro-B-ParamSet" */
|
||||
&(nid_objs[834]),/* "id-GostR3410-94-CryptoPro-C-ParamSet" */
|
||||
&(nid_objs[835]),/* "id-GostR3410-94-CryptoPro-D-ParamSet" */
|
||||
&(nid_objs[836]),/* "id-GostR3410-94-CryptoPro-XchA-ParamSet" */
|
||||
&(nid_objs[837]),/* "id-GostR3410-94-CryptoPro-XchB-ParamSet" */
|
||||
&(nid_objs[838]),/* "id-GostR3410-94-CryptoPro-XchC-ParamSet" */
|
||||
&(nid_objs[831]),/* "id-GostR3410-94-TestParamSet" */
|
||||
&(nid_objs[845]),/* "id-GostR3410-94-a" */
|
||||
&(nid_objs[846]),/* "id-GostR3410-94-aBis" */
|
||||
&(nid_objs[847]),/* "id-GostR3410-94-b" */
|
||||
&(nid_objs[848]),/* "id-GostR3410-94-bBis" */
|
||||
&(nid_objs[818]),/* "id-GostR3410-94DH" */
|
||||
&(nid_objs[822]),/* "id-GostR3411-94-CryptoProParamSet" */
|
||||
&(nid_objs[821]),/* "id-GostR3411-94-TestParamSet" */
|
||||
&(nid_objs[807]),/* "id-GostR3411-94-with-GostR3410-2001" */
|
||||
&(nid_objs[853]),/* "id-GostR3411-94-with-GostR3410-2001-cc" */
|
||||
&(nid_objs[808]),/* "id-GostR3411-94-with-GostR3410-94" */
|
||||
&(nid_objs[852]),/* "id-GostR3411-94-with-GostR3410-94-cc" */
|
||||
&(nid_objs[810]),/* "id-HMACGostR3411-94" */
|
||||
&(nid_objs[782]),/* "id-PasswordBasedMAC" */
|
||||
&(nid_objs[266]),/* "id-aca" */
|
||||
&(nid_objs[355]),/* "id-aca-accessIdentity" */
|
||||
|
@ -2522,6 +2802,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
|
|||
&(nid_objs[460]),/* "mail" */
|
||||
&(nid_objs[493]),/* "mailPreferenceOption" */
|
||||
&(nid_objs[467]),/* "manager" */
|
||||
&(nid_objs[809]),/* "md_gost94" */
|
||||
&(nid_objs[182]),/* "member-body" */
|
||||
&(nid_objs[51]),/* "messageDigest" */
|
||||
&(nid_objs[383]),/* "mgmt" */
|
||||
|
@ -2590,6 +2871,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
|
|||
&(nid_objs[747]),/* "policyMappings" */
|
||||
&(nid_objs[661]),/* "postalCode" */
|
||||
&(nid_objs[683]),/* "ppBasis" */
|
||||
&(nid_objs[816]),/* "prf-gostr3411-94" */
|
||||
&(nid_objs[406]),/* "prime-field" */
|
||||
&(nid_objs[409]),/* "prime192v1" */
|
||||
&(nid_objs[410]),/* "prime192v2" */
|
||||
|
@ -2823,6 +3105,7 @@ static ASN1_OBJECT *sn_objs[NUM_SN]={
|
|||
&(nid_objs[740]),/* "wap-wsg-idm-ecid-wtls7" */
|
||||
&(nid_objs[741]),/* "wap-wsg-idm-ecid-wtls8" */
|
||||
&(nid_objs[742]),/* "wap-wsg-idm-ecid-wtls9" */
|
||||
&(nid_objs[804]),/* "whirlpool" */
|
||||
&(nid_objs[503]),/* "x500UniqueIdentifier" */
|
||||
&(nid_objs[158]),/* "x509Certificate" */
|
||||
&(nid_objs[160]),/* "x509Crl" */
|
||||
|
@ -2847,6 +3130,23 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
|
|||
&(nid_objs[384]),/* "Experimental" */
|
||||
&(nid_objs[372]),/* "Extended OCSP Status" */
|
||||
&(nid_objs[172]),/* "Extension Request" */
|
||||
&(nid_objs[813]),/* "GOST 28147-89" */
|
||||
&(nid_objs[849]),/* "GOST 28147-89 Cryptocom ParamSet" */
|
||||
&(nid_objs[815]),/* "GOST 28147-89 MAC" */
|
||||
&(nid_objs[851]),/* "GOST 34.10-2001 Cryptocom" */
|
||||
&(nid_objs[850]),/* "GOST 34.10-94 Cryptocom" */
|
||||
&(nid_objs[811]),/* "GOST R 34.10-2001" */
|
||||
&(nid_objs[817]),/* "GOST R 34.10-2001 DH" */
|
||||
&(nid_objs[812]),/* "GOST R 34.10-94" */
|
||||
&(nid_objs[818]),/* "GOST R 34.10-94 DH" */
|
||||
&(nid_objs[809]),/* "GOST R 34.11-94" */
|
||||
&(nid_objs[816]),/* "GOST R 34.11-94 PRF" */
|
||||
&(nid_objs[807]),/* "GOST R 34.11-94 with GOST R 34.10-2001" */
|
||||
&(nid_objs[853]),/* "GOST R 34.11-94 with GOST R 34.10-2001 Cryptocom" */
|
||||
&(nid_objs[808]),/* "GOST R 34.11-94 with GOST R 34.10-94" */
|
||||
&(nid_objs[852]),/* "GOST R 34.11-94 with GOST R 34.10-94 Cryptocom" */
|
||||
&(nid_objs[854]),/* "GOST R 3410-2001 Parameter Set Cryptocom" */
|
||||
&(nid_objs[810]),/* "HMAC GOST 34.11-94" */
|
||||
&(nid_objs[432]),/* "Hold Instruction Call Issuer" */
|
||||
&(nid_objs[430]),/* "Hold Instruction Code" */
|
||||
&(nid_objs[431]),/* "Hold Instruction None" */
|
||||
|
@ -2869,6 +3169,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
|
|||
&(nid_objs[138]),/* "Microsoft Encrypted File System" */
|
||||
&(nid_objs[171]),/* "Microsoft Extension Request" */
|
||||
&(nid_objs[134]),/* "Microsoft Individual Code Signing" */
|
||||
&(nid_objs[856]),/* "Microsoft Local Key set" */
|
||||
&(nid_objs[137]),/* "Microsoft Server Gated Crypto" */
|
||||
&(nid_objs[648]),/* "Microsoft Smartcardlogin" */
|
||||
&(nid_objs[136]),/* "Microsoft Trust List Signing" */
|
||||
|
@ -3035,6 +3336,8 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
|
|||
&(nid_objs[53]),/* "countersignature" */
|
||||
&(nid_objs[14]),/* "countryName" */
|
||||
&(nid_objs[153]),/* "crlBag" */
|
||||
&(nid_objs[806]),/* "cryptocom" */
|
||||
&(nid_objs[805]),/* "cryptopro" */
|
||||
&(nid_objs[500]),/* "dITRedirect" */
|
||||
&(nid_objs[451]),/* "dNSDomain" */
|
||||
&(nid_objs[495]),/* "dSAQuality" */
|
||||
|
@ -3079,8 +3382,16 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
|
|||
&(nid_objs[66]),/* "dsaWithSHA" */
|
||||
&(nid_objs[113]),/* "dsaWithSHA1" */
|
||||
&(nid_objs[70]),/* "dsaWithSHA1-old" */
|
||||
&(nid_objs[802]),/* "dsa_with_SHA224" */
|
||||
&(nid_objs[803]),/* "dsa_with_SHA256" */
|
||||
&(nid_objs[297]),/* "dvcs" */
|
||||
&(nid_objs[791]),/* "ecdsa-with-Recommended" */
|
||||
&(nid_objs[416]),/* "ecdsa-with-SHA1" */
|
||||
&(nid_objs[793]),/* "ecdsa-with-SHA224" */
|
||||
&(nid_objs[794]),/* "ecdsa-with-SHA256" */
|
||||
&(nid_objs[795]),/* "ecdsa-with-SHA384" */
|
||||
&(nid_objs[796]),/* "ecdsa-with-SHA512" */
|
||||
&(nid_objs[792]),/* "ecdsa-with-Specified" */
|
||||
&(nid_objs[48]),/* "emailAddress" */
|
||||
&(nid_objs[632]),/* "encrypted track 2" */
|
||||
&(nid_objs[56]),/* "extendedCertificateAttributes" */
|
||||
|
@ -3092,14 +3403,51 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
|
|||
&(nid_objs[509]),/* "generationQualifier" */
|
||||
&(nid_objs[601]),/* "generic cryptogram" */
|
||||
&(nid_objs[99]),/* "givenName" */
|
||||
&(nid_objs[814]),/* "gost89-cnt" */
|
||||
&(nid_objs[855]),/* "hmac" */
|
||||
&(nid_objs[780]),/* "hmac-md5" */
|
||||
&(nid_objs[781]),/* "hmac-sha1" */
|
||||
&(nid_objs[797]),/* "hmacWithMD5" */
|
||||
&(nid_objs[163]),/* "hmacWithSHA1" */
|
||||
&(nid_objs[798]),/* "hmacWithSHA224" */
|
||||
&(nid_objs[799]),/* "hmacWithSHA256" */
|
||||
&(nid_objs[800]),/* "hmacWithSHA384" */
|
||||
&(nid_objs[801]),/* "hmacWithSHA512" */
|
||||
&(nid_objs[486]),/* "homePostalAddress" */
|
||||
&(nid_objs[473]),/* "homeTelephoneNumber" */
|
||||
&(nid_objs[466]),/* "host" */
|
||||
&(nid_objs[442]),/* "iA5StringSyntax" */
|
||||
&(nid_objs[381]),/* "iana" */
|
||||
&(nid_objs[824]),/* "id-Gost28147-89-CryptoPro-A-ParamSet" */
|
||||
&(nid_objs[825]),/* "id-Gost28147-89-CryptoPro-B-ParamSet" */
|
||||
&(nid_objs[826]),/* "id-Gost28147-89-CryptoPro-C-ParamSet" */
|
||||
&(nid_objs[827]),/* "id-Gost28147-89-CryptoPro-D-ParamSet" */
|
||||
&(nid_objs[819]),/* "id-Gost28147-89-CryptoPro-KeyMeshing" */
|
||||
&(nid_objs[829]),/* "id-Gost28147-89-CryptoPro-Oscar-1-0-ParamSet" */
|
||||
&(nid_objs[828]),/* "id-Gost28147-89-CryptoPro-Oscar-1-1-ParamSet" */
|
||||
&(nid_objs[830]),/* "id-Gost28147-89-CryptoPro-RIC-1-ParamSet" */
|
||||
&(nid_objs[820]),/* "id-Gost28147-89-None-KeyMeshing" */
|
||||
&(nid_objs[823]),/* "id-Gost28147-89-TestParamSet" */
|
||||
&(nid_objs[840]),/* "id-GostR3410-2001-CryptoPro-A-ParamSet" */
|
||||
&(nid_objs[841]),/* "id-GostR3410-2001-CryptoPro-B-ParamSet" */
|
||||
&(nid_objs[842]),/* "id-GostR3410-2001-CryptoPro-C-ParamSet" */
|
||||
&(nid_objs[843]),/* "id-GostR3410-2001-CryptoPro-XchA-ParamSet" */
|
||||
&(nid_objs[844]),/* "id-GostR3410-2001-CryptoPro-XchB-ParamSet" */
|
||||
&(nid_objs[839]),/* "id-GostR3410-2001-TestParamSet" */
|
||||
&(nid_objs[832]),/* "id-GostR3410-94-CryptoPro-A-ParamSet" */
|
||||
&(nid_objs[833]),/* "id-GostR3410-94-CryptoPro-B-ParamSet" */
|
||||
&(nid_objs[834]),/* "id-GostR3410-94-CryptoPro-C-ParamSet" */
|
||||
&(nid_objs[835]),/* "id-GostR3410-94-CryptoPro-D-ParamSet" */
|
||||
&(nid_objs[836]),/* "id-GostR3410-94-CryptoPro-XchA-ParamSet" */
|
||||
&(nid_objs[837]),/* "id-GostR3410-94-CryptoPro-XchB-ParamSet" */
|
||||
&(nid_objs[838]),/* "id-GostR3410-94-CryptoPro-XchC-ParamSet" */
|
||||
&(nid_objs[831]),/* "id-GostR3410-94-TestParamSet" */
|
||||
&(nid_objs[845]),/* "id-GostR3410-94-a" */
|
||||
&(nid_objs[846]),/* "id-GostR3410-94-aBis" */
|
||||
&(nid_objs[847]),/* "id-GostR3410-94-b" */
|
||||
&(nid_objs[848]),/* "id-GostR3410-94-bBis" */
|
||||
&(nid_objs[822]),/* "id-GostR3411-94-CryptoProParamSet" */
|
||||
&(nid_objs[821]),/* "id-GostR3411-94-TestParamSet" */
|
||||
&(nid_objs[266]),/* "id-aca" */
|
||||
&(nid_objs[355]),/* "id-aca-accessIdentity" */
|
||||
&(nid_objs[354]),/* "id-aca-authenticationInfo" */
|
||||
|
@ -3609,6 +3957,7 @@ static ASN1_OBJECT *ln_objs[NUM_LN]={
|
|||
&(nid_objs[740]),/* "wap-wsg-idm-ecid-wtls7" */
|
||||
&(nid_objs[741]),/* "wap-wsg-idm-ecid-wtls8" */
|
||||
&(nid_objs[742]),/* "wap-wsg-idm-ecid-wtls9" */
|
||||
&(nid_objs[804]),/* "whirlpool" */
|
||||
&(nid_objs[503]),/* "x500UniqueIdentifier" */
|
||||
&(nid_objs[158]),/* "x509Certificate" */
|
||||
&(nid_objs[160]),/* "x509Crl" */
|
||||
|
@ -3814,6 +4163,8 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
|||
&(nid_objs[637]),/* OBJ_set_brand_Diners 2 23 42 8 30 */
|
||||
&(nid_objs[638]),/* OBJ_set_brand_AmericanExpress 2 23 42 8 34 */
|
||||
&(nid_objs[639]),/* OBJ_set_brand_JCB 2 23 42 8 35 */
|
||||
&(nid_objs[805]),/* OBJ_cryptopro 1 2 643 2 2 */
|
||||
&(nid_objs[806]),/* OBJ_cryptocom 1 2 643 2 9 */
|
||||
&(nid_objs[184]),/* OBJ_X9_57 1 2 840 10040 */
|
||||
&(nid_objs[405]),/* OBJ_ansi_X9_62 1 2 840 10045 */
|
||||
&(nid_objs[389]),/* OBJ_Enterprises 1 3 6 1 4 1 */
|
||||
|
@ -3884,8 +4235,20 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
|||
&(nid_objs[743]),/* OBJ_wap_wsg_idm_ecid_wtls10 2 23 43 13 4 10 */
|
||||
&(nid_objs[744]),/* OBJ_wap_wsg_idm_ecid_wtls11 2 23 43 13 4 11 */
|
||||
&(nid_objs[745]),/* OBJ_wap_wsg_idm_ecid_wtls12 2 23 43 13 4 12 */
|
||||
&(nid_objs[804]),/* OBJ_whirlpool 1 0 10118 3 0 55 */
|
||||
&(nid_objs[124]),/* OBJ_rle_compression 1 1 1 1 666 1 */
|
||||
&(nid_objs[773]),/* OBJ_kisa 1 2 410 200004 */
|
||||
&(nid_objs[807]),/* OBJ_id_GostR3411_94_with_GostR3410_2001 1 2 643 2 2 3 */
|
||||
&(nid_objs[808]),/* OBJ_id_GostR3411_94_with_GostR3410_94 1 2 643 2 2 4 */
|
||||
&(nid_objs[809]),/* OBJ_id_GostR3411_94 1 2 643 2 2 9 */
|
||||
&(nid_objs[810]),/* OBJ_id_HMACGostR3411_94 1 2 643 2 2 10 */
|
||||
&(nid_objs[811]),/* OBJ_id_GostR3410_2001 1 2 643 2 2 19 */
|
||||
&(nid_objs[812]),/* OBJ_id_GostR3410_94 1 2 643 2 2 20 */
|
||||
&(nid_objs[813]),/* OBJ_id_Gost28147_89 1 2 643 2 2 21 */
|
||||
&(nid_objs[815]),/* OBJ_id_Gost28147_89_MAC 1 2 643 2 2 22 */
|
||||
&(nid_objs[816]),/* OBJ_id_GostR3411_94_prf 1 2 643 2 2 23 */
|
||||
&(nid_objs[817]),/* OBJ_id_GostR3410_2001DH 1 2 643 2 2 98 */
|
||||
&(nid_objs[818]),/* OBJ_id_GostR3410_94DH 1 2 643 2 2 99 */
|
||||
&(nid_objs[ 1]),/* OBJ_rsadsi 1 2 840 113549 */
|
||||
&(nid_objs[185]),/* OBJ_X9cm 1 2 840 10040 4 */
|
||||
&(nid_objs[127]),/* OBJ_id_pkix 1 3 6 1 5 5 7 */
|
||||
|
@ -3898,6 +4261,36 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
|||
&(nid_objs[634]),/* OBJ_setAttr_TokICCsig 2 23 42 3 3 5 1 */
|
||||
&(nid_objs[635]),/* OBJ_setAttr_SecDevSig 2 23 42 3 3 5 2 */
|
||||
&(nid_objs[436]),/* OBJ_ucl 0 9 2342 19200300 */
|
||||
&(nid_objs[820]),/* OBJ_id_Gost28147_89_None_KeyMeshing 1 2 643 2 2 14 0 */
|
||||
&(nid_objs[819]),/* OBJ_id_Gost28147_89_CryptoPro_KeyMeshing 1 2 643 2 2 14 1 */
|
||||
&(nid_objs[845]),/* OBJ_id_GostR3410_94_a 1 2 643 2 2 20 1 */
|
||||
&(nid_objs[846]),/* OBJ_id_GostR3410_94_aBis 1 2 643 2 2 20 2 */
|
||||
&(nid_objs[847]),/* OBJ_id_GostR3410_94_b 1 2 643 2 2 20 3 */
|
||||
&(nid_objs[848]),/* OBJ_id_GostR3410_94_bBis 1 2 643 2 2 20 4 */
|
||||
&(nid_objs[821]),/* OBJ_id_GostR3411_94_TestParamSet 1 2 643 2 2 30 0 */
|
||||
&(nid_objs[822]),/* OBJ_id_GostR3411_94_CryptoProParamSet 1 2 643 2 2 30 1 */
|
||||
&(nid_objs[823]),/* OBJ_id_Gost28147_89_TestParamSet 1 2 643 2 2 31 0 */
|
||||
&(nid_objs[824]),/* OBJ_id_Gost28147_89_CryptoPro_A_ParamSet 1 2 643 2 2 31 1 */
|
||||
&(nid_objs[825]),/* OBJ_id_Gost28147_89_CryptoPro_B_ParamSet 1 2 643 2 2 31 2 */
|
||||
&(nid_objs[826]),/* OBJ_id_Gost28147_89_CryptoPro_C_ParamSet 1 2 643 2 2 31 3 */
|
||||
&(nid_objs[827]),/* OBJ_id_Gost28147_89_CryptoPro_D_ParamSet 1 2 643 2 2 31 4 */
|
||||
&(nid_objs[828]),/* OBJ_id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet 1 2 643 2 2 31 5 */
|
||||
&(nid_objs[829]),/* OBJ_id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet 1 2 643 2 2 31 6 */
|
||||
&(nid_objs[830]),/* OBJ_id_Gost28147_89_CryptoPro_RIC_1_ParamSet 1 2 643 2 2 31 7 */
|
||||
&(nid_objs[831]),/* OBJ_id_GostR3410_94_TestParamSet 1 2 643 2 2 32 0 */
|
||||
&(nid_objs[832]),/* OBJ_id_GostR3410_94_CryptoPro_A_ParamSet 1 2 643 2 2 32 2 */
|
||||
&(nid_objs[833]),/* OBJ_id_GostR3410_94_CryptoPro_B_ParamSet 1 2 643 2 2 32 3 */
|
||||
&(nid_objs[834]),/* OBJ_id_GostR3410_94_CryptoPro_C_ParamSet 1 2 643 2 2 32 4 */
|
||||
&(nid_objs[835]),/* OBJ_id_GostR3410_94_CryptoPro_D_ParamSet 1 2 643 2 2 32 5 */
|
||||
&(nid_objs[836]),/* OBJ_id_GostR3410_94_CryptoPro_XchA_ParamSet 1 2 643 2 2 33 1 */
|
||||
&(nid_objs[837]),/* OBJ_id_GostR3410_94_CryptoPro_XchB_ParamSet 1 2 643 2 2 33 2 */
|
||||
&(nid_objs[838]),/* OBJ_id_GostR3410_94_CryptoPro_XchC_ParamSet 1 2 643 2 2 33 3 */
|
||||
&(nid_objs[839]),/* OBJ_id_GostR3410_2001_TestParamSet 1 2 643 2 2 35 0 */
|
||||
&(nid_objs[840]),/* OBJ_id_GostR3410_2001_CryptoPro_A_ParamSet 1 2 643 2 2 35 1 */
|
||||
&(nid_objs[841]),/* OBJ_id_GostR3410_2001_CryptoPro_B_ParamSet 1 2 643 2 2 35 2 */
|
||||
&(nid_objs[842]),/* OBJ_id_GostR3410_2001_CryptoPro_C_ParamSet 1 2 643 2 2 35 3 */
|
||||
&(nid_objs[843]),/* OBJ_id_GostR3410_2001_CryptoPro_XchA_ParamSet 1 2 643 2 2 36 0 */
|
||||
&(nid_objs[844]),/* OBJ_id_GostR3410_2001_CryptoPro_XchB_ParamSet 1 2 643 2 2 36 1 */
|
||||
&(nid_objs[ 2]),/* OBJ_pkcs 1 2 840 113549 1 */
|
||||
&(nid_objs[431]),/* OBJ_hold_instruction_none 1 2 840 10040 2 1 */
|
||||
&(nid_objs[432]),/* OBJ_hold_instruction_call_issuer 1 2 840 10040 2 2 */
|
||||
|
@ -3908,6 +4301,8 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
|||
&(nid_objs[407]),/* OBJ_X9_62_characteristic_two_field 1 2 840 10045 1 2 */
|
||||
&(nid_objs[408]),/* OBJ_X9_62_id_ecPublicKey 1 2 840 10045 2 1 */
|
||||
&(nid_objs[416]),/* OBJ_ecdsa_with_SHA1 1 2 840 10045 4 1 */
|
||||
&(nid_objs[791]),/* OBJ_ecdsa_with_Recommended 1 2 840 10045 4 2 */
|
||||
&(nid_objs[792]),/* OBJ_ecdsa_with_Specified 1 2 840 10045 4 3 */
|
||||
&(nid_objs[258]),/* OBJ_id_pkix_mod 1 3 6 1 5 5 7 0 */
|
||||
&(nid_objs[175]),/* OBJ_id_pe 1 3 6 1 5 5 7 1 */
|
||||
&(nid_objs[259]),/* OBJ_id_qt 1 3 6 1 5 5 7 2 */
|
||||
|
@ -3940,6 +4335,12 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
|||
&(nid_objs[777]),/* OBJ_seed_cbc 1 2 410 200004 1 4 */
|
||||
&(nid_objs[779]),/* OBJ_seed_cfb128 1 2 410 200004 1 5 */
|
||||
&(nid_objs[778]),/* OBJ_seed_ofb128 1 2 410 200004 1 6 */
|
||||
&(nid_objs[852]),/* OBJ_id_GostR3411_94_with_GostR3410_94_cc 1 2 643 2 9 1 3 3 */
|
||||
&(nid_objs[853]),/* OBJ_id_GostR3411_94_with_GostR3410_2001_cc 1 2 643 2 9 1 3 4 */
|
||||
&(nid_objs[850]),/* OBJ_id_GostR3410_94_cc 1 2 643 2 9 1 5 3 */
|
||||
&(nid_objs[851]),/* OBJ_id_GostR3410_2001_cc 1 2 643 2 9 1 5 4 */
|
||||
&(nid_objs[849]),/* OBJ_id_Gost28147_89_cc 1 2 643 2 9 1 6 1 */
|
||||
&(nid_objs[854]),/* OBJ_id_GostR3410_2001_ParamSet_cc 1 2 643 2 9 1 8 1 */
|
||||
&(nid_objs[186]),/* OBJ_pkcs1 1 2 840 113549 1 1 */
|
||||
&(nid_objs[27]),/* OBJ_pkcs3 1 2 840 113549 1 3 */
|
||||
&(nid_objs[187]),/* OBJ_pkcs5 1 2 840 113549 1 5 */
|
||||
|
@ -3948,7 +4349,12 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
|||
&(nid_objs[ 3]),/* OBJ_md2 1 2 840 113549 2 2 */
|
||||
&(nid_objs[257]),/* OBJ_md4 1 2 840 113549 2 4 */
|
||||
&(nid_objs[ 4]),/* OBJ_md5 1 2 840 113549 2 5 */
|
||||
&(nid_objs[797]),/* OBJ_hmacWithMD5 1 2 840 113549 2 6 */
|
||||
&(nid_objs[163]),/* OBJ_hmacWithSHA1 1 2 840 113549 2 7 */
|
||||
&(nid_objs[798]),/* OBJ_hmacWithSHA224 1 2 840 113549 2 8 */
|
||||
&(nid_objs[799]),/* OBJ_hmacWithSHA256 1 2 840 113549 2 9 */
|
||||
&(nid_objs[800]),/* OBJ_hmacWithSHA384 1 2 840 113549 2 10 */
|
||||
&(nid_objs[801]),/* OBJ_hmacWithSHA512 1 2 840 113549 2 11 */
|
||||
&(nid_objs[37]),/* OBJ_rc2_cbc 1 2 840 113549 3 2 */
|
||||
&(nid_objs[ 5]),/* OBJ_rc4 1 2 840 113549 3 4 */
|
||||
&(nid_objs[44]),/* OBJ_des_ede3_cbc 1 2 840 113549 3 7 */
|
||||
|
@ -3982,6 +4388,10 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
|||
&(nid_objs[413]),/* OBJ_X9_62_prime239v2 1 2 840 10045 3 1 5 */
|
||||
&(nid_objs[414]),/* OBJ_X9_62_prime239v3 1 2 840 10045 3 1 6 */
|
||||
&(nid_objs[415]),/* OBJ_X9_62_prime256v1 1 2 840 10045 3 1 7 */
|
||||
&(nid_objs[793]),/* OBJ_ecdsa_with_SHA224 1 2 840 10045 4 3 1 */
|
||||
&(nid_objs[794]),/* OBJ_ecdsa_with_SHA256 1 2 840 10045 4 3 2 */
|
||||
&(nid_objs[795]),/* OBJ_ecdsa_with_SHA384 1 2 840 10045 4 3 3 */
|
||||
&(nid_objs[796]),/* OBJ_ecdsa_with_SHA512 1 2 840 10045 4 3 4 */
|
||||
&(nid_objs[269]),/* OBJ_id_pkix1_explicit_88 1 3 6 1 5 5 7 0 1 */
|
||||
&(nid_objs[270]),/* OBJ_id_pkix1_implicit_88 1 3 6 1 5 5 7 0 2 */
|
||||
&(nid_objs[271]),/* OBJ_id_pkix1_explicit_93 1 3 6 1 5 5 7 0 3 */
|
||||
|
@ -4145,6 +4555,7 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
|||
&(nid_objs[682]),/* OBJ_X9_62_tpBasis 1 2 840 10045 1 2 3 2 */
|
||||
&(nid_objs[683]),/* OBJ_X9_62_ppBasis 1 2 840 10045 1 2 3 3 */
|
||||
&(nid_objs[417]),/* OBJ_ms_csp_name 1 3 6 1 4 1 311 17 1 */
|
||||
&(nid_objs[856]),/* OBJ_LocalKeySet 1 3 6 1 4 1 311 17 2 */
|
||||
&(nid_objs[390]),/* OBJ_dcObject 1 3 6 1 4 1 1466 344 */
|
||||
&(nid_objs[91]),/* OBJ_bf_cbc 1 3 6 1 4 1 3029 1 2 */
|
||||
&(nid_objs[315]),/* OBJ_id_regCtrl_regToken 1 3 6 1 5 5 7 5 1 1 */
|
||||
|
@ -4185,6 +4596,8 @@ static ASN1_OBJECT *obj_objs[NUM_OBJ]={
|
|||
&(nid_objs[673]),/* OBJ_sha384 2 16 840 1 101 3 4 2 2 */
|
||||
&(nid_objs[674]),/* OBJ_sha512 2 16 840 1 101 3 4 2 3 */
|
||||
&(nid_objs[675]),/* OBJ_sha224 2 16 840 1 101 3 4 2 4 */
|
||||
&(nid_objs[802]),/* OBJ_dsa_with_SHA224 2 16 840 1 101 3 4 3 1 */
|
||||
&(nid_objs[803]),/* OBJ_dsa_with_SHA256 2 16 840 1 101 3 4 3 2 */
|
||||
&(nid_objs[71]),/* OBJ_netscape_cert_type 2 16 840 1 113730 1 1 */
|
||||
&(nid_objs[72]),/* OBJ_netscape_base_url 2 16 840 1 113730 1 2 */
|
||||
&(nid_objs[73]),/* OBJ_netscape_revocation_url 2 16 840 1 113730 1 3 */
|
||||
|
|
|
@ -315,6 +315,30 @@
|
|||
#define NID_ecdsa_with_SHA1 416
|
||||
#define OBJ_ecdsa_with_SHA1 OBJ_X9_62_id_ecSigType,1L
|
||||
|
||||
#define SN_ecdsa_with_Recommended "ecdsa-with-Recommended"
|
||||
#define NID_ecdsa_with_Recommended 791
|
||||
#define OBJ_ecdsa_with_Recommended OBJ_X9_62_id_ecSigType,2L
|
||||
|
||||
#define SN_ecdsa_with_Specified "ecdsa-with-Specified"
|
||||
#define NID_ecdsa_with_Specified 792
|
||||
#define OBJ_ecdsa_with_Specified OBJ_X9_62_id_ecSigType,3L
|
||||
|
||||
#define SN_ecdsa_with_SHA224 "ecdsa-with-SHA224"
|
||||
#define NID_ecdsa_with_SHA224 793
|
||||
#define OBJ_ecdsa_with_SHA224 OBJ_ecdsa_with_Specified,1L
|
||||
|
||||
#define SN_ecdsa_with_SHA256 "ecdsa-with-SHA256"
|
||||
#define NID_ecdsa_with_SHA256 794
|
||||
#define OBJ_ecdsa_with_SHA256 OBJ_ecdsa_with_Specified,2L
|
||||
|
||||
#define SN_ecdsa_with_SHA384 "ecdsa-with-SHA384"
|
||||
#define NID_ecdsa_with_SHA384 795
|
||||
#define OBJ_ecdsa_with_SHA384 OBJ_ecdsa_with_Specified,3L
|
||||
|
||||
#define SN_ecdsa_with_SHA512 "ecdsa-with-SHA512"
|
||||
#define NID_ecdsa_with_SHA512 796
|
||||
#define OBJ_ecdsa_with_SHA512 OBJ_ecdsa_with_Specified,4L
|
||||
|
||||
#define OBJ_secg_ellipticCurve OBJ_certicom_arc,0L
|
||||
|
||||
#define SN_secp112r1 "secp112r1"
|
||||
|
@ -1006,6 +1030,11 @@
|
|||
#define NID_ms_csp_name 417
|
||||
#define OBJ_ms_csp_name 1L,3L,6L,1L,4L,1L,311L,17L,1L
|
||||
|
||||
#define SN_LocalKeySet "LocalKeySet"
|
||||
#define LN_LocalKeySet "Microsoft Local Key set"
|
||||
#define NID_LocalKeySet 856
|
||||
#define OBJ_LocalKeySet 1L,3L,6L,1L,4L,1L,311L,17L,2L
|
||||
|
||||
#define OBJ_certTypes OBJ_pkcs9,22L
|
||||
|
||||
#define LN_x509Certificate "x509Certificate"
|
||||
|
@ -1103,10 +1132,30 @@
|
|||
#define LN_md5_sha1 "md5-sha1"
|
||||
#define NID_md5_sha1 114
|
||||
|
||||
#define LN_hmacWithMD5 "hmacWithMD5"
|
||||
#define NID_hmacWithMD5 797
|
||||
#define OBJ_hmacWithMD5 OBJ_rsadsi,2L,6L
|
||||
|
||||
#define LN_hmacWithSHA1 "hmacWithSHA1"
|
||||
#define NID_hmacWithSHA1 163
|
||||
#define OBJ_hmacWithSHA1 OBJ_rsadsi,2L,7L
|
||||
|
||||
#define LN_hmacWithSHA224 "hmacWithSHA224"
|
||||
#define NID_hmacWithSHA224 798
|
||||
#define OBJ_hmacWithSHA224 OBJ_rsadsi,2L,8L
|
||||
|
||||
#define LN_hmacWithSHA256 "hmacWithSHA256"
|
||||
#define NID_hmacWithSHA256 799
|
||||
#define OBJ_hmacWithSHA256 OBJ_rsadsi,2L,9L
|
||||
|
||||
#define LN_hmacWithSHA384 "hmacWithSHA384"
|
||||
#define NID_hmacWithSHA384 800
|
||||
#define OBJ_hmacWithSHA384 OBJ_rsadsi,2L,10L
|
||||
|
||||
#define LN_hmacWithSHA512 "hmacWithSHA512"
|
||||
#define NID_hmacWithSHA512 801
|
||||
#define OBJ_hmacWithSHA512 OBJ_rsadsi,2L,11L
|
||||
|
||||
#define SN_rc2_cbc "RC2-CBC"
|
||||
#define LN_rc2_cbc "rc2-cbc"
|
||||
#define NID_rc2_cbc 37
|
||||
|
@ -2502,6 +2551,16 @@
|
|||
#define NID_sha224 675
|
||||
#define OBJ_sha224 OBJ_nist_hashalgs,4L
|
||||
|
||||
#define OBJ_dsa_with_sha2 OBJ_nistAlgorithms,3L
|
||||
|
||||
#define SN_dsa_with_SHA224 "dsa_with_SHA224"
|
||||
#define NID_dsa_with_SHA224 802
|
||||
#define OBJ_dsa_with_SHA224 OBJ_dsa_with_sha2,1L
|
||||
|
||||
#define SN_dsa_with_SHA256 "dsa_with_SHA256"
|
||||
#define NID_dsa_with_SHA256 803
|
||||
#define OBJ_dsa_with_SHA256 OBJ_dsa_with_sha2,2L
|
||||
|
||||
#define SN_hold_instruction_code "holdInstructionCode"
|
||||
#define LN_hold_instruction_code "Hold Instruction Code"
|
||||
#define NID_hold_instruction_code 430
|
||||
|
@ -3367,6 +3426,226 @@
|
|||
#define LN_ipsec4 "ipsec4"
|
||||
#define NID_ipsec4 750
|
||||
|
||||
#define SN_whirlpool "whirlpool"
|
||||
#define NID_whirlpool 804
|
||||
#define OBJ_whirlpool OBJ_iso,0L,10118L,3L,0L,55L
|
||||
|
||||
#define SN_cryptopro "cryptopro"
|
||||
#define NID_cryptopro 805
|
||||
#define OBJ_cryptopro OBJ_member_body,643L,2L,2L
|
||||
|
||||
#define SN_cryptocom "cryptocom"
|
||||
#define NID_cryptocom 806
|
||||
#define OBJ_cryptocom OBJ_member_body,643L,2L,9L
|
||||
|
||||
#define SN_id_GostR3411_94_with_GostR3410_2001 "id-GostR3411-94-with-GostR3410-2001"
|
||||
#define LN_id_GostR3411_94_with_GostR3410_2001 "GOST R 34.11-94 with GOST R 34.10-2001"
|
||||
#define NID_id_GostR3411_94_with_GostR3410_2001 807
|
||||
#define OBJ_id_GostR3411_94_with_GostR3410_2001 OBJ_cryptopro,3L
|
||||
|
||||
#define SN_id_GostR3411_94_with_GostR3410_94 "id-GostR3411-94-with-GostR3410-94"
|
||||
#define LN_id_GostR3411_94_with_GostR3410_94 "GOST R 34.11-94 with GOST R 34.10-94"
|
||||
#define NID_id_GostR3411_94_with_GostR3410_94 808
|
||||
#define OBJ_id_GostR3411_94_with_GostR3410_94 OBJ_cryptopro,4L
|
||||
|
||||
#define SN_id_GostR3411_94 "md_gost94"
|
||||
#define LN_id_GostR3411_94 "GOST R 34.11-94"
|
||||
#define NID_id_GostR3411_94 809
|
||||
#define OBJ_id_GostR3411_94 OBJ_cryptopro,9L
|
||||
|
||||
#define SN_id_HMACGostR3411_94 "id-HMACGostR3411-94"
|
||||
#define LN_id_HMACGostR3411_94 "HMAC GOST 34.11-94"
|
||||
#define NID_id_HMACGostR3411_94 810
|
||||
#define OBJ_id_HMACGostR3411_94 OBJ_cryptopro,10L
|
||||
|
||||
#define SN_id_GostR3410_2001 "gost2001"
|
||||
#define LN_id_GostR3410_2001 "GOST R 34.10-2001"
|
||||
#define NID_id_GostR3410_2001 811
|
||||
#define OBJ_id_GostR3410_2001 OBJ_cryptopro,19L
|
||||
|
||||
#define SN_id_GostR3410_94 "gost94"
|
||||
#define LN_id_GostR3410_94 "GOST R 34.10-94"
|
||||
#define NID_id_GostR3410_94 812
|
||||
#define OBJ_id_GostR3410_94 OBJ_cryptopro,20L
|
||||
|
||||
#define SN_id_Gost28147_89 "gost89"
|
||||
#define LN_id_Gost28147_89 "GOST 28147-89"
|
||||
#define NID_id_Gost28147_89 813
|
||||
#define OBJ_id_Gost28147_89 OBJ_cryptopro,21L
|
||||
|
||||
#define SN_gost89_cnt "gost89-cnt"
|
||||
#define NID_gost89_cnt 814
|
||||
|
||||
#define SN_id_Gost28147_89_MAC "gost-mac"
|
||||
#define LN_id_Gost28147_89_MAC "GOST 28147-89 MAC"
|
||||
#define NID_id_Gost28147_89_MAC 815
|
||||
#define OBJ_id_Gost28147_89_MAC OBJ_cryptopro,22L
|
||||
|
||||
#define SN_id_GostR3411_94_prf "prf-gostr3411-94"
|
||||
#define LN_id_GostR3411_94_prf "GOST R 34.11-94 PRF"
|
||||
#define NID_id_GostR3411_94_prf 816
|
||||
#define OBJ_id_GostR3411_94_prf OBJ_cryptopro,23L
|
||||
|
||||
#define SN_id_GostR3410_2001DH "id-GostR3410-2001DH"
|
||||
#define LN_id_GostR3410_2001DH "GOST R 34.10-2001 DH"
|
||||
#define NID_id_GostR3410_2001DH 817
|
||||
#define OBJ_id_GostR3410_2001DH OBJ_cryptopro,98L
|
||||
|
||||
#define SN_id_GostR3410_94DH "id-GostR3410-94DH"
|
||||
#define LN_id_GostR3410_94DH "GOST R 34.10-94 DH"
|
||||
#define NID_id_GostR3410_94DH 818
|
||||
#define OBJ_id_GostR3410_94DH OBJ_cryptopro,99L
|
||||
|
||||
#define SN_id_Gost28147_89_CryptoPro_KeyMeshing "id-Gost28147-89-CryptoPro-KeyMeshing"
|
||||
#define NID_id_Gost28147_89_CryptoPro_KeyMeshing 819
|
||||
#define OBJ_id_Gost28147_89_CryptoPro_KeyMeshing OBJ_cryptopro,14L,1L
|
||||
|
||||
#define SN_id_Gost28147_89_None_KeyMeshing "id-Gost28147-89-None-KeyMeshing"
|
||||
#define NID_id_Gost28147_89_None_KeyMeshing 820
|
||||
#define OBJ_id_Gost28147_89_None_KeyMeshing OBJ_cryptopro,14L,0L
|
||||
|
||||
#define SN_id_GostR3411_94_TestParamSet "id-GostR3411-94-TestParamSet"
|
||||
#define NID_id_GostR3411_94_TestParamSet 821
|
||||
#define OBJ_id_GostR3411_94_TestParamSet OBJ_cryptopro,30L,0L
|
||||
|
||||
#define SN_id_GostR3411_94_CryptoProParamSet "id-GostR3411-94-CryptoProParamSet"
|
||||
#define NID_id_GostR3411_94_CryptoProParamSet 822
|
||||
#define OBJ_id_GostR3411_94_CryptoProParamSet OBJ_cryptopro,30L,1L
|
||||
|
||||
#define SN_id_Gost28147_89_TestParamSet "id-Gost28147-89-TestParamSet"
|
||||
#define NID_id_Gost28147_89_TestParamSet 823
|
||||
#define OBJ_id_Gost28147_89_TestParamSet OBJ_cryptopro,31L,0L
|
||||
|
||||
#define SN_id_Gost28147_89_CryptoPro_A_ParamSet "id-Gost28147-89-CryptoPro-A-ParamSet"
|
||||
#define NID_id_Gost28147_89_CryptoPro_A_ParamSet 824
|
||||
#define OBJ_id_Gost28147_89_CryptoPro_A_ParamSet OBJ_cryptopro,31L,1L
|
||||
|
||||
#define SN_id_Gost28147_89_CryptoPro_B_ParamSet "id-Gost28147-89-CryptoPro-B-ParamSet"
|
||||
#define NID_id_Gost28147_89_CryptoPro_B_ParamSet 825
|
||||
#define OBJ_id_Gost28147_89_CryptoPro_B_ParamSet OBJ_cryptopro,31L,2L
|
||||
|
||||
#define SN_id_Gost28147_89_CryptoPro_C_ParamSet "id-Gost28147-89-CryptoPro-C-ParamSet"
|
||||
#define NID_id_Gost28147_89_CryptoPro_C_ParamSet 826
|
||||
#define OBJ_id_Gost28147_89_CryptoPro_C_ParamSet OBJ_cryptopro,31L,3L
|
||||
|
||||
#define SN_id_Gost28147_89_CryptoPro_D_ParamSet "id-Gost28147-89-CryptoPro-D-ParamSet"
|
||||
#define NID_id_Gost28147_89_CryptoPro_D_ParamSet 827
|
||||
#define OBJ_id_Gost28147_89_CryptoPro_D_ParamSet OBJ_cryptopro,31L,4L
|
||||
|
||||
#define SN_id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet "id-Gost28147-89-CryptoPro-Oscar-1-1-ParamSet"
|
||||
#define NID_id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet 828
|
||||
#define OBJ_id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet OBJ_cryptopro,31L,5L
|
||||
|
||||
#define SN_id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet "id-Gost28147-89-CryptoPro-Oscar-1-0-ParamSet"
|
||||
#define NID_id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet 829
|
||||
#define OBJ_id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet OBJ_cryptopro,31L,6L
|
||||
|
||||
#define SN_id_Gost28147_89_CryptoPro_RIC_1_ParamSet "id-Gost28147-89-CryptoPro-RIC-1-ParamSet"
|
||||
#define NID_id_Gost28147_89_CryptoPro_RIC_1_ParamSet 830
|
||||
#define OBJ_id_Gost28147_89_CryptoPro_RIC_1_ParamSet OBJ_cryptopro,31L,7L
|
||||
|
||||
#define SN_id_GostR3410_94_TestParamSet "id-GostR3410-94-TestParamSet"
|
||||
#define NID_id_GostR3410_94_TestParamSet 831
|
||||
#define OBJ_id_GostR3410_94_TestParamSet OBJ_cryptopro,32L,0L
|
||||
|
||||
#define SN_id_GostR3410_94_CryptoPro_A_ParamSet "id-GostR3410-94-CryptoPro-A-ParamSet"
|
||||
#define NID_id_GostR3410_94_CryptoPro_A_ParamSet 832
|
||||
#define OBJ_id_GostR3410_94_CryptoPro_A_ParamSet OBJ_cryptopro,32L,2L
|
||||
|
||||
#define SN_id_GostR3410_94_CryptoPro_B_ParamSet "id-GostR3410-94-CryptoPro-B-ParamSet"
|
||||
#define NID_id_GostR3410_94_CryptoPro_B_ParamSet 833
|
||||
#define OBJ_id_GostR3410_94_CryptoPro_B_ParamSet OBJ_cryptopro,32L,3L
|
||||
|
||||
#define SN_id_GostR3410_94_CryptoPro_C_ParamSet "id-GostR3410-94-CryptoPro-C-ParamSet"
|
||||
#define NID_id_GostR3410_94_CryptoPro_C_ParamSet 834
|
||||
#define OBJ_id_GostR3410_94_CryptoPro_C_ParamSet OBJ_cryptopro,32L,4L
|
||||
|
||||
#define SN_id_GostR3410_94_CryptoPro_D_ParamSet "id-GostR3410-94-CryptoPro-D-ParamSet"
|
||||
#define NID_id_GostR3410_94_CryptoPro_D_ParamSet 835
|
||||
#define OBJ_id_GostR3410_94_CryptoPro_D_ParamSet OBJ_cryptopro,32L,5L
|
||||
|
||||
#define SN_id_GostR3410_94_CryptoPro_XchA_ParamSet "id-GostR3410-94-CryptoPro-XchA-ParamSet"
|
||||
#define NID_id_GostR3410_94_CryptoPro_XchA_ParamSet 836
|
||||
#define OBJ_id_GostR3410_94_CryptoPro_XchA_ParamSet OBJ_cryptopro,33L,1L
|
||||
|
||||
#define SN_id_GostR3410_94_CryptoPro_XchB_ParamSet "id-GostR3410-94-CryptoPro-XchB-ParamSet"
|
||||
#define NID_id_GostR3410_94_CryptoPro_XchB_ParamSet 837
|
||||
#define OBJ_id_GostR3410_94_CryptoPro_XchB_ParamSet OBJ_cryptopro,33L,2L
|
||||
|
||||
#define SN_id_GostR3410_94_CryptoPro_XchC_ParamSet "id-GostR3410-94-CryptoPro-XchC-ParamSet"
|
||||
#define NID_id_GostR3410_94_CryptoPro_XchC_ParamSet 838
|
||||
#define OBJ_id_GostR3410_94_CryptoPro_XchC_ParamSet OBJ_cryptopro,33L,3L
|
||||
|
||||
#define SN_id_GostR3410_2001_TestParamSet "id-GostR3410-2001-TestParamSet"
|
||||
#define NID_id_GostR3410_2001_TestParamSet 839
|
||||
#define OBJ_id_GostR3410_2001_TestParamSet OBJ_cryptopro,35L,0L
|
||||
|
||||
#define SN_id_GostR3410_2001_CryptoPro_A_ParamSet "id-GostR3410-2001-CryptoPro-A-ParamSet"
|
||||
#define NID_id_GostR3410_2001_CryptoPro_A_ParamSet 840
|
||||
#define OBJ_id_GostR3410_2001_CryptoPro_A_ParamSet OBJ_cryptopro,35L,1L
|
||||
|
||||
#define SN_id_GostR3410_2001_CryptoPro_B_ParamSet "id-GostR3410-2001-CryptoPro-B-ParamSet"
|
||||
#define NID_id_GostR3410_2001_CryptoPro_B_ParamSet 841
|
||||
#define OBJ_id_GostR3410_2001_CryptoPro_B_ParamSet OBJ_cryptopro,35L,2L
|
||||
|
||||
#define SN_id_GostR3410_2001_CryptoPro_C_ParamSet "id-GostR3410-2001-CryptoPro-C-ParamSet"
|
||||
#define NID_id_GostR3410_2001_CryptoPro_C_ParamSet 842
|
||||
#define OBJ_id_GostR3410_2001_CryptoPro_C_ParamSet OBJ_cryptopro,35L,3L
|
||||
|
||||
#define SN_id_GostR3410_2001_CryptoPro_XchA_ParamSet "id-GostR3410-2001-CryptoPro-XchA-ParamSet"
|
||||
#define NID_id_GostR3410_2001_CryptoPro_XchA_ParamSet 843
|
||||
#define OBJ_id_GostR3410_2001_CryptoPro_XchA_ParamSet OBJ_cryptopro,36L,0L
|
||||
|
||||
#define SN_id_GostR3410_2001_CryptoPro_XchB_ParamSet "id-GostR3410-2001-CryptoPro-XchB-ParamSet"
|
||||
#define NID_id_GostR3410_2001_CryptoPro_XchB_ParamSet 844
|
||||
#define OBJ_id_GostR3410_2001_CryptoPro_XchB_ParamSet OBJ_cryptopro,36L,1L
|
||||
|
||||
#define SN_id_GostR3410_94_a "id-GostR3410-94-a"
|
||||
#define NID_id_GostR3410_94_a 845
|
||||
#define OBJ_id_GostR3410_94_a OBJ_id_GostR3410_94,1L
|
||||
|
||||
#define SN_id_GostR3410_94_aBis "id-GostR3410-94-aBis"
|
||||
#define NID_id_GostR3410_94_aBis 846
|
||||
#define OBJ_id_GostR3410_94_aBis OBJ_id_GostR3410_94,2L
|
||||
|
||||
#define SN_id_GostR3410_94_b "id-GostR3410-94-b"
|
||||
#define NID_id_GostR3410_94_b 847
|
||||
#define OBJ_id_GostR3410_94_b OBJ_id_GostR3410_94,3L
|
||||
|
||||
#define SN_id_GostR3410_94_bBis "id-GostR3410-94-bBis"
|
||||
#define NID_id_GostR3410_94_bBis 848
|
||||
#define OBJ_id_GostR3410_94_bBis OBJ_id_GostR3410_94,4L
|
||||
|
||||
#define SN_id_Gost28147_89_cc "id-Gost28147-89-cc"
|
||||
#define LN_id_Gost28147_89_cc "GOST 28147-89 Cryptocom ParamSet"
|
||||
#define NID_id_Gost28147_89_cc 849
|
||||
#define OBJ_id_Gost28147_89_cc OBJ_cryptocom,1L,6L,1L
|
||||
|
||||
#define SN_id_GostR3410_94_cc "gost94cc"
|
||||
#define LN_id_GostR3410_94_cc "GOST 34.10-94 Cryptocom"
|
||||
#define NID_id_GostR3410_94_cc 850
|
||||
#define OBJ_id_GostR3410_94_cc OBJ_cryptocom,1L,5L,3L
|
||||
|
||||
#define SN_id_GostR3410_2001_cc "gost2001cc"
|
||||
#define LN_id_GostR3410_2001_cc "GOST 34.10-2001 Cryptocom"
|
||||
#define NID_id_GostR3410_2001_cc 851
|
||||
#define OBJ_id_GostR3410_2001_cc OBJ_cryptocom,1L,5L,4L
|
||||
|
||||
#define SN_id_GostR3411_94_with_GostR3410_94_cc "id-GostR3411-94-with-GostR3410-94-cc"
|
||||
#define LN_id_GostR3411_94_with_GostR3410_94_cc "GOST R 34.11-94 with GOST R 34.10-94 Cryptocom"
|
||||
#define NID_id_GostR3411_94_with_GostR3410_94_cc 852
|
||||
#define OBJ_id_GostR3411_94_with_GostR3410_94_cc OBJ_cryptocom,1L,3L,3L
|
||||
|
||||
#define SN_id_GostR3411_94_with_GostR3410_2001_cc "id-GostR3411-94-with-GostR3410-2001-cc"
|
||||
#define LN_id_GostR3411_94_with_GostR3410_2001_cc "GOST R 34.11-94 with GOST R 34.10-2001 Cryptocom"
|
||||
#define NID_id_GostR3411_94_with_GostR3410_2001_cc 853
|
||||
#define OBJ_id_GostR3411_94_with_GostR3410_2001_cc OBJ_cryptocom,1L,3L,4L
|
||||
|
||||
#define SN_id_GostR3410_2001_ParamSet_cc "id-GostR3410-2001-ParamSet-cc"
|
||||
#define LN_id_GostR3410_2001_ParamSet_cc "GOST R 3410-2001 Parameter Set Cryptocom"
|
||||
#define NID_id_GostR3410_2001_ParamSet_cc 854
|
||||
#define OBJ_id_GostR3410_2001_ParamSet_cc OBJ_cryptocom,1L,8L,1L
|
||||
|
||||
#define SN_camellia_128_cbc "CAMELLIA-128-CBC"
|
||||
#define LN_camellia_128_cbc "camellia-128-cbc"
|
||||
#define NID_camellia_128_cbc 751
|
||||
|
@ -3480,3 +3759,7 @@
|
|||
#define NID_seed_ofb128 778
|
||||
#define OBJ_seed_ofb128 OBJ_kisa,1L,6L
|
||||
|
||||
#define SN_hmac "HMAC"
|
||||
#define LN_hmac "hmac"
|
||||
#define NID_hmac 855
|
||||
|
||||
|
|
|
@ -788,3 +788,69 @@ id_ct_asciiTextWithCRLF 787
|
|||
id_aes128_wrap 788
|
||||
id_aes192_wrap 789
|
||||
id_aes256_wrap 790
|
||||
ecdsa_with_Recommended 791
|
||||
ecdsa_with_Specified 792
|
||||
ecdsa_with_SHA224 793
|
||||
ecdsa_with_SHA256 794
|
||||
ecdsa_with_SHA384 795
|
||||
ecdsa_with_SHA512 796
|
||||
hmacWithMD5 797
|
||||
hmacWithSHA224 798
|
||||
hmacWithSHA256 799
|
||||
hmacWithSHA384 800
|
||||
hmacWithSHA512 801
|
||||
dsa_with_SHA224 802
|
||||
dsa_with_SHA256 803
|
||||
whirlpool 804
|
||||
cryptopro 805
|
||||
cryptocom 806
|
||||
id_GostR3411_94_with_GostR3410_2001 807
|
||||
id_GostR3411_94_with_GostR3410_94 808
|
||||
id_GostR3411_94 809
|
||||
id_HMACGostR3411_94 810
|
||||
id_GostR3410_2001 811
|
||||
id_GostR3410_94 812
|
||||
id_Gost28147_89 813
|
||||
gost89_cnt 814
|
||||
id_Gost28147_89_MAC 815
|
||||
id_GostR3411_94_prf 816
|
||||
id_GostR3410_2001DH 817
|
||||
id_GostR3410_94DH 818
|
||||
id_Gost28147_89_CryptoPro_KeyMeshing 819
|
||||
id_Gost28147_89_None_KeyMeshing 820
|
||||
id_GostR3411_94_TestParamSet 821
|
||||
id_GostR3411_94_CryptoProParamSet 822
|
||||
id_Gost28147_89_TestParamSet 823
|
||||
id_Gost28147_89_CryptoPro_A_ParamSet 824
|
||||
id_Gost28147_89_CryptoPro_B_ParamSet 825
|
||||
id_Gost28147_89_CryptoPro_C_ParamSet 826
|
||||
id_Gost28147_89_CryptoPro_D_ParamSet 827
|
||||
id_Gost28147_89_CryptoPro_Oscar_1_1_ParamSet 828
|
||||
id_Gost28147_89_CryptoPro_Oscar_1_0_ParamSet 829
|
||||
id_Gost28147_89_CryptoPro_RIC_1_ParamSet 830
|
||||
id_GostR3410_94_TestParamSet 831
|
||||
id_GostR3410_94_CryptoPro_A_ParamSet 832
|
||||
id_GostR3410_94_CryptoPro_B_ParamSet 833
|
||||
id_GostR3410_94_CryptoPro_C_ParamSet 834
|
||||
id_GostR3410_94_CryptoPro_D_ParamSet 835
|
||||
id_GostR3410_94_CryptoPro_XchA_ParamSet 836
|
||||
id_GostR3410_94_CryptoPro_XchB_ParamSet 837
|
||||
id_GostR3410_94_CryptoPro_XchC_ParamSet 838
|
||||
id_GostR3410_2001_TestParamSet 839
|
||||
id_GostR3410_2001_CryptoPro_A_ParamSet 840
|
||||
id_GostR3410_2001_CryptoPro_B_ParamSet 841
|
||||
id_GostR3410_2001_CryptoPro_C_ParamSet 842
|
||||
id_GostR3410_2001_CryptoPro_XchA_ParamSet 843
|
||||
id_GostR3410_2001_CryptoPro_XchB_ParamSet 844
|
||||
id_GostR3410_94_a 845
|
||||
id_GostR3410_94_aBis 846
|
||||
id_GostR3410_94_b 847
|
||||
id_GostR3410_94_bBis 848
|
||||
id_Gost28147_89_cc 849
|
||||
id_GostR3410_94_cc 850
|
||||
id_GostR3410_2001_cc 851
|
||||
id_GostR3411_94_with_GostR3410_94_cc 852
|
||||
id_GostR3411_94_with_GostR3410_2001_cc 853
|
||||
id_GostR3410_2001_ParamSet_cc 854
|
||||
hmac 855
|
||||
LocalKeySet 856
|
||||
|
|
|
@ -79,6 +79,12 @@ X9-62_primeCurve 7 : prime256v1
|
|||
!Alias id-ecSigType ansi-X9-62 4
|
||||
!global
|
||||
X9-62_id-ecSigType 1 : ecdsa-with-SHA1
|
||||
X9-62_id-ecSigType 2 : ecdsa-with-Recommended
|
||||
X9-62_id-ecSigType 3 : ecdsa-with-Specified
|
||||
ecdsa-with-Specified 1 : ecdsa-with-SHA224
|
||||
ecdsa-with-Specified 2 : ecdsa-with-SHA256
|
||||
ecdsa-with-Specified 3 : ecdsa-with-SHA384
|
||||
ecdsa-with-Specified 4 : ecdsa-with-SHA512
|
||||
|
||||
# SECG curve OIDs from "SEC 2: Recommended Elliptic Curve Domain Parameters"
|
||||
# (http://www.secg.org/)
|
||||
|
@ -313,6 +319,7 @@ pkcs9 20 : : friendlyName
|
|||
pkcs9 21 : : localKeyID
|
||||
!Cname ms-csp-name
|
||||
1 3 6 1 4 1 311 17 1 : CSPName : Microsoft CSP Name
|
||||
1 3 6 1 4 1 311 17 2 : LocalKeySet : Microsoft Local Key set
|
||||
!Alias certTypes pkcs9 22
|
||||
certTypes 1 : : x509Certificate
|
||||
certTypes 2 : : sdsiCertificate
|
||||
|
@ -348,7 +355,15 @@ rsadsi 2 2 : MD2 : md2
|
|||
rsadsi 2 4 : MD4 : md4
|
||||
rsadsi 2 5 : MD5 : md5
|
||||
: MD5-SHA1 : md5-sha1
|
||||
rsadsi 2 6 : : hmacWithMD5
|
||||
rsadsi 2 7 : : hmacWithSHA1
|
||||
|
||||
# From RFC4231
|
||||
rsadsi 2 8 : : hmacWithSHA224
|
||||
rsadsi 2 9 : : hmacWithSHA256
|
||||
rsadsi 2 10 : : hmacWithSHA384
|
||||
rsadsi 2 11 : : hmacWithSHA512
|
||||
|
||||
rsadsi 3 2 : RC2-CBC : rc2-cbc
|
||||
: RC2-ECB : rc2-ecb
|
||||
!Cname rc2-cfb64
|
||||
|
@ -833,6 +848,11 @@ nist_hashalgs 2 : SHA384 : sha384
|
|||
nist_hashalgs 3 : SHA512 : sha512
|
||||
nist_hashalgs 4 : SHA224 : sha224
|
||||
|
||||
# OIDs for dsa-with-sha224 and dsa-with-sha256
|
||||
!Alias dsa_with_sha2 nistAlgorithms 3
|
||||
dsa_with_sha2 1 : dsa_with_SHA224
|
||||
dsa_with_sha2 2 : dsa_with_SHA256
|
||||
|
||||
# Hold instruction CRL entry extension
|
||||
!Cname hold-instruction-code
|
||||
id-ce 23 : holdInstructionCode : Hold Instruction Code
|
||||
|
@ -1070,13 +1090,93 @@ rsadsi 1 1 6 : rsaOAEPEncryptionSET
|
|||
: Oakley-EC2N-3 : ipsec3
|
||||
: Oakley-EC2N-4 : ipsec4
|
||||
|
||||
iso 0 10118 3 0 55 : whirlpool
|
||||
|
||||
# GOST OIDs
|
||||
|
||||
member-body 643 2 2 : cryptopro
|
||||
member-body 643 2 9 : cryptocom
|
||||
|
||||
cryptopro 3 : id-GostR3411-94-with-GostR3410-2001 : GOST R 34.11-94 with GOST R 34.10-2001
|
||||
cryptopro 4 : id-GostR3411-94-with-GostR3410-94 : GOST R 34.11-94 with GOST R 34.10-94
|
||||
!Cname id-GostR3411-94
|
||||
cryptopro 9 : md_gost94 : GOST R 34.11-94
|
||||
cryptopro 10 : id-HMACGostR3411-94 : HMAC GOST 34.11-94
|
||||
!Cname id-GostR3410-2001
|
||||
cryptopro 19 : gost2001 : GOST R 34.10-2001
|
||||
!Cname id-GostR3410-94
|
||||
cryptopro 20 : gost94 : GOST R 34.10-94
|
||||
!Cname id-Gost28147-89
|
||||
cryptopro 21 : gost89 : GOST 28147-89
|
||||
: gost89-cnt
|
||||
!Cname id-Gost28147-89-MAC
|
||||
cryptopro 22 : gost-mac : GOST 28147-89 MAC
|
||||
!Cname id-GostR3411-94-prf
|
||||
cryptopro 23 : prf-gostr3411-94 : GOST R 34.11-94 PRF
|
||||
cryptopro 98 : id-GostR3410-2001DH : GOST R 34.10-2001 DH
|
||||
cryptopro 99 : id-GostR3410-94DH : GOST R 34.10-94 DH
|
||||
|
||||
cryptopro 14 1 : id-Gost28147-89-CryptoPro-KeyMeshing
|
||||
cryptopro 14 0 : id-Gost28147-89-None-KeyMeshing
|
||||
|
||||
# GOST parameter set OIDs
|
||||
|
||||
cryptopro 30 0 : id-GostR3411-94-TestParamSet
|
||||
cryptopro 30 1 : id-GostR3411-94-CryptoProParamSet
|
||||
|
||||
cryptopro 31 0 : id-Gost28147-89-TestParamSet
|
||||
cryptopro 31 1 : id-Gost28147-89-CryptoPro-A-ParamSet
|
||||
cryptopro 31 2 : id-Gost28147-89-CryptoPro-B-ParamSet
|
||||
cryptopro 31 3 : id-Gost28147-89-CryptoPro-C-ParamSet
|
||||
cryptopro 31 4 : id-Gost28147-89-CryptoPro-D-ParamSet
|
||||
cryptopro 31 5 : id-Gost28147-89-CryptoPro-Oscar-1-1-ParamSet
|
||||
cryptopro 31 6 : id-Gost28147-89-CryptoPro-Oscar-1-0-ParamSet
|
||||
cryptopro 31 7 : id-Gost28147-89-CryptoPro-RIC-1-ParamSet
|
||||
|
||||
cryptopro 32 0 : id-GostR3410-94-TestParamSet
|
||||
cryptopro 32 2 : id-GostR3410-94-CryptoPro-A-ParamSet
|
||||
cryptopro 32 3 : id-GostR3410-94-CryptoPro-B-ParamSet
|
||||
cryptopro 32 4 : id-GostR3410-94-CryptoPro-C-ParamSet
|
||||
cryptopro 32 5 : id-GostR3410-94-CryptoPro-D-ParamSet
|
||||
|
||||
cryptopro 33 1 : id-GostR3410-94-CryptoPro-XchA-ParamSet
|
||||
cryptopro 33 2 : id-GostR3410-94-CryptoPro-XchB-ParamSet
|
||||
cryptopro 33 3 : id-GostR3410-94-CryptoPro-XchC-ParamSet
|
||||
|
||||
cryptopro 35 0 : id-GostR3410-2001-TestParamSet
|
||||
cryptopro 35 1 : id-GostR3410-2001-CryptoPro-A-ParamSet
|
||||
cryptopro 35 2 : id-GostR3410-2001-CryptoPro-B-ParamSet
|
||||
cryptopro 35 3 : id-GostR3410-2001-CryptoPro-C-ParamSet
|
||||
|
||||
cryptopro 36 0 : id-GostR3410-2001-CryptoPro-XchA-ParamSet
|
||||
cryptopro 36 1 : id-GostR3410-2001-CryptoPro-XchB-ParamSet
|
||||
|
||||
id-GostR3410-94 1 : id-GostR3410-94-a
|
||||
id-GostR3410-94 2 : id-GostR3410-94-aBis
|
||||
id-GostR3410-94 3 : id-GostR3410-94-b
|
||||
id-GostR3410-94 4 : id-GostR3410-94-bBis
|
||||
|
||||
# Cryptocom LTD GOST OIDs
|
||||
|
||||
cryptocom 1 6 1 : id-Gost28147-89-cc : GOST 28147-89 Cryptocom ParamSet
|
||||
!Cname id-GostR3410-94-cc
|
||||
cryptocom 1 5 3 : gost94cc : GOST 34.10-94 Cryptocom
|
||||
!Cname id-GostR3410-2001-cc
|
||||
cryptocom 1 5 4 : gost2001cc : GOST 34.10-2001 Cryptocom
|
||||
|
||||
cryptocom 1 3 3 : id-GostR3411-94-with-GostR3410-94-cc : GOST R 34.11-94 with GOST R 34.10-94 Cryptocom
|
||||
cryptocom 1 3 4 : id-GostR3411-94-with-GostR3410-2001-cc : GOST R 34.11-94 with GOST R 34.10-2001 Cryptocom
|
||||
|
||||
cryptocom 1 8 1 : id-GostR3410-2001-ParamSet-cc : GOST R 3410-2001 Parameter Set Cryptocom
|
||||
|
||||
# Definitions for Camellia cipher - CBC MODE
|
||||
|
||||
1 2 392 200011 61 1 1 1 2 : CAMELLIA-128-CBC : camellia-128-cbc
|
||||
1 2 392 200011 61 1 1 1 3 : CAMELLIA-192-CBC : camellia-192-cbc
|
||||
1 2 392 200011 61 1 1 1 4 : CAMELLIA-256-CBC : camellia-256-cbc
|
||||
|
||||
# Definitions for Camellia cipher - ECB, CFB, OFB MODE
|
||||
|
||||
!Alias ntt-ds 0 3 4401 5
|
||||
!Alias camellia ntt-ds 3 1 9
|
||||
|
||||
|
@ -1107,7 +1207,6 @@ camellia 44 : CAMELLIA-256-CFB : camellia-256-cfb
|
|||
: CAMELLIA-192-CFB8 : camellia-192-cfb8
|
||||
: CAMELLIA-256-CFB8 : camellia-256-cfb8
|
||||
|
||||
|
||||
# Definitions for SEED cipher - ECB, CBC, OFB mode
|
||||
|
||||
member-body 410 200004 : KISA : kisa
|
||||
|
@ -1117,3 +1216,7 @@ kisa 1 4 : SEED-CBC : seed-cbc
|
|||
kisa 1 5 : SEED-CFB : seed-cfb
|
||||
!Cname seed-ofb128
|
||||
kisa 1 6 : SEED-OFB : seed-ofb
|
||||
|
||||
# There is no OID that just denotes "HMAC" oddly enough...
|
||||
|
||||
: HMAC : hmac
|
||||
|
|
|
@ -67,6 +67,19 @@
|
|||
|
||||
static int pkcs12_add_bag(STACK_OF(PKCS12_SAFEBAG) **pbags, PKCS12_SAFEBAG *bag);
|
||||
|
||||
static int copy_bag_attr(PKCS12_SAFEBAG *bag, EVP_PKEY *pkey, int nid)
|
||||
{
|
||||
int idx;
|
||||
X509_ATTRIBUTE *attr;
|
||||
idx = EVP_PKEY_get_attr_by_NID(pkey, nid, -1);
|
||||
if (idx < 0)
|
||||
return 1;
|
||||
attr = EVP_PKEY_get_attr(pkey, idx);
|
||||
if (!X509at_add1_attr(&bag->attrib, attr))
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert,
|
||||
STACK_OF(X509) *ca, int nid_key, int nid_cert, int iter, int mac_iter,
|
||||
int keytype)
|
||||
|
@ -133,20 +146,15 @@ PKCS12 *PKCS12_create(char *pass, char *name, EVP_PKEY *pkey, X509 *cert,
|
|||
|
||||
if (pkey)
|
||||
{
|
||||
int cspidx;
|
||||
bag = PKCS12_add_key(&bags, pkey, keytype, iter, nid_key, pass);
|
||||
|
||||
if (!bag)
|
||||
goto err;
|
||||
|
||||
cspidx = EVP_PKEY_get_attr_by_NID(pkey, NID_ms_csp_name, -1);
|
||||
if (cspidx >= 0)
|
||||
{
|
||||
X509_ATTRIBUTE *cspattr;
|
||||
cspattr = EVP_PKEY_get_attr(pkey, cspidx);
|
||||
if (!X509at_add1_attr(&bag->attrib, cspattr))
|
||||
goto err;
|
||||
}
|
||||
if (!copy_bag_attr(bag, pkey, NID_ms_csp_name))
|
||||
goto err;
|
||||
if (!copy_bag_attr(bag, pkey, NID_LocalKeySet))
|
||||
goto err;
|
||||
|
||||
if(name && !PKCS12_add_friendlyname(bag, name, -1))
|
||||
goto err;
|
||||
|
|
|
@ -245,7 +245,7 @@ X509_ATTRIBUTE *X509_ATTRIBUTE_create_by_OBJ(X509_ATTRIBUTE **attr,
|
|||
goto err;
|
||||
if (!X509_ATTRIBUTE_set1_data(ret,atrtype,data,len))
|
||||
goto err;
|
||||
|
||||
|
||||
if ((attr != NULL) && (*attr == NULL)) *attr=ret;
|
||||
return(ret);
|
||||
err:
|
||||
|
@ -302,6 +302,13 @@ int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, const void *dat
|
|||
atype = attrtype;
|
||||
}
|
||||
if(!(attr->value.set = sk_ASN1_TYPE_new_null())) goto err;
|
||||
attr->single = 0;
|
||||
/* This is a bit naughty because the attribute should really have
|
||||
* at least one value but some types use and zero length SET and
|
||||
* require this.
|
||||
*/
|
||||
if (attrtype == 0)
|
||||
return 1;
|
||||
if(!(ttmp = ASN1_TYPE_new())) goto err;
|
||||
if ((len == -1) && !(attrtype & MBSTRING_FLAG))
|
||||
{
|
||||
|
@ -311,7 +318,6 @@ int X509_ATTRIBUTE_set1_data(X509_ATTRIBUTE *attr, int attrtype, const void *dat
|
|||
else
|
||||
ASN1_TYPE_set(ttmp, atype, stmp);
|
||||
if(!sk_ASN1_TYPE_push(attr->value.set, ttmp)) goto err;
|
||||
attr->single = 0;
|
||||
return 1;
|
||||
err:
|
||||
X509err(X509_F_X509_ATTRIBUTE_SET1_DATA, ERR_R_MALLOC_FAILURE);
|
||||
|
|
Loading…
Reference in a new issue