Home | History | Annotate | Download | only in crypto

Lines Matching defs:algorithm

47  * <p>There are two ways to generate a key: in an algorithm-independent
48 * manner, and in an algorithm-specific manner.
52 * <li><b>Algorithm-Independent Initialization</b>
66 * algorithm-independent <code>init</code> methods, it is up to the
67 * provider what to do about the algorithm-specific parameters (if any) to be
70 * <li><b>Algorithm-Specific Initialization</b>
71 * <p>For situations where a set of algorithm-specific parameters already
90 * <th>Algorithm</th>
161 * Java Cryptography Architecture Standard Algorithm Name Documentation.
192 // The algorithm
193 private final String algorithm;
209 * @param algorithm the algorithm
212 String algorithm) {
215 this.algorithm = algorithm;
220 pdebug.println("KeyGenerator." + algorithm + " algorithm from: " +
226 private KeyGenerator(String algorithm) throws NoSuchAlgorithmException {
227 this.algorithm = algorithm;
229 GetInstance.getServices("KeyGenerator", algorithm);
235 (algorithm + " KeyGenerator not available");
241 pdebug.println("KeyGenerator." + algorithm + " algorithm from: " +
248 * Returns the algorithm name of this <code>KeyGenerator</code> object.
254 * @return the algorithm name of this <code>KeyGenerator</code> object.
257 return this.algorithm;
262 * for the specified algorithm.
268 * Provider that supports the specified algorithm is returned.
273 * @param algorithm the standard name of the requested key algorithm.
276 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
277 * for information about standard algorithm names.
281 * @exception NullPointerException if the specified algorithm is null.
285 * specified algorithm.
289 public static final KeyGenerator getInstance(String algorithm)
291 return new KeyGenerator(algorithm);
296 * for the specified algorithm.
306 * @param algorithm the standard name of the requested key algorithm.
309 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
310 * for information about standard algorithm names.
316 * @exception NullPointerException if the specified algorithm is null.
319 * implementation for the specified algorithm is not
330 public static final KeyGenerator getInstance(String algorithm,
334 Providers.checkBouncyCastleDeprecation(provider, "KeyGenerator", algorithm);
336 KeyGeneratorSpi.class, algorithm, provider);
338 instance.provider, algorithm);
343 * for the specified algorithm.
350 * @param algorithm the standard name of the requested key algorithm.
353 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
354 * for information about standard algorithm names.
360 * @exception NullPointerException if the specified algorithm is null.
363 * implementation for the specified algorithm is not available
371 public static final KeyGenerator getInstance(String algorithm,
374 Providers.checkBouncyCastleDeprecation(provider, "KeyGenerator", algorithm);
376 KeyGeneratorSpi.class, algorithm, provider);
378 instance.provider, algorithm);
559 * @param keysize the keysize. This is an algorithm-specific metric,
573 * @param keysize the keysize. This is an algorithm-specific metric,