Home | History | Annotate | Download | only in security

Lines Matching defs:algorithm

33  * parameters to be used with a certain algorithm. Parameter generators
38 * in two different ways: in an algorithm-independent manner, or in an
39 * algorithm-specific manner:
42 * <li>The algorithm-independent approach uses the fact that all parameter
45 * by all algorithm parameters, though it is interpreted differently
47 * the <i>DSA</i> algorithm, "size" corresponds to the size
49 * When using this approach, algorithm-specific parameter generation
54 * using algorithm-specific semantics, which are represented by a set of
55 * algorithm-specific parameter generation values. To generate
73 * <th>Algorithm</th>
104 * Java Cryptography Architecture Standard Algorithm Name Documentation.
123 // The algorithm
124 private String algorithm;
131 * @param algorithm the algorithm
135 String algorithm) {
138 this.algorithm = algorithm;
142 * Returns the standard name of the algorithm this parameter
145 * @return the string name of the algorithm.
148 return this.algorithm;
153 * a set of parameters to be used with the specified algorithm.
159 * Provider that supports the specified algorithm is returned.
164 * @param algorithm the name of the algorithm this
168 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
169 * for information about standard algorithm names.
175 * specified algorithm.
179 public static AlgorithmParameterGenerator getInstance(String algorithm)
182 Object[] objs = Security.getImpl(algorithm,
188 algorithm);
190 throw new NoSuchAlgorithmException(algorithm + " not found");
196 * a set of parameters to be used with the specified algorithm.
206 * @param algorithm the name of the algorithm this
210 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
211 * for information about standard algorithm names.
218 * implementation for the specified algorithm is not
229 public static AlgorithmParameterGenerator getInstance(String algorithm,
235 Object[] objs = Security.getImpl(algorithm,
240 algorithm);
245 * a set of parameters to be used with the specified algorithm.
252 * @param algorithm the string name of the algorithm this
256 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
257 * for information about standard algorithm names.
264 * implementation for the specified algorithm is not available
273 public static AlgorithmParameterGenerator getInstance(String algorithm,
279 Object[] objs = Security.getImpl(algorithm,
284 algorithm);
288 * Returns the provider of this algorithm parameter generator object.
290 * @return the provider of this algorithm parameter generator object
323 * Initializes this parameter generator with a set of algorithm-specific
332 * @param genParamSpec the set of algorithm-specific parameter generation values.
343 * Initializes this parameter generator with a set of algorithm-specific
346 * @param genParamSpec the set of algorithm-specific parameter generation values.