Home
last modified time | relevance | path

Searched defs:alias (Results 1 – 19 of 19) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java113 final String alias = "com.android.test.valid-rsa-key-1"; in testCanInstallAndRemoveValidRsaKeypair() local
183 final String alias = "com.android.test.clientkeychain"; in testCanInstallCertChain() local
186 assertThat(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)) in testCanInstallCertChain() local
206 final String alias = "com.android.test.persistent-key-1"; in testGrantsDoNotPersistBetweenInstallations() local
237 final String alias = "com.android.test.null-key-1"; in testNullKeyParamsFailPredictably() local
241 mDevicePolicyManager.installKeyPair(getWho(), null, cert, alias); in testNullKeyParamsFailPredictably() local
246 mDevicePolicyManager.installKeyPair(getWho(), privKey, null, alias); in testNullKeyParamsFailPredictably() local
253 final String alias = "com.android.test.null-admin-1"; in testNullAdminComponentIsDenied() local
264 final String alias = "com.android.test.not-selectable-key-1"; in testNotUserSelectableAliasCanBeChosenViaPolicy() local
306 private KeyGenParameterSpec buildRsaKeySpec(String alias, boolean useStrongBox) { in buildRsaKeySpec()
[all …]
DDelegatedCertInstallerTest.java213 final String alias = keyStore.getCertificateAlias(caCert); in testCaCertsOperations() local
236 final String alias = "delegated-cert-installer-test-key"; in testInstallKeyPair() local
343 private void verifyOwnerInstalledStatus(String alias, boolean expectOwnerInstalled) { in verifyOwnerInstalledStatus()
366 private void installKeyPair(String key, String cert, String alias) { in installKeyPair()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertSelectionDelegateTest.java70 String alias) { in onChoosePrivateKeyAlias()
101 final String alias = "com.android.test.valid-rsa-key-1"; in testCanSelectKeychainKeypairs() local
122 public void alias(final String chosenAlias) { in alias() method in CertSelectionDelegateTest.KeyChainAliasFuture
127 public KeyChainAliasFuture(String alias) in KeyChainAliasFuture()
DDirectDelegatedCertInstallerTest.java167 final String alias = "delegated-cert-installer-test-key"; in testInstallKeyPair() local
192 final String alias = "com.android.test.generated-rsa-1"; in testGenerateKeyPairWithoutDeviceIdAttestation() local
DCertInstallerReceiver.java119 String alias = intent.getStringExtra(EXTRA_KEY_ALIAS); in onReceive() local
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DAdminActionBookkeepingTest.java101 final String alias = keyStore.getCertificateAlias(cert); in testGetPolicyInstalledCaCerts() local
114 private void verifyOwnerInstalledStatus(String alias, boolean expectOwnerInstalled) { in verifyOwnerInstalledStatus()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java199 public void alias(String alias) { in alias() argument
241 public void alias(String alias) { in alias() method in KeyChainTestActivity.SelectCertificateExpectingNone
/cts/tests/tests/identity/src/android/security/identity/cts/
DUserAuthTest.java129 private boolean checkAuthBoundKey(String alias) { in checkAuthBoundKey()
150 void createAuthBoundKey(String alias, int timeoutSeconds) { in createAuthBoundKey()
174 String alias = "authbound"; in testUserAuth() local
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyStoreTest.java303 String alias = aliases.nextElement(); in clearKeyStore() local
310 … public static void setPrivateKeyNoPassword(KeyStore ks, String alias, PrivateKeyEntry privateKey) in setPrivateKeyNoPassword()
317 public static void setPrivateKey(KeyStore ks, String alias) throws Exception { in setPrivateKey()
321 String alias, in setPrivateKey()
333 public static void setPrivateKeyBytes(KeyStore ks, String alias) throws Exception { in setPrivateKeyBytes()
337 String alias, in setPrivateKeyBytes()
348 public static void setSecretKey(KeyStore ks, String alias) throws Exception { in setSecretKey()
351 public static void setSecretKey(KeyStore ks, String alias, SecretKey key) throws Exception { in setSecretKey()
361 public static void setSecretKeyBytes(KeyStore ks, String alias) throws Exception { in setSecretKeyBytes()
364 public static void setSecretKeyBytes(KeyStore ks, String alias, SecretKey key) in setSecretKeyBytes()
[all …]
DImportedKey.java32 public ImportedKey(String alias, KeyPair original, KeyPair keystoreBacked) { in ImportedKey()
41 public ImportedKey(String alias, SecretKey original, SecretKey keystoreBacked) { in ImportedKey()
DAndroidKeyStoreTest.java732 String alias = aliases.nextElement(); in setUp() local
753 String alias = aliases.nextElement(); in tearDown() local
798 final String alias = aliases.nextElement(); in assertAliases() local
1889 String alias = "MyKey"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
2454 String alias = "test1"; in testKeyStore_ImportSupportedSizes_AES() local
2486 String alias = "test1"; in testKeyStore_ImportSupportedSizes_HMAC() local
2551 String alias, int privateResId, int certResId, KeyProtection params) throws Exception { in checkKeyPairImportSucceeds()
DTestUtils.java157 static void assertKeyStoreKeyPair(KeyStore keyStore, String alias, KeyPair keyPair) { in assertKeyStoreKeyPair()
424 String alias, in importIntoAndroidKeyStore()
439 String alias, in importIntoAndroidKeyStore()
451 String alias, Context context, int privateResId, int certResId, KeyProtection params) in importIntoAndroidKeyStore()
DKeyPairGeneratorTest.java1657 KeyPair keyPair, String alias, in assertGeneratedKeyPairAndSelfSignedCertificate()
1683 private void assertSelfSignedCertificateSignatureVerifies(String alias) throws Exception { in assertSelfSignedCertificateSignatureVerifies()
1687 private void assertKeyPairAndCertificateUsableForTLSPeerAuthentication(String alias) in assertKeyPairAndCertificateUsableForTLSPeerAuthentication()
1833 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain()
1848 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()
DImportWrappedKeyTest.java406 private KeyPair genKeyPair(String alias, boolean isStrongBoxBacked) throws Exception { in genKeyPair()
/cts/tests/security/src/android/keystore/cts/
DKeyGenerationUtils.java33 private static KeyGenParameterSpec buildRsaKeySpecWithKeyAttestation(String alias) { in buildRsaKeySpecWithKeyAttestation()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java230 final String alias = keyStore.getCertificateAlias(cert); in testGetPolicyInstalledCaCerts() local
243 private void verifyOwnerInstalledStatus(String alias, boolean expectOwnerInstalled) { in verifyOwnerInstalledStatus()
DSecurityLoggingTest.java510 private void verifyKeyGeneratedEventPresent(List<SecurityEvent> events, String alias) { in verifyKeyGeneratedEventPresent()
518 private void importKey(String alias) throws Exception{ in importKey()
525 private void verifyKeyImportedEventPresent(List<SecurityEvent> events, String alias) { in verifyKeyImportedEventPresent()
539 private void verifyKeyDeletedEventPresent(List<SecurityEvent> events, String alias) { in verifyKeyDeletedEventPresent()
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java157 final String alias = "delegated-cert-installer-test-key"; in testCanAccessApis() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java448 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain()
483 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()