Lines Matching refs:algorithm

25  * generating parameters for the algorithm it was initialized with.
44 //Store used algorithm
45 private final String algorithm;
55 * @param algorithm
56 * the name of the algorithm.
60 String algorithm) {
62 this.algorithm = algorithm;
67 * Returns the name of the algorithm.
69 * @return the name of the algorithm.
72 return algorithm;
77 * specified algorithm.
79 * @param algorithm
80 * the name of the algorithm to use.
82 * specified algorithm.
84 * if the specified algorithm is not available.
86 * if {@code algorithm} is {@code null}.
88 public static AlgorithmParameterGenerator getInstance(String algorithm)
90 if (algorithm == null) {
91 throw new NullPointerException("algorithm == null");
93 Engine.SpiAndProvider sap = ENGINE.getInstance(algorithm, null);
95 sap.provider, algorithm);
100 * specified provider for the specified algorithm.
102 * @param algorithm
103 * the name of the algorithm to use.
108 * specified algorithm.
110 * if the specified algorithm is not available.
115 * if {@code algorithm} is {@code null}.
117 public static AlgorithmParameterGenerator getInstance(String algorithm,
127 return getInstance(algorithm, impProvider);
132 * specified provider for the specified algorithm.
134 * @param algorithm
135 * the name of the algorithm to use.
139 * specified algorithm.
141 * if the specified algorithm is not available.
143 * if {@code algorithm} is {@code null}.
146 public static AlgorithmParameterGenerator getInstance(String algorithm,
151 if (algorithm == null) {
152 throw new NullPointerException("algorithm == null");
154 Object spi = ENGINE.getInstance(algorithm, provider, null);
156 algorithm);
229 * algorithm.
231 * @return {@code AlgorithmParameters} for this generator's algorithm.