6 #ifndef CRYPTOPP_OIDS_H 7 #define CRYPTOPP_OIDS_H 15 #define DEFINE_OID(value, name) inline OID name() {return value;} 25 DEFINE_OID(id_fieldType()+2, characteristic_two_field)
26 DEFINE_OID(characteristic_two_field()+3, id_characteristic_two_basis)
27 DEFINE_OID(id_characteristic_two_basis()+1, gnBasis)
28 DEFINE_OID(id_characteristic_two_basis()+2, tpBasis)
29 DEFINE_OID(id_characteristic_two_basis()+3, ppBasis)
31 DEFINE_OID(id_publicKeyType()+1, id_ecPublicKey)
33 DEFINE_OID(ansi_x9_62_curves()+1, ansi_x9_62_curves_prime)
34 DEFINE_OID(ansi_x9_62_curves_prime()+1, secp192r1)
35 DEFINE_OID(ansi_x9_62_curves_prime()+7, secp256r1)
57 DEFINE_OID(oiw_secsig()+2, oiw_secsig_algorithms);
58 DEFINE_OID(oiw_secsig_algorithms()+26, id_sha1);
59 DEFINE_OID(identified_organization()+36, teletrust);
61 DEFINE_OID(teletrust_algorithm()+2+1, id_ripemd160)
62 DEFINE_OID(teletrust_algorithm()+3+2+8+1, teletrust_ellipticCurve)
63 DEFINE_OID(teletrust_ellipticCurve()+1+1, brainpoolP160r1)
64 DEFINE_OID(teletrust_ellipticCurve()+1+3, brainpoolP192r1)
65 DEFINE_OID(teletrust_ellipticCurve()+1+5, brainpoolP224r1)
66 DEFINE_OID(teletrust_ellipticCurve()+1+7, brainpoolP256r1)
67 DEFINE_OID(teletrust_ellipticCurve()+1+9, brainpoolP320r1)
68 DEFINE_OID(teletrust_ellipticCurve()+1+11, brainpoolP384r1)
69 DEFINE_OID(teletrust_ellipticCurve()+1+13, brainpoolP512r1)
70 DEFINE_OID(identified_organization()+132, certicom);
71 DEFINE_OID(certicom()+0, certicom_ellipticCurve);
74 DEFINE_OID(certicom_ellipticCurve()+6, secp112r1);
75 DEFINE_OID(certicom_ellipticCurve()+7, secp112r2);
76 DEFINE_OID(certicom_ellipticCurve()+8, secp160r1);
77 DEFINE_OID(certicom_ellipticCurve()+9, secp160k1);
78 DEFINE_OID(certicom_ellipticCurve()+10, secp256k1);
79 DEFINE_OID(certicom_ellipticCurve()+28, secp128r1);
80 DEFINE_OID(certicom_ellipticCurve()+29, secp128r2);
81 DEFINE_OID(certicom_ellipticCurve()+30, secp160r2);
82 DEFINE_OID(certicom_ellipticCurve()+31, secp192k1);
83 DEFINE_OID(certicom_ellipticCurve()+32, secp224k1);
84 DEFINE_OID(certicom_ellipticCurve()+33, secp224r1);
85 DEFINE_OID(certicom_ellipticCurve()+34, secp384r1);
86 DEFINE_OID(certicom_ellipticCurve()+35, secp521r1);
88 DEFINE_OID(certicom_ellipticCurve()+1, sect163k1);
89 DEFINE_OID(certicom_ellipticCurve()+2, sect163r1);
90 DEFINE_OID(certicom_ellipticCurve()+3, sect239k1);
91 DEFINE_OID(certicom_ellipticCurve()+4, sect113r1);
92 DEFINE_OID(certicom_ellipticCurve()+5, sect113r2);
93 DEFINE_OID(certicom_ellipticCurve()+15, sect163r2);
94 DEFINE_OID(certicom_ellipticCurve()+16, sect283k1);
95 DEFINE_OID(certicom_ellipticCurve()+17, sect283r1);
96 DEFINE_OID(certicom_ellipticCurve()+22, sect131r1);
97 DEFINE_OID(certicom_ellipticCurve()+23, sect131r2);
98 DEFINE_OID(certicom_ellipticCurve()+24, sect193r1);
99 DEFINE_OID(certicom_ellipticCurve()+25, sect193r2);
100 DEFINE_OID(certicom_ellipticCurve()+26, sect233k1);
101 DEFINE_OID(certicom_ellipticCurve()+27, sect233r1);
102 DEFINE_OID(certicom_ellipticCurve()+36, sect409k1);
103 DEFINE_OID(certicom_ellipticCurve()+37, sect409r1);
104 DEFINE_OID(certicom_ellipticCurve()+38, sect571k1);
105 DEFINE_OID(certicom_ellipticCurve()+39, sect571r1);
109 DEFINE_OID(joint_iso_ccitt_us()+1, us_organization)
#define NAMESPACE_BEGIN(x)
#define DEFINE_OID(value, name)
Classes and functions for working with ANS.1 objects.