Home | History | Annotate | Download | only in security

Lines Matching defs:algorithm

74  *       <th>Algorithm</th>
105 * Java Cryptography Architecture Standard Algorithm Name Documentation.
124 // The algorithm associated with this key factory
125 private final String algorithm;
145 * @param algorithm the name of the algorithm
149 String algorithm) {
152 this.algorithm = algorithm;
155 private KeyFactory(String algorithm) throws NoSuchAlgorithmException {
156 this.algorithm = algorithm;
157 List<Service> list = GetInstance.getServices("KeyFactory", algorithm);
162 (algorithm + " KeyFactory not available");
168 * public/private keys of the specified algorithm.
174 * Provider that supports the specified algorithm is returned.
179 * @param algorithm the name of the requested key algorithm.
182 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
183 * for information about standard algorithm names.
189 * specified algorithm.
193 public static KeyFactory getInstance(String algorithm)
195 return new KeyFactory(algorithm);
200 * public/private keys of the specified algorithm.
210 * @param algorithm the name of the requested key algorithm.
213 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
214 * for information about standard algorithm names.
221 * implementation for the specified algorithm is not
232 public static KeyFactory getInstance(String algorithm, String provider)
235 Providers.checkBouncyCastleDeprecation(provider, "KeyFactory", algorithm);
237 KeyFactorySpi.class, algorithm, provider);
239 instance.provider, algorithm);
244 * public/private keys of the specified algorithm.
251 * @param algorithm the name of the requested key algorithm.
254 * Java Cryptography Architecture Standard Algorithm Name Documentation</a>
255 * for information about standard algorithm names.
262 * implementation for the specified algorithm is not available
271 public static KeyFactory getInstance(String algorithm, Provider provider)
274 Providers.checkBouncyCastleDeprecation(provider, "KeyFactory", algorithm);
276 KeyFactorySpi.class, algorithm, provider);
278 instance.provider, algorithm);
295 * Gets the name of the algorithm
298 * @return the name of the algorithm associated with this
302 return this.algorithm;
437 * (e.g., the given key has an unrecognized algorithm or format).