Searched refs:KeyFactory (Results 1 - 25 of 27) sorted by relevance

12

/dalvik/libcore/support/src/test/java/targets/
H A DKeyFactories.java5 import java.security.KeyFactory;
14 abstract class Internal extends KeyFactory {
/dalvik/libcore/security/src/test/java/tests/security/interfaces/
H A DRSAPrivateKeyTest.java24 import java.security.KeyFactory;
42 KeyFactory gen = KeyFactory.getInstance("RSA");
H A DRSAPublicKeyTest.java24 import java.security.KeyFactory;
42 KeyFactory gen = KeyFactory.getInstance("RSA");
H A DRSAKeyTest.java24 import java.security.KeyFactory;
46 KeyFactory gen = KeyFactory.getInstance("RSA");
H A DRSAPrivateCrtKeyTest.java23 import java.security.KeyFactory;
33 KeyFactory gen = KeyFactory.getInstance("RSA");
/dalvik/libcore/security/src/main/java/java/security/
H A DKeyFactory.java27 * {@code KeyFactory} is an engine class that can be used to translate between
32 public class KeyFactory { class
34 private static final String SERVICE = "KeyFactory"; //$NON-NLS-1$
50 * Constructs a new instance of {@code KeyFactory} with the specified
60 protected KeyFactory(KeyFactorySpi keyFacSpi, method in class:KeyFactory
69 * Returns a new instance of {@code KeyFactory} that utilizes the specified
74 * @return a new instance of {@code KeyFactory} that utilizes the specified
79 public static KeyFactory getInstance(String algorithm)
86 return new KeyFactory((KeyFactorySpi)engine.spi, engine.provider, algorithm);
91 * Returns a new instance of {@code KeyFactory} tha
[all...]
H A DKeyRep.java124 KeyFactory kf = KeyFactory.getInstance(algorithm);
140 KeyFactory kf = KeyFactory.getInstance(algorithm);
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/
H A DKeyFactory2Test.java26 import java.security.KeyFactory;
45 @TestTargetClass(KeyFactory.class)
48 private static final String KEYFACTORY_ID = "KeyFactory.";
94 * @tests java.security.KeyFactory#KeyFactory(java.security.KeyFactorySpi,
100 method = "KeyFactory",
112 Provider[] providers = Security.getProviders("KeyFactory.DSA");
121 fail("No providers support KeyFactory.DSA");
126 * @tests java.security.KeyFactory#generatePrivate(java.security.spec.KeySpec)
136 // java.security.KeyFactory
[all...]
H A DKeyFactoryTest.java13 import java.security.KeyFactory;
26 @TestTargetClass(KeyFactory.class)
64 KeyFactory factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME);
85 KeyFactory.getInstance(algorithm);
103 KeyFactory factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME, TEST_PROVIDER_NAME);
134 KeyFactory.getInstance(combination[0], combination[1]);
151 KeyFactory factory = KeyFactory
[all...]
H A DKeyStore2Test.java32 import java.security.KeyFactory;
851 PrivateKey privateKey1 = KeyFactory.getInstance(type).generatePrivate(
1004 privateKey1 = (DSAPrivateKey) KeyFactory.getInstance(type)
1127 DSAPrivateKey privateKey1 = (DSAPrivateKey) KeyFactory.getInstance(type)
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/
H A DKeyAgreementThread.java20 import java.security.KeyFactory;
54 KeyFactory keyFact = KeyFactory.getInstance("DH");
/dalvik/libcore/security/src/test/java/tests/targets/security/
H A DKeyFactoryTest.java25 import java.security.KeyFactory;
39 private KeyFactory factory;
57 private KeyFactory getFactory() {
59 return KeyFactory.getInstance(algorithmName);
H A DDefaultKeys.java18 import java.security.KeyFactory;
197 KeyFactory factory = KeyFactory.getInstance(algorithmName);
203 KeyFactory factory = KeyFactory.getInstance(algorithmName);
/dalvik/libcore/security/src/test/java/tests/security/spec/
H A DEncodedKeySpec2Test.java28 import java.security.KeyFactory;
57 KeyFactory fact = KeyFactory.getInstance("DSA");
/dalvik/libcore/x-net/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DServerKeyExchange.java24 import java.security.KeyFactory;
175 KeyFactory kf = KeyFactory.getInstance("RSA");
H A DServerHandshakeImpl.java27 import java.security.KeyFactory;
252 KeyFactory kf = null;
254 kf = KeyFactory.getInstance("DH");
256 kf = KeyFactory
554 KeyFactory kf = null;
556 kf = KeyFactory.getInstance("DH");
558 kf = KeyFactory.getInstance("DiffieHellman");
H A DHandshakeProtocol.java22 import java.security.KeyFactory;
517 KeyFactory kf = KeyFactory.getInstance("RSA");
H A DClientHandshakeImpl.java23 import java.security.KeyFactory;
445 KeyFactory kf = null;
447 kf = KeyFactory.getInstance("DH");
449 kf = KeyFactory.getInstance("DiffieHellman");
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/
H A DSubjectPublicKeyInfo.java25 import java.security.KeyFactory;
153 publicKey = KeyFactory.getInstance(alg)
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/provider/
H A DWrapCipherSpi.java7 import java.security.KeyFactory;
389 KeyFactory kf = KeyFactory.getInstance(wrappedKeyAlgorithm, "BC");
H A DBrokenJCEBlockCipher.java7 import java.security.KeyFactory;
519 KeyFactory kf = KeyFactory.getInstance(wrappedKeyAlgorithm, "BC");
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/netscape/
H A DNetscapeCertRequest.java7 import java.security.KeyFactory;
120 pubkey = KeyFactory.getInstance(keyAlg.getObjectId().getId(), "BC")
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/
H A DPKCS10CertificationRequest.java7 import java.security.KeyFactory;
353 return KeyFactory.getInstance(keyAlg.getObjectId().getId(), provider).generatePublic(xspec);
364 return KeyFactory.getInstance(keyAlgorithm, provider).generatePublic(xspec);
/dalvik/libcore/security/src/test/java/tests/security/permissions/
H A DJavaxSecurityAuthSubject.java29 import java.security.KeyFactory;
450 KeyFactory factory = KeyFactory.getInstance("RSA");
/dalvik/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DTestKeyPair.java25 import java.security.KeyFactory;
43 private final KeyFactory kf;
585 kf = KeyFactory.getInstance(this.algorithmName);

Completed in 327 milliseconds

12