]>
Commit | Line | Data |
---|---|---|
d2027098 DSH |
1 | |
2 | typedef int nid_triple[3]; | |
3 | ||
4 | static const nid_triple sigoid_srt[] = | |
5 | { | |
f6707389 DSH |
6 | {NID_md2WithRSAEncryption, NID_md2, NID_rsaEncryption}, |
7 | {NID_md5WithRSAEncryption, NID_md5, NID_rsaEncryption}, | |
8 | {NID_shaWithRSAEncryption, NID_sha, NID_rsaEncryption}, | |
9 | {NID_sha1WithRSAEncryption, NID_sha1, NID_rsaEncryption}, | |
10 | {NID_dsaWithSHA, NID_sha, NID_dsa}, | |
11 | {NID_dsaWithSHA1_2, NID_sha1, NID_dsa_2}, | |
12 | {NID_mdc2WithRSA, NID_mdc2, NID_rsaEncryption}, | |
13 | {NID_md5WithRSA, NID_md5, NID_rsa}, | |
14 | {NID_dsaWithSHA1, NID_sha1, NID_dsa}, | |
15 | {NID_sha1WithRSA, NID_sha1, NID_rsa}, | |
16 | {NID_ripemd160WithRSA, NID_ripemd160, NID_rsaEncryption}, | |
17 | {NID_md4WithRSAEncryption, NID_md4, NID_rsaEncryption}, | |
18 | {NID_ecdsa_with_SHA1, NID_sha1, NID_X9_62_id_ecPublicKey}, | |
19 | {NID_sha256WithRSAEncryption, NID_sha256, NID_rsaEncryption}, | |
20 | {NID_sha384WithRSAEncryption, NID_sha384, NID_rsaEncryption}, | |
21 | {NID_sha512WithRSAEncryption, NID_sha512, NID_rsaEncryption}, | |
22 | {NID_sha224WithRSAEncryption, NID_sha224, NID_rsaEncryption}, | |
f6707389 DSH |
23 | {NID_ecdsa_with_Recommended, NID_undef, NID_X9_62_id_ecPublicKey}, |
24 | {NID_ecdsa_with_Specified, NID_undef, NID_X9_62_id_ecPublicKey}, | |
25 | {NID_ecdsa_with_SHA224, NID_sha224, NID_X9_62_id_ecPublicKey}, | |
26 | {NID_ecdsa_with_SHA256, NID_sha256, NID_X9_62_id_ecPublicKey}, | |
27 | {NID_ecdsa_with_SHA384, NID_sha384, NID_X9_62_id_ecPublicKey}, | |
28 | {NID_ecdsa_with_SHA512, NID_sha512, NID_X9_62_id_ecPublicKey}, | |
29 | {NID_dsa_with_SHA224, NID_sha224, NID_dsa}, | |
30 | {NID_dsa_with_SHA256, NID_sha256, NID_dsa}, | |
98d8baab DSH |
31 | {NID_id_GostR3411_94_with_GostR3410_2001, NID_id_GostR3411_94, NID_id_GostR3410_2001}, |
32 | {NID_id_GostR3411_94_with_GostR3410_94, NID_id_GostR3411_94, NID_id_GostR3410_94}, | |
33 | {NID_id_GostR3411_94_with_GostR3410_94_cc, NID_id_GostR3411_94, NID_id_GostR3410_94_cc}, | |
34 | {NID_id_GostR3411_94_with_GostR3410_2001_cc, NID_id_GostR3411_94, NID_id_GostR3410_2001_cc}, | |
d2027098 DSH |
35 | }; |
36 | ||
37 | static const nid_triple * const sigoid_srt_xref[] = | |
38 | { | |
98d8baab DSH |
39 | &sigoid_srt[17], |
40 | &sigoid_srt[18], | |
f6707389 DSH |
41 | &sigoid_srt[0], |
42 | &sigoid_srt[1], | |
43 | &sigoid_srt[7], | |
44 | &sigoid_srt[2], | |
45 | &sigoid_srt[4], | |
46 | &sigoid_srt[3], | |
47 | &sigoid_srt[9], | |
48 | &sigoid_srt[5], | |
49 | &sigoid_srt[8], | |
50 | &sigoid_srt[12], | |
51 | &sigoid_srt[6], | |
52 | &sigoid_srt[10], | |
53 | &sigoid_srt[11], | |
54 | &sigoid_srt[13], | |
f6707389 | 55 | &sigoid_srt[24], |
98d8baab | 56 | &sigoid_srt[20], |
f6707389 | 57 | &sigoid_srt[14], |
98d8baab | 58 | &sigoid_srt[21], |
f6707389 | 59 | &sigoid_srt[15], |
98d8baab | 60 | &sigoid_srt[22], |
f6707389 | 61 | &sigoid_srt[16], |
f6707389 | 62 | &sigoid_srt[23], |
f6707389 | 63 | &sigoid_srt[19], |
98d8baab DSH |
64 | &sigoid_srt[25], |
65 | &sigoid_srt[26], | |
66 | &sigoid_srt[27], | |
67 | &sigoid_srt[28], | |
d2027098 DSH |
68 | }; |
69 |