Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertSelectionDelegateTest.java72 String alias) { in onChoosePrivateKeyAlias()
103 final String alias = "com.android.test.valid-rsa-key-1"; in testCanSelectKeychainKeypairs() local
134 public void alias(final String chosenAlias) { in alias() method in CertSelectionDelegateTest.KeyChainAliasFuture
139 public KeyChainAliasFuture(String alias) in KeyChainAliasFuture()
DDirectDelegatedCertInstallerTest.java131 final String alias = "delegated-cert-installer-test-key"; in testInstallKeyPair() local
148 final String alias = "com.android.test.generated-rsa-1"; in testGenerateKeyPairWithoutDeviceIdAttestation() local
DCertInstallerReceiver.java122 String alias = intent.getStringExtra(EXTRA_KEY_ALIAS); in onReceive() local
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java174 final String alias = "com.android.test.clientkeychain"; in testCanInstallCertChain() local
177 assertThat(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)) in testCanInstallCertChain() local
218 private KeyGenParameterSpec buildRsaKeySpec(String alias, boolean useStrongBox) { in buildRsaKeySpec()
231 final String alias = "com.android.test.generated-rsa-1"; in testCanGenerateRSAKeyPair() local
244 final String alias = "com.android.test.generated-rsa-sb-1"; in testCanGenerateRSAKeyPairUsingStrongBox() local
255 private KeyGenParameterSpec buildEcKeySpec(String alias, boolean useStrongBox) { in buildEcKeySpec()
266 final String alias = "com.android.test.generated-ec-1"; in testCanGenerateECKeyPair() local
279 final String alias = "com.android.test.generated-ec-sb-1"; in testCanGenerateECKeyPairUsingStrongBox() local
351 final String alias = in generateKeyAndCheckAttestation() local
669 final String alias = "com.android.test.set-ec-1"; in testCanSetKeyPairCert() local
[all …]
DDelegatedCertInstallerTest.java147 final String alias = keyStore.getCertificateAlias(caCert); in testCaCertsOperations() local
170 final String alias = "delegated-cert-installer-test-key"; in testInstallKeyPair() local
291 private void verifyOwnerInstalledStatus(String alias, boolean expectOwnerInstalled) { in verifyOwnerInstalledStatus()
314 private void installKeyPair(String key, String cert, String alias) { in installKeyPair()
DSecurityLoggingTest.java583 private void verifyKeyGeneratedEventPresent(List<SecurityEvent> events, String alias) { in verifyKeyGeneratedEventPresent()
591 private void importKey(String alias) throws Exception{ in importKey()
598 private void verifyKeyImportedEventPresent(List<SecurityEvent> events, String alias) { in verifyKeyImportedEventPresent()
612 private void verifyKeyDeletedEventPresent(List<SecurityEvent> events, String alias) { in verifyKeyDeletedEventPresent()
/cts/tests/security/src/android/keystore/cts/
DKeyGenerationUtils.java33 private static KeyGenParameterSpec buildRsaKeySpecWithKeyAttestation(String alias) { in buildRsaKeySpecWithKeyAttestation()
47 int deviceIdAttestationFlags, String alias) { in generateRsaKeyPair()
64 public static void generateRsaKey(DevicePolicyManager dpm, ComponentName admin, String alias) { in generateRsaKey()
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/
DAdminActionBookkeepingTest.java72 final String alias = keyStore.getCertificateAlias(cert); in testGetPolicyInstalledCaCerts() local
85 private void verifyOwnerInstalledStatus(String alias, boolean expectOwnerInstalled) { in verifyOwnerInstalledStatus()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DKeyChainTestActivity.java194 public void alias(String alias) { in alias() method in KeyChainTestActivity.SelectCertificate
236 public void alias(String alias) { in alias() method in KeyChainTestActivity.SelectCertificateExpectingNone
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DKeyManagementTest.java89 private static Uri getUri(String alias) { in getUri()
97 private static void choosePrivateKeyAlias(KeyChainAliasCallback callback, String alias) { in choosePrivateKeyAlias()
111 private static PrivateKey getPrivateKey(Context context, String alias) { in getPrivateKey()
563 public void alias(final String chosenAlias) { in alias() method in KeyManagementTest.KeyChainAliasCallback
DCredentialManagementAppTest.java403 private KeyGenParameterSpec buildRsaKeySpec(String alias, boolean useStrongBox) { in buildRsaKeySpec()
420 public void alias(final String chosenAlias) { in alias() method in CredentialManagementAppTest.KeyChainAliasCallback
/cts/common/device-side/bedstead/eventlib/src/main/java/com/android/eventlib/events/deviceadminreceivers/
DDeviceAdminChoosePrivateKeyAliasEvent.java144 Intent intent, int uid, Uri uri, String alias) { in logger()
154 int uid, Uri uri, String alias) { in DeviceAdminChoosePrivateKeyAliasEventLogger()
203 public DeviceAdminChoosePrivateKeyAliasEventLogger setAlias(String alias) { in setAlias()
254 public String alias() { in alias() method in DeviceAdminChoosePrivateKeyAliasEvent
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyStoreTest.java304 String alias = aliases.nextElement(); in clearKeyStore() local
311 … public static void setPrivateKeyNoPassword(KeyStore ks, String alias, PrivateKeyEntry privateKey) in setPrivateKeyNoPassword()
318 public static void setPrivateKey(KeyStore ks, String alias) throws Exception { in setPrivateKey()
322 String alias, in setPrivateKey()
334 public static void setPrivateKeyBytes(KeyStore ks, String alias) throws Exception { in setPrivateKeyBytes()
338 String alias, in setPrivateKeyBytes()
349 public static void setSecretKey(KeyStore ks, String alias) throws Exception { in setSecretKey()
352 public static void setSecretKey(KeyStore ks, String alias, SecretKey key) throws Exception { in setSecretKey()
362 public static void setSecretKeyBytes(KeyStore ks, String alias) throws Exception { in setSecretKeyBytes()
365 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.java736 String alias = aliases.nextElement(); in setUp() local
757 String alias = aliases.nextElement(); in tearDown() local
802 final String alias = aliases.nextElement(); in assertAliases() local
1930 String alias = "MyKey"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
2405 String alias = "test1"; in testKeyStore_ImportSupportedSizes_AES() local
2437 String alias = "test1"; in testKeyStore_ImportSupportedSizes_HMAC() local
2502 String alias, int privateResId, int certResId, KeyProtection params) throws Exception { in checkKeyPairImportSucceeds()
DKeyAgreementTest.java156 private static KeyPair generateEphemeralAndroidKeyPair(String alias) in generateEphemeralAndroidKeyPair()
DTestUtils.java211 static void assertKeyStoreKeyPair(KeyStore keyStore, String alias, KeyPair keyPair) { in assertKeyStoreKeyPair()
481 String alias, in importIntoAndroidKeyStore()
496 String alias, in importIntoAndroidKeyStore()
508 String alias, Context context, int privateResId, int certResId, KeyProtection params) in importIntoAndroidKeyStore()
DKeyPairGeneratorTest.java1657 KeyPair keyPair, String alias, in assertGeneratedKeyPairAndSelfSignedCertificate()
1684 private void assertSelfSignedCertificateSignatureVerifies(String alias) throws Exception { in assertSelfSignedCertificateSignatureVerifies()
1688 private void assertKeyPairAndCertificateUsableForTLSPeerAuthentication(String alias) in assertKeyPairAndCertificateUsableForTLSPeerAuthentication()
1834 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain()
1849 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()
DImportWrappedKeyTest.java406 private KeyPair genKeyPair(String alias, boolean isStrongBoxBacked) throws Exception { in genKeyPair()
/cts/tests/tests/identity/src/android/security/identity/cts/
DUserAuthTest.java141 private boolean checkAuthBoundKey(String alias) { in checkAuthBoundKey()
162 void createAuthBoundKey(String alias, int timeoutSeconds) { in createAuthBoundKey()
186 String alias = "authbound"; in testUserAuth() local
/cts/hostsidetests/devicepolicy/app/DelegateApp/src/com/android/cts/delegate/
DCertInstallDelegateTest.java79 final String alias = "delegated-cert-installer-test-key"; in testCanAccessApis() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DAdminActionBookkeepingTest.java242 final String alias = keyStore.getCertificateAlias(cert); in testGetPolicyInstalledCaCerts() local
255 private void verifyOwnerInstalledStatus(String alias, boolean expectOwnerInstalled) { in verifyOwnerInstalledStatus()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DCredentialManagementAppActivity.java361 public void alias(String alias) { in alias() method in CredentialManagementAppActivity.TestKeyChainAliasCallback
/cts/common/device-side/bedstead/testapp/src/testapps/main/java/com/android/bedstead/testapp/
DBaseTestAppDeviceAdminReceiver.java111 String alias) { in onChoosePrivateKeyAlias()