Lines Matching defs:KeyFactory

62  * KeyFactory keyFactory = KeyFactory.getInstance("DSA");
71 * following standard <code>KeyFactory</code> algorithms:
78 * "{@docRoot}/../technotes/guides/security/StandardNames.html#KeyFactory">
79 * KeyFactory section</a> of the
96 public class KeyFactory {
99 Debug.getInstance("jca", "KeyFactory");
118 * Creates a KeyFactory object.
123 * to associate with this <tt>KeyFactory</tt>
125 protected KeyFactory(KeyFactorySpi keyFacSpi, Provider provider,
132 private KeyFactory(String algorithm) throws NoSuchAlgorithmException {
134 List<Service> list = GetInstance.getServices("KeyFactory", algorithm);
139 (algorithm + " KeyFactory not available");
144 * Returns a KeyFactory object that converts
149 * A new KeyFactory object encapsulating the
157 * See the KeyFactory section in the <a href=
158 * "{@docRoot}/../technotes/guides/security/StandardNames.html#KeyFactory">
162 * @return the new KeyFactory object.
170 public static KeyFactory getInstance(String algorithm)
172 return new KeyFactory(algorithm);
176 * Returns a KeyFactory object that converts
179 * <p> A new KeyFactory object encapsulating the
188 * See the KeyFactory section in the <a href=
189 * "{@docRoot}/../technotes/guides/security/StandardNames.html#KeyFactory">
195 * @return the new KeyFactory object.
209 public static KeyFactory getInstance(String algorithm, String provider)
211 Instance instance = GetInstance.getInstance("KeyFactory",
213 return new KeyFactory((KeyFactorySpi)instance.impl,
218 * Returns a KeyFactory object that converts
221 * <p> A new KeyFactory object encapsulating the
227 * See the KeyFactory section in the <a href=
228 * "{@docRoot}/../technotes/guides/security/StandardNames.html#KeyFactory">
234 * @return the new KeyFactory object.
246 public static KeyFactory getInstance(String algorithm, Provider provider)
248 Instance instance = GetInstance.getInstance("KeyFactory",
250 return new KeyFactory((KeyFactorySpi)instance.impl,
269 * associated with this <tt>KeyFactory</tt>.
272 * <tt>KeyFactory</tt>