31 #include <s32std.h> |
31 #include <s32std.h> |
32 #include <signed.h> |
32 #include <signed.h> |
33 #include <x500dn.h> |
33 #include <x500dn.h> |
34 #include <asn1enc.h> |
34 #include <asn1enc.h> |
35 |
35 |
|
36 _LIT(KRSA,"1.2.840.113549.1.1.1"); |
36 _LIT(KMD2WithRSA,"1.2.840.113549.1.1.2"); |
37 _LIT(KMD2WithRSA,"1.2.840.113549.1.1.2"); |
37 _LIT(KMD5WithRSA,"1.2.840.113549.1.1.4"); |
38 _LIT(KMD5WithRSA,"1.2.840.113549.1.1.4"); |
38 _LIT(KSHA1WithRSA,"1.2.840.113549.1.1.5"); |
39 _LIT(KSHA1WithRSA,"1.2.840.113549.1.1.5"); |
39 _LIT(KDSAWithSHA1,"1.2.840.10040.4.3"); |
40 |
40 |
41 _LIT(KSHA256WithRSA,"1.2.840.113549.1.1.11"); |
41 _LIT(KRSA,"1.2.840.113549.1.1.1"); |
42 _LIT(KSHA384WithRSA,"1.2.840.113549.1.1.12"); |
|
43 _LIT(KSHA512WithRSA,"1.2.840.113549.1.1.13"); |
|
44 _LIT(KSHA224WithRSA,"1.2.840.113549.1.1.14"); |
|
45 |
|
46 _LIT(KDSA,"1.2.840.10040.4.1"); |
|
47 _LIT(KDSAWithSHA1, "1.2.840.10040.4.3"); |
|
48 |
42 _LIT(KDH,"1.2.840.10046.2.1"); |
49 _LIT(KDH,"1.2.840.10046.2.1"); |
43 _LIT(KDSA,"1.2.840.10040.4.1"); |
50 |
44 _LIT(KMD5,"1.2.840.113549.2.5"); |
51 _LIT(KMD5,"1.2.840.113549.2.5"); |
45 _LIT(KMD2,"1.2.840.113549.2.2"); |
52 _LIT(KMD2,"1.2.840.113549.2.2"); |
46 _LIT(KSHA1,"1.3.14.3.2.26"); |
53 _LIT(KSHA1,"1.3.14.3.2.26"); |
|
54 |
|
55 _LIT(KSHA256,"2.16.840.1.101.3.4.2.1"); |
|
56 _LIT(KSHA384,"2.16.840.1.101.3.4.2.2"); |
|
57 _LIT(KSHA512,"2.16.840.1.101.3.4.2.3"); |
|
58 _LIT(KSHA224,"2.16.840.1.101.3.4.2.4"); |
|
59 |
47 |
60 |
48 /** The maximum number of allowed data elements. |
61 /** The maximum number of allowed data elements. |
49 * |
62 * |
50 * @since v7.0 */ |
63 * @since v7.0 */ |
51 const TInt KX509MaxDataElements = 10; |
64 const TInt KX509MaxDataElements = 10; |