Lines Matching refs:getInstance
27 * @summary Make sure algorithm names provided to getInstance() are
38 MessageDigest md = MessageDigest.getInstance("SHA");
39 md = MessageDigest.getInstance("sha");
40 md = MessageDigest.getInstance("Sha-1");
41 md = MessageDigest.getInstance("shA1");
44 md = MessageDigest.getInstance("SHA", "SUN");
45 md = MessageDigest.getInstance("sha", "SUN");
46 md = MessageDigest.getInstance("Sha-1", "SUN");
47 md = MessageDigest.getInstance("shA1", "SUN");
50 KeyPairGenerator kGen = KeyPairGenerator.getInstance("DSA");
51 kGen = KeyPairGenerator.getInstance("dsa");
52 kGen = KeyPairGenerator.getInstance("dSA");
53 kGen = KeyPairGenerator.getInstance("OId.1.2.840.10040.4.1");
54 kGen = KeyPairGenerator.getInstance("1.2.840.10040.4.1");
57 kGen = KeyPairGenerator.getInstance("DSA", "SUN");
58 kGen = KeyPairGenerator.getInstance("dsa", "SUN");
59 kGen = KeyPairGenerator.getInstance("dSA", "SUN");
60 kGen = KeyPairGenerator.getInstance("OId.1.2.840.10040.4.1",
62 kGen = KeyPairGenerator.getInstance("1.2.840.10040.4.1", "SUN");