Home
last modified time | relevance | path

Searched refs:ALIAS (Results 1 – 4 of 4) sorted by relevance

/cts/tests/security/src/android/keystore/cts/
DKeyGenerationUtils.java31 private static final String ALIAS = "com.android.test.generated-rsa-1"; field in KeyGenerationUtils
50 admin, "RSA", buildRsaKeySpecWithKeyAttestation(ALIAS), in generateKeyWithIdFlagsExpectingSuccess()
54 assertThat(dpm.removeKeyPair(admin, ALIAS)).isTrue(); in generateKeyWithIdFlagsExpectingSuccess()
66 () -> dpm.generateKeyPair(admin, "RSA", buildRsaKeySpecWithKeyAttestation(ALIAS), in generateKeyWithDeviceIdAttestationExpectingFailure()
/cts/tests/tests/keystore/src/android/keystore/cts/
DImportWrappedKeyTest.java79 private static final String ALIAS = "my key"; field in ImportWrappedKeyTest
115 assertTrue("Failed to load key after wrapped import", keyStore.containsAlias(ALIAS)); in testKeyStore_ImportWrappedKey()
117 Key key = keyStore.getKey(ALIAS, null); in testKeyStore_ImportWrappedKey()
178 assertTrue("Failed to load key after wrapped import", keyStore.containsAlias(ALIAS)); in testKeyStore_ImportWrappedKey_3DES()
180 Key key = keyStore.getKey(ALIAS, null); in testKeyStore_ImportWrappedKey_3DES()
215 assertTrue("Failed to load key after wrapped import", keyStore.containsAlias(ALIAS)); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
217 Key key = keyStore.getKey(ALIAS, null); in testKeyStore_ImportWrappedKey_3DES_StrongBox()
255 assertTrue("Failed to load key after wrapped import", keyStore.containsAlias(ALIAS)); in testKeyStore_ImportWrappedKey_AES_StrongBox()
257 Key key = keyStore.getKey(ALIAS, null); in testKeyStore_ImportWrappedKey_AES_StrongBox()
298 keyStore.setEntry(ALIAS, wrappedKeyEntry, null); in importWrappedKey()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java64 public static final String ALIAS = "cts-verifier-gen-rsa-1"; field in KeyChainTestActivity
154 ALIAS, in installCertificate()
178 ALIAS, in onClick()
204 } else if (!alias.equals(ALIAS)) { in alias()
306 DeviceAdminTestReceiver.getReceiverComponentName(), ALIAS); in finish() local
307 Log.i(TAG, "Deleted alias " + ALIAS); in finish()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java86 private static final String ALIAS = "alias"; field in KeyChainTest
247 ks.setKeyEntry(ALIAS, privKey, EMPTY_PASSWORD, chain); in doInBackground()
362 desiredIssuer = (X509Certificate) mKeyStore.getCertificateChain(ALIAS)[1]; in startWebServer()