/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 | 9 import java.security.KeyFactory; 54 KeyFactory factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME); in testGetInstanceString() 75 KeyFactory.getInstance(algorithm); in testGetInstanceString() 88 KeyFactory factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME, TEST_PROVIDER_NAME); in testGetInstanceStringString() 119 KeyFactory.getInstance(combination[0], combination[1]); in testGetInstanceStringString() 131 KeyFactory factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME, provider); in testGetInstanceStringProvider() 167 KeyFactory.getInstance(algorithm, provider); in testGetInstanceStringProvider() 179 KeyFactory factory = null; in testGeneratePublic() 181 factory = KeyFactory.getInstance(TEST_KEYFACTORY_NAME); in testGeneratePublic() 228 KeyFactory factory = null; in testGeneratePrivate() [all …]
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyFactory.java | 119 public class KeyFactory { class 148 protected KeyFactory(KeyFactorySpi keyFacSpi, Provider provider, in KeyFactory() method in KeyFactory 155 private KeyFactory(String algorithm) throws NoSuchAlgorithmException { in KeyFactory() method in KeyFactory 193 public static KeyFactory getInstance(String algorithm) in getInstance() 195 return new KeyFactory(algorithm); in getInstance() 232 public static KeyFactory getInstance(String algorithm, String provider) in getInstance() 238 return new KeyFactory((KeyFactorySpi)instance.impl, in getInstance() 271 public static KeyFactory getInstance(String algorithm, Provider provider) in getInstance() 277 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 | RSAKeyTest.java | 21 import java.security.KeyFactory; 36 KeyFactory gen = KeyFactory.getInstance("RSA"); in test_getModulus()
|
D | RSAPrivateCrtKeyTest.java | 20 import java.security.KeyFactory; 29 KeyFactory gen = KeyFactory.getInstance("RSA"); in setUp()
|
/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; 124 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/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/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/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()
|