/libcore/support/src/test/java/libcore/javax/net/ssl/ |
RandomPrivateKeyX509ExtendedKeyManager.java | 21 import java.security.KeyFactory; 54 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); 57 keyFactory.getKeySpec(originalPrivateKey, RSAPrivateKeySpec.class); 70 keyFactory.getKeySpec(originalPrivateKey, DSAPrivateKeySpec.class);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
JcaJceHelper.java | 5 import java.security.KeyFactory; 46 KeyFactory createKeyFactory(String algorithm)
|
/system/extras/verity/ |
Utils.java | 31 import java.security.KeyFactory; 176 return KeyFactory.getInstance(algOid).generatePrivate(spec); 194 KeyFactory factory = KeyFactory.getInstance("RSA"); 201 KeyFactory factory = KeyFactory.getInstance("RSA"); 223 KeyFactory factory = KeyFactory.getInstance("EC");
|
/system/keymaster/include/keymaster/ |
android_keymaster.h | 26 class KeyFactory; 88 const KeyFactory** factory, UniquePtr<Key>* key);
|
keymaster_context.h | 30 class KeyFactory; 90 virtual KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0; 101 * This method is generally called only by KeyFactory subclassses.
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
EcdhTest.java | 22 import java.security.KeyFactory; 107 KeyFactory kf = KeyFactory.getInstance("EC"); 113 KeyFactory kf = KeyFactory.getInstance("EC"); [all...] |
DhTest.java | 23 import java.security.KeyFactory; 387 KeyFactory kf = KeyFactory.getInstance("DH");
|
DsaTest.java | 36 import java.security.KeyFactory; [all...] |
/libcore/luni/src/test/java/libcore/javax/crypto/ |
ECDHKeyAgreementTest.java | 29 import java.security.KeyFactory; 385 Provider[] providers = Security.getProviders("KeyFactory.EC"); 390 // Do not test AndroidKeyStore's KeyFactory. It only handles Android Keystore-backed keys. 391 // It's OKish not to test AndroidKeyStore's KeyFactory here because it's tested by 409 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); 410 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey)); 415 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider) [all...] |
/test/vts/web/dashboard/src/main/java/com/android/vts/util/ |
DatastoreHelper.java | 36 import com.google.appengine.api.datastore.KeyFactory; 66 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName); 67 Key startKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, lowerBound); 71 .setAncestor(KeyFactory.createKey(TestEntity.KIND, testName)) 89 Key testKey = KeyFactory.createKey(TestEntity.KIND, testName); 90 Key endKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, upperBound); 94 .setAncestor(KeyFactory.createKey(TestEntity.KIND, testName)) 121 .setAncestor(KeyFactory.createKey(TestEntity.KIND, testName)) 157 Key testRunKey = KeyFactory.createKey(
|
FilterUtil.java | 20 import com.google.appengine.api.datastore.KeyFactory; 242 Key startKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, startTime); 248 Key endKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, endTime);
|
/external/oauth/core/src/main/java/net/oauth/signature/ |
RSA_SHA1.java | 22 import java.security.KeyFactory; 168 KeyFactory fac = KeyFactory.getInstance("RSA"); 180 KeyFactory fac = KeyFactory.getInstance("RSA");
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
CertInstallerReceiver.java | 30 import java.security.KeyFactory; 125 KeyFactory kf = KeyFactory.getInstance("RSA");
|
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/ |
CertInstallDelegateTest.java | 40 import java.security.KeyFactory; 167 KeyFactory kf = KeyFactory.getInstance("RSA");
|
/libcore/luni/src/test/java/libcore/java/security/ |
SignatureTest.java | 30 import java.security.KeyFactory; 324 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); 325 return keyFactory.generatePublic(keySpec); 606 KeyFactory keyFactory = KeyFactory.getInstance("RSA"); 607 PublicKey pk = keyFactory.generatePublic(keySpec); [all...] |
/test/vts/web/dashboard/src/main/java/com/android/vts/servlet/ |
ShowPreferencesServlet.java | 25 import com.google.appengine.api.datastore.KeyFactory; 136 testName, KeyFactory.keyToString(subscriptionEntity.getKey())); 171 addedTests.add(KeyFactory.createKey(TestEntity.KIND, test)); 194 datastore.delete(KeyFactory.stringToKey(stringKey));
|
ShowCoverageServlet.java | 26 import com.google.appengine.api.datastore.KeyFactory; 85 Key testKey = KeyFactory.createKey(TestEntity.KIND, test); 86 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, time);
|
/frameworks/base/keystore/java/android/security/keystore/ |
AndroidKeyStoreCipherSpiBase.java | 39 import java.security.KeyFactory; 603 SecretKeyFactory keyFactory = SecretKeyFactory.getInstance(key.getAlgorithm()); 605 (SecretKeySpec) keyFactory.getKeySpec( 620 KeyFactory keyFactory = KeyFactory.getInstance(key.getAlgorithm()); 622 keyFactory.getKeySpec(key, PKCS8EncodedKeySpec.class); 636 KeyFactory keyFactory = KeyFactory.getInstance(key.getAlgorithm()) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
BaseCipherSpi.java | 6 import java.security.KeyFactory; 208 KeyFactory kf = helper.createKeyFactory(wrappedKeyAlgorithm);
|
/system/keymaster/ |
android_keymaster.cpp | 192 KeyFactory* factory = 0; 223 static KeyFactory* GetKeyFactory(const KeymasterContext& context, 231 KeyFactory* factory = context.GetKeyFactory(*algorithm); 245 const KeyFactory* key_factory; 372 KeyFactory* key_factory = 398 const KeyFactory* key_factory; 432 KeyFactory* factory = 0; 468 const KeyFactory** factory, UniquePtr<Key>* key) {
|
/test/vts/web/dashboard/src/test/java/com/android/vts/util/ |
ProfilingPointSummaryTest.java | 24 import com.google.appengine.api.datastore.KeyFactory; 56 return new ProfilingPointRunEntity(KeyFactory.createKey(TestEntity.KIND, "test"), "name", 0,
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/x509/ |
KeyFactory.java | 17 public class KeyFactory
|
/libcore/ojluni/src/main/java/sun/security/pkcs/ |
PKCS8Key.java | 34 import java.security.KeyFactory; 183 KeyFactory keyFac = KeyFactory.getInstance(algid.getName());
|
/libcore/ojluni/src/main/java/sun/security/provider/certpath/ |
BasicChecker.java | 33 import java.security.KeyFactory; 285 KeyFactory kf = KeyFactory.getInstance("DSA");
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
X509Key.java | 33 import java.security.KeyFactory; 220 KeyFactory keyFac = KeyFactory.getInstance(algid.getName());
|