Home | History | Annotate | Download | only in security

Lines Matching defs:KeyFactory

62  * KeyFactory keyFactory = KeyFactory.getInstance("DSA");
63 * PublicKey bobPubKey = keyFactory.generatePublic(bobPubKeySpec);
70 * <p> Android provides the following <code>KeyFactory</code> algorithms:
103 * "{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#KeyFactory">
104 * KeyFactory section</a> of the
119 public class KeyFactory {
122 Debug.getInstance("jca", "KeyFactory");
141 * Creates a KeyFactory object.
146 * to associate with this {@code KeyFactory}
148 protected KeyFactory(KeyFactorySpi keyFacSpi, Provider provider,
155 private KeyFactory(String algorithm) throws NoSuchAlgorithmException {
157 List<Service> list = GetInstance.getServices("KeyFactory", algorithm);
162 (algorithm + " KeyFactory not available");
167 * Returns a KeyFactory object that converts
172 * A new KeyFactory object encapsulating the
180 * See the KeyFactory section in the <a href=
181 * "{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#KeyFactory">
185 * @return the new KeyFactory object.
193 public static KeyFactory getInstance(String algorithm)
195 return new KeyFactory(algorithm);
199 * Returns a KeyFactory object that converts
202 * <p> A new KeyFactory object encapsulating the
211 * See the KeyFactory section in the <a href=
212 * "{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#KeyFactory">
218 * @return the new KeyFactory object.
232 public static KeyFactory getInstance(String algorithm, String provider)
235 Providers.checkBouncyCastleDeprecation(provider, "KeyFactory", algorithm);
236 Instance instance = GetInstance.getInstance("KeyFactory",
238 return new KeyFactory((KeyFactorySpi)instance.impl,
243 * Returns a KeyFactory object that converts
246 * <p> A new KeyFactory object encapsulating the
252 * See the KeyFactory section in the <a href=
253 * "{@docRoot}openjdk-redirect.html?v=8&path=/technotes/guides/security/StandardNames.html#KeyFactory">
259 * @return the new KeyFactory object.
271 public static KeyFactory getInstance(String algorithm, Provider provider)
274 Providers.checkBouncyCastleDeprecation(provider, "KeyFactory", algorithm);
275 Instance instance = GetInstance.getInstance("KeyFactory",
277 return new KeyFactory((KeyFactorySpi)instance.impl,
296 * associated with this {@code KeyFactory}.
299 * {@code KeyFactory}