Home | History | Annotate | Download | only in spec

Lines Matching defs:algorithm

38      * SecretKeySpec(byte[] key, String algorithm) method testing. Tests that
45 String algorithm = "Algorithm";
48 new SecretKeySpec(new byte[] {}, algorithm);
55 new SecretKeySpec(null, algorithm);
64 + "in the case of null algorithm.");
68 SecretKeySpec ks = new SecretKeySpec(key, algorithm);
76 * SecretKeySpec(byte[] key, int offset, int len, String algorithm) method
85 String algorithm = "Algorithm";
88 new SecretKeySpec(new byte[] {}, 0, 0, algorithm);
95 new SecretKeySpec(null, 0, 0, algorithm);
104 + "in the case of short key algorithm.");
109 new SecretKeySpec(key, offset, key.length, algorithm);
116 new SecretKeySpec(key, 0, -1, algorithm);
124 SecretKeySpec ks = new SecretKeySpec(key, algorithm);
143 String algorithm = "Algorithm";
146 new SecretKeySpec(key, -1, key.length, algorithm);
161 String algorithm = "Algorithm";
163 SecretKeySpec ks = new SecretKeySpec(key, algorithm);
166 algorithm, ks.getAlgorithm());
174 String algorithm = "Algorithm";
176 SecretKeySpec ks = new SecretKeySpec(key, algorithm);
188 String algorithm = "Algorithm";
190 SecretKeySpec ks = new SecretKeySpec(key, algorithm);
204 SecretKeySpec sks = new SecretKeySpec(key, offset, len, algorithm);
214 String algorithm = "Algorithm";
216 SecretKeySpec ks1 = new SecretKeySpec(key, algorithm);
217 SecretKeySpec ks2 = new SecretKeySpec(key, algorithm);
229 String algorithm = "Algorithm";
231 SecretKeySpec ks1 = new SecretKeySpec(key, algorithm);
232 SecretKeySpec ks2 = new SecretKeySpec(key, algorithm);
233 SecretKeySpec ks3 = new SecretKeySpec(key, algorithm);
254 ks2 = new SecretKeySpec(new byte[] {1}, algorithm);
257 ks2 = new SecretKeySpec(key, "Another Algorithm");