/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KeyFactory2Test.java | 22 import java.security.KeyFactory; 111 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], providerName); in test_generatePrivateLjava_security_spec_KeySpec() 139 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], in test_generatePublicLjava_security_spec_KeySpec() 167 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], in test_getAlgorithm() 178 assertNotNull(KeyFactory.getInstance(keyfactAlgs[i])); in test_getInstanceLjava_lang_String() 190 KeyFactory.getInstance("DSA", providers[i].getName()); in test_getInstanceLjava_lang_StringLjava_lang_String() 196 KeyFactory.getInstance("DSA", (String) null); in test_getInstanceLjava_lang_StringLjava_lang_String() 212 KeyFactory.getInstance("DSA", providers[i]); in test_getInstanceLjava_lang_StringLjava_security_Provider() 217 KeyFactory.getInstance("DSA", (Provider) null); in test_getInstanceLjava_lang_StringLjava_security_Provider() 230 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], in test_getKeySpecLjava_security_KeyLjava_lang_Class() [all …]
|
D | KeyFactoryTest.java | 12 import java.security.KeyFactory; 57 KeyFactory factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME); in testGetInstanceString() 78 KeyFactory.getInstance(algorithm); in testGetInstanceString() 91 KeyFactory factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME, TEST_PROVIDER_NAME); in testGetInstanceStringString() 123 KeyFactory.getInstance(combination[0], combination[1]); in testGetInstanceStringString() 135 KeyFactory factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME, provider); in testGetInstanceStringProvider() 171 KeyFactory.getInstance(algorithm, provider); in testGetInstanceStringProvider() 183 KeyFactory factory = null; in testGeneratePublic() 185 factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME); in testGeneratePublic() 232 KeyFactory factory = null; in testGeneratePrivate() [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyFactory.java | 121 public class KeyFactory { class 150 protected KeyFactory(KeyFactorySpi keyFacSpi, Provider provider, in KeyFactory() method in KeyFactory 157 private KeyFactory(String algorithm) throws NoSuchAlgorithmException { in KeyFactory() method in KeyFactory 193 public static KeyFactory getInstance(String algorithm) in getInstance() 200 return new KeyFactory(algorithm); in getInstance() 235 public static KeyFactory getInstance(String algorithm, String provider) in getInstance() 246 return new KeyFactory((KeyFactorySpi)instance.impl, in getInstance() 278 public static KeyFactory getInstance(String algorithm, Provider provider) in getInstance() 289 return new KeyFactory((KeyFactorySpi)instance.impl, in getInstance()
|
D | KeyRep.java | 170 KeyFactory f = KeyFactory.getInstance(algorithm); in readResolve() 173 KeyFactory f = KeyFactory.getInstance(algorithm); in readResolve()
|
/libcore/luni/src/test/java/tests/security/interfaces/ |
D | RSAPrivateKeyTest.java | 21 import java.security.KeyFactory; 32 KeyFactory gen = KeyFactory.getInstance("RSA"); in test_getPrivateExponent()
|
D | RSAPublicKeyTest.java | 21 import java.security.KeyFactory; 32 KeyFactory gen = KeyFactory.getInstance("RSA"); in test_getPublicExponent()
|
D | RSAPrivateCrtKeyTest.java | 20 import java.security.KeyFactory; 29 KeyFactory gen = KeyFactory.getInstance("RSA"); in setUp()
|
D | RSAKeyTest.java | 21 import java.security.KeyFactory; 36 KeyFactory gen = KeyFactory.getInstance("RSA"); in test_getModulus()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestKeyPair.java | 25 import java.security.KeyFactory; 43 private final KeyFactory kf; 585 kf = KeyFactory.getInstance(this.algorithmName); in TestKeyPair()
|
/libcore/ojluni/src/test/java/security/KeyAgreement/ |
D | NegativeTest.java | 48 import java.security.KeyFactory; 152 KeyFactory kf = KeyFactory.getInstance(kpgAlgo, provider); in testModifiedKeyEncodingTest() 279 KeyFactory kf = KeyFactory.getInstance(kpgAlgo, provider); in testInvalidSpec() 323 KeyFactory kf = KeyFactory.getInstance(kpgAlgo, provider); in testInCompatibleSpec()
|
D | KeySpecTest.java | 41 import java.security.KeyFactory; 130 KeyFactory kf = KeyFactory.getInstance(kpgAlgo, provider); in testKeySpecs() 170 KeyFactory kf = KeyFactory.getInstance(kpgAlgo, provider); in testEncodedKeySpecs()
|
D | KeySizeTest.java | 49 import java.security.KeyFactory; 127 KeyFactory kf = KeyFactory.getInstance(kpgAlgo, provider); in testKeyAttributes()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
D | KeyAgreementThread.java | 20 import java.security.KeyFactory; 52 KeyFactory keyFact = KeyFactory.getInstance("DH"); in getSecretKey()
|
/libcore/luni/src/test/java/tests/security/spec/ |
D | EncodedKeySpec2Test.java | 23 import java.security.KeyFactory; 45 KeyFactory fact = KeyFactory.getInstance("DSA"); in test_getEncoded()
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
D | RandomPrivateKeyX509ExtendedKeyManager.java | 21 import java.security.KeyFactory; 54 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); in getPrivateKey()
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
D | BasicChecker.java | 33 import java.security.KeyFactory; 285 KeyFactory kf = KeyFactory.getInstance("DSA"); in makeInheritedParamsKey()
|
D | AlgorithmChecker.java | 36 import java.security.KeyFactory; 331 KeyFactory kf = KeyFactory.getInstance("DSA"); in check()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509KeyManagerTest.java | 5 import java.security.KeyFactory; 627 KeyFactory kf = KeyFactory.getInstance("RSA"); in init()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X509Key.java | 33 import java.security.KeyFactory; 220 KeyFactory keyFac = KeyFactory.getInstance(algid.getName()); in buildX509Key()
|
/libcore/ojluni/src/test/java/security/Provider/ |
D | ProvidersTest.java | 26 import java.security.KeyFactory; 87 return KeyFactory.getInstance("EC"); in CONSCRYPT_ALGORITHMS.add() 448 KeyFactory.getInstance(algorithm, bcProvider); in testRemovedBCAlgorithms()
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
D | PKCS8Key.java | 34 import java.security.KeyFactory; 183 KeyFactory keyFac = KeyFactory.getInstance(algid.getName()); in buildPKCS8Key()
|
/libcore/ojluni/src/test/java/security/KeyStore/ |
D | TestKeystoreBasic.java | 30 import java.security.KeyFactory; 153 PrivateKey privateKey = KeyFactory.getInstance("RSA") in runTest()
|
/libcore/ojluni/annotations/hiddenapi/java/lang/reflect/ |
D | Proxy.java | 192 private static final class KeyFactory class in Proxy 196 private KeyFactory() { in KeyFactory() method in Proxy.KeyFactory
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | SignatureTest.java | 28 import java.security.KeyFactory; 314 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); in createPublicKey()
|
/libcore/ojluni/src/test/java/security/cert/ |
D | X509CertSelectorTest.java | 36 import java.security.KeyFactory; 501 KeyFactory keyFactory = KeyFactory.getInstance("DSA"); in testSubjectPublicKey()
|