Add some missing OID's used in X.509 certificates

This commit is contained in:
Jeffrey Walton 2019-10-01 17:56:46 -04:00
parent 93657b074a
commit 2e284f6b28

6
oids.h
View File

@ -56,6 +56,12 @@ DEFINE_OID(1, iso)
//DEFINE_OID(ansi_x9_62_curves_prime()+5, secp239v2)
//DEFINE_OID(ansi_x9_62_curves_prime()+6, secp239v3)
DEFINE_OID(ansi_x9_62_curves_prime()+7, secp256r1) // secp256v1
DEFINE_OID(ansi_x9_62()+4, ansi_signatures)
DEFINE_OID(ansi_signatures()+3, ecdsa_with_sha2)
DEFINE_OID(ecdsa_with_sha2()+1, ecdsa_with_sha224)
DEFINE_OID(ecdsa_with_sha2()+2, ecdsa_with_sha256)
DEFINE_OID(ecdsa_with_sha2()+3, ecdsa_with_sha384)
DEFINE_OID(ecdsa_with_sha2()+4, ecdsa_with_sha512)
DEFINE_OID(iso_us()+113549, rsadsi)
DEFINE_OID(rsadsi()+1, pkcs)
DEFINE_OID(pkcs()+1, pkcs_1)