Private constructor to enforce singleton pattern
// First, encryption algorithms...
// MD2withRSA
DBEntry oid = new DBEntry("1.2.840.113549.1.1.2");
DBEntry alg = new DBEntry("MD2withRSA");
wireTogether(oid, alg);
// MD5withRSA
oid = new DBEntry("1.2.840.113549.1.1.4");
alg = new DBEntry("MD5withRSA");
wireTogether(oid, alg);
// SHA1withRSA
oid = new DBEntry("1.2.840.113549.1.1.5");
alg = new DBEntry("SHA1withRSA");
wireTogether(oid, alg);
// SHA1withDSA
oid = new DBEntry("1.2.840.10040.4.3");
alg = new DBEntry("SHA1withDSA");
wireTogether(oid, alg);
// message digest algorithms
// SHA and SHA-1
oid = new DBEntry("1.3.14.3.2.26");
alg = new DBEntry("SHA");
DBEntry alg2 = new DBEntry("SHA-1");
wireTogether(oid, alg);
wireTogether(oid, alg2);
// MD5
oid = new DBEntry("1.2.840.113549.2.5");
alg = new DBEntry("MD5");
wireTogether(oid, alg);
// key factories
// RSA
oid = new DBEntry("1.2.840.113549.1.1.1");
alg = new DBEntry("RSA");
wireTogether(oid, alg);
// DSA
oid = new DBEntry("1.2.840.10040.4.1");
DBEntry oid2 = new DBEntry("1.3.14.3.2.12");
alg = new DBEntry("DSA");
wireTogether(oid, alg);
wireTogether(oid2, alg);
// DiffieHellman
oid = new DBEntry("1.2.840.10046.2.1");
alg = new DBEntry("DiffieHellman");
wireTogether(oid, alg);