/cts/tests/tests/keystore/src/android/keystore/cts/ |
KeyFactoryTest.java | 29 import java.security.KeyFactory; 69 // Assert that Android Keystore Provider exposes exactly the expected KeyFactory algorithms. 81 if ("KeyFactory".equalsIgnoreCase(service.getType())) { 120 KeyFactory keyFactory = getKeyFactory(algorithm); 121 KeyInfo keyInfo = keyFactory.getKeySpec(keyPair.getPrivate(), KeyInfo.class); 162 KeyFactory keyFactory = getKeyFactory(algorithm); 164 keyFactory.getKeySpec(keyPair.getPublic(), KeyInfo.class); 191 KeyFactory keyFactory = getKeyFactory(algorithm) [all...] |
KeyInfoTest.java | 25 import java.security.KeyFactory; 60 KeyFactory keyFactory = KeyFactory.getInstance(key.getAlgorithm(), "AndroidKeyStore"); 61 KeyInfo info = keyFactory.getKeySpec(key, KeyInfo.class);
|
/system/keymaster/include/keymaster/ |
keymaster_context.h | 29 class KeyFactory; 86 virtual KeyFactory* GetKeyFactory(keymaster_algorithm_t algorithm) const = 0;
|
android_keymaster.h | 26 class KeyFactory; 95 const KeyFactory** factory, UniquePtr<Key>* key);
|
/system/keymaster/include/keymaster/km_openssl/ |
symmetric_key.h | 30 class SymmetricKeyFactory : public KeyFactory, public SoftKeyFactoryMixin { 81 const KeyFactory* key_factory);
|
aes_key.h | 57 const KeyFactory* key_factory)
|
hmac_key.h | 54 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory)
|
triple_des_key.h | 55 AuthorizationSet&& sw_enforced, const KeyFactory* key_factory)
|
/external/wycheproof/java/com/google/security/wycheproof/testcases/ |
EcKeyTest.java | 26 import java.security.KeyFactory; 43 * can validate a public key: some parameters are typically validated by the KeyFactory, more 48 * that KeyFactory.generatePublic recognizes the problem. The documentation simply claims that an 131 KeyFactory kf = KeyFactory.getInstance("EC"); 153 KeyFactory kf = KeyFactory.getInstance("EC");
|
RsaKeyTest.java | 20 import java.security.KeyFactory; [all...] |
RsaSignatureTest.java | 20 import java.security.KeyFactory; [all...] |
EcdhTest.java | 22 import java.security.KeyFactory; 107 KeyFactory kf = KeyFactory.getInstance("EC"); 113 KeyFactory kf = KeyFactory.getInstance("EC"); [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/util/ |
NamedJcaJceHelper.java | 5 import java.security.KeyFactory; 72 public KeyFactory createKeyFactory(String algorithm) 75 return KeyFactory.getInstance(algorithm, providerName);
|
ProviderJcaJceHelper.java | 5 import java.security.KeyFactory; 72 public KeyFactory createKeyFactory(String algorithm) 75 return KeyFactory.getInstance(algorithm, provider);
|
JcaJceHelper.java | 5 import java.security.KeyFactory; 46 KeyFactory createKeyFactory(String algorithm)
|
/external/conscrypt/testing/src/main/java/org/conscrypt/javax/net/ssl/ |
RandomPrivateKeyX509ExtendedKeyManager.java | 21 import java.security.KeyFactory; 50 KeyFactory keyFactory = KeyFactory.getInstance(keyAlgorithm); 53 keyFactory.getKeySpec(originalPrivateKey, RSAPrivateKeySpec.class); 66 keyFactory.getKeySpec(originalPrivateKey, DSAPrivateKeySpec.class);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/ |
TestData.java | 26 import java.security.KeyFactory; [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
ParcelUtil.java | 22 import java.security.KeyFactory; 79 KeyFactory keyFactory = KeyFactory.getInstance(algorithm); 80 return keyFactory.generatePrivate(new PKCS8EncodedKeySpec(userKeyBytes));
|
/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);
|
/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");
|
/test/vti/dashboard/src/main/java/com/android/vts/entity/ |
TestEntity.java | 21 import com.google.appengine.api.datastore.KeyFactory; 44 this.key = KeyFactory.createKey(KIND, testName);
|
/test/vti/dashboard/src/main/java/com/android/vts/api/ |
TestRunRestServlet.java | 30 import com.google.appengine.api.datastore.KeyFactory; 66 Key testKey = KeyFactory.createKey(TestEntity.KIND, test); 67 Key testRunKey = KeyFactory.createKey(testKey, TestRunEntity.KIND, timestamp); 81 gets.add(KeyFactory.createKey(TestCaseRunEntity.KIND, testCaseId)); 102 Key testKey = KeyFactory.createKey(TestEntity.KIND, test); 119 gets.add(KeyFactory.createKey(TestCaseRunEntity.KIND, testCaseId));
|
UserFavoriteRestServlet.java | 26 import com.google.appengine.api.datastore.KeyFactory; 66 Key addedTestKey = KeyFactory.createKey(TestEntity.KIND, test); 110 json.add("key", new JsonPrimitive(KeyFactory.keyToString(favoriteKey))); 154 json.add("key", new JsonPrimitive(KeyFactory.keyToString(favoriteKey))); 177 Key userFavoritesKey = KeyFactory.stringToKey(userFavoritesKeyString); 204 datastore.delete(KeyFactory.stringToKey(stringKey));
|
/test/vti/dashboard/src/test/java/com/android/vts/entity/ |
TestAcknowledgmentEntityTest.java | 23 import com.google.appengine.api.datastore.KeyFactory; 58 Key key = KeyFactory.createKey(TestEntity.KIND, "test"); 98 Key key = KeyFactory.createKey(TestEntity.KIND, "test"); 125 Key key = KeyFactory.createKey(TestEntity.KIND, "test"); 136 Entity e = new Entity(KeyFactory.createKey(TestAcknowledgmentEntity.KIND, "fakekey")); 153 Key key = KeyFactory.createKey(TestEntity.KIND, "test"); 157 Entity e = new Entity(KeyFactory.createKey(TestAcknowledgmentEntity.KIND, "fakekey"));
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/crypto/ |
ECDHKeyAgreementTest.java | 31 import java.security.KeyFactory; 441 Provider[] providers = Security.getProviders("KeyFactory.EC"); 446 // Do not test AndroidKeyStore's KeyFactory. It only handles Android Keystore-backed keys. 447 // It's OKish not to test AndroidKeyStore's KeyFactory here because it's tested by 465 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider); 466 return (ECPrivateKey) keyFactory.generatePrivate(new PKCS8EncodedKeySpec(pkcs8EncodedKey)); 471 KeyFactory keyFactory = KeyFactory.getInstance("EC", provider) [all...] |