Lines Matching defs:algorithm

48  * <p>There are two ways to generate a key: in an algorithm-independent
49 * manner, and in an algorithm-specific manner.
67 * algorithm-independent {@code init} methods, it is up to the
68 * provider what to do about the algorithm-specific parameters (if any) to be
72 * <p>For situations where a set of algorithm-specific parameters already
138 // The algorithm
139 private final String algorithm;
155 * @param algorithm the algorithm
158 String algorithm) {
161 this.algorithm = algorithm;
164 pdebug.println("KeyGenerator." + algorithm + " algorithm from: " +
169 private KeyGenerator(String algorithm) throws NoSuchAlgorithmException {
170 this.algorithm = algorithm;
172 GetInstance.getServices("KeyGenerator", algorithm);
178 (algorithm + " KeyGenerator not available");
182 pdebug.println("KeyGenerator." + algorithm + " algorithm from: " +
192 * Returns the algorithm name of this {@code KeyGenerator} object.
198 * @return the algorithm name of this {@code KeyGenerator} object.
201 return this.algorithm;
206 * for the specified algorithm.
212 * Provider that supports the specified algorithm is returned.
221 * the preferred provider order for the specified algorithm. This
225 * @param algorithm the standard name of the requested key algorithm.
229 * for information about standard algorithm names.
235 * specified algorithm
237 * @throws NullPointerException if {@code algorithm} is {@code null}
241 public static final KeyGenerator getInstance(String algorithm)
243 Objects.requireNonNull(algorithm, "null algorithm name");
244 return new KeyGenerator(algorithm);
249 * for the specified algorithm.
259 * @param algorithm the standard name of the requested key algorithm.
263 * for information about standard algorithm names.
273 * implementation for the specified algorithm is not
279 * @throws NullPointerException if {@code algorithm} is {@code null}
283 public static final KeyGenerator getInstance(String algorithm,
286 Objects.requireNonNull(algorithm, "null algorithm name");
288 KeyGeneratorSpi.class, algorithm, provider);
290 instance.provider, algorithm);
295 * for the specified algorithm.
302 * @param algorithm the standard name of the requested key algorithm.
306 * for information about standard algorithm names.
316 * implementation for the specified algorithm is not available
319 * @throws NullPointerException if {@code algorithm} is {@code null}
323 public static final KeyGenerator getInstance(String algorithm,
325 Objects.requireNonNull(algorithm, "null algorithm name");
327 KeyGeneratorSpi.class, algorithm, provider);
329 instance.provider, algorithm);
510 * @param keysize the keysize. This is an algorithm-specific metric,
524 * @param keysize the keysize. This is an algorithm-specific metric,