Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java83 final String alias = "com.android.test.valid-rsa-key-1"; in testCanInstallValidRsaKeypair() local
86 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)); in testCanInstallValidRsaKeypair() local
95 final String alias = "com.android.test.null-key-1"; in testNullKeyParamsFailPredictably() local
99 mDevicePolicyManager.installKeyPair(getWho(), null, cert, alias); in testNullKeyParamsFailPredictably() local
104 mDevicePolicyManager.installKeyPair(getWho(), privKey, null, alias); in testNullKeyParamsFailPredictably() local
112 final String alias = "com.android.test.null-admin-1"; in testNullAdminComponentIsDenied() local
138 public void alias(final String chosenAlias) { in alias() method in KeyManagementTest.KeyChainAliasFuture
143 public KeyChainAliasFuture(String alias) throws UnsupportedEncodingException { in KeyChainAliasFuture()
/cts/tests/tests/keystore/src/android/keystore/cts/
DImportedKey.java32 public ImportedKey(String alias, KeyPair original, KeyPair keystoreBacked) { in ImportedKey()
41 public ImportedKey(String alias, SecretKey original, SecretKey keystoreBacked) { in ImportedKey()
DAndroidKeyStoreTest.java726 String alias = aliases.nextElement(); in setUp() local
741 String alias = aliases.nextElement(); in tearDown() local
786 final String alias = aliases.nextElement(); in assertAliases() local
1903 String alias = "MyKey"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
2466 String alias = "test1"; in testKeyStore_ImportSupportedSizes_AES() local
2498 String alias = "test1"; in testKeyStore_ImportSupportedSizes_HMAC() local
2563 String alias, int privateResId, int certResId, KeyProtection params) throws Exception { in checkKeyPairImportSucceeds()
DKeyPairGeneratorTest.java1278 KeyPair keyPair, String alias, in assertGeneratedKeyPairAndSelfSignedCertificate()
1304 private void assertSelfSignedCertificateSignatureVerifies(String alias) throws Exception { in assertSelfSignedCertificateSignatureVerifies()
1308 private void assertKeyPairAndCertificateUsableForTLSPeerAuthentication(String alias) in assertKeyPairAndCertificateUsableForTLSPeerAuthentication()
1442 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain()
1457 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()
DTestUtils.java136 static void assertKeyStoreKeyPair(KeyStore keyStore, String alias, KeyPair keyPair) { in assertKeyStoreKeyPair()
403 String alias, in importIntoAndroidKeyStore()
418 String alias, in importIntoAndroidKeyStore()
430 String alias, Context context, int privateResId, int certResId, KeyProtection params) in importIntoAndroidKeyStore()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegatedCertInstallerTest.java209 final String alias = "delegated-cert-installer-test-key"; in testInstallKeyPair() local
282 private void installKeyPair(String key, String cert, String alias) { in installKeyPair()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerActivity.java122 String alias = intent.getStringExtra(EXTRA_KEY_ALIAS); in onCreate() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java381 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain()
416 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()
/cts/tests/tests/security/src/android/security/cts/
DOpenSSLHeartbleedTest.java964 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain()
974 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()