Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java87 final String alias = "com.android.test.valid-rsa-key-1"; in testCanInstallAndRemoveValidRsaKeypair() local
92 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)); in testCanInstallAndRemoveValidRsaKeypair() local
103 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), alias)); in testCanInstallAndRemoveValidRsaKeypair() local
142 final String alias = "com.android.test.clientkeychain"; in testCanInstallCertChain() local
150 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)); in testCanInstallCertChain() local
163 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), alias)); in testCanInstallCertChain() local
170 final String alias = "com.android.test.persistent-key-1"; in testGrantsDoNotPersistBetweenInstallations() local
181 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), alias)); in testGrantsDoNotPersistBetweenInstallations() local
192 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), alias)); in testGrantsDoNotPersistBetweenInstallations() local
197 final String alias = "com.android.test.null-key-1"; in testNullKeyParamsFailPredictably() local
[all …]
/cts/tests/tests/keystore/src/android/keystore/cts/
DKeyStoreTest.java300 String alias = aliases.nextElement(); in clearKeyStore() local
307 … public static void setPrivateKeyNoPassword(KeyStore ks, String alias, PrivateKeyEntry privateKey) in setPrivateKeyNoPassword()
314 public static void setPrivateKey(KeyStore ks, String alias) throws Exception { in setPrivateKey()
318 String alias, in setPrivateKey()
330 public static void setPrivateKeyBytes(KeyStore ks, String alias) throws Exception { in setPrivateKeyBytes()
334 String alias, in setPrivateKeyBytes()
345 public static void setSecretKey(KeyStore ks, String alias) throws Exception { in setSecretKey()
348 public static void setSecretKey(KeyStore ks, String alias, SecretKey key) throws Exception { in setSecretKey()
358 public static void setSecretKeyBytes(KeyStore ks, String alias) throws Exception { in setSecretKeyBytes()
361 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.java728 String alias = aliases.nextElement(); in setUp() local
743 String alias = aliases.nextElement(); in tearDown() local
788 final String alias = aliases.nextElement(); in assertAliases() local
1913 String alias = "MyKey"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local
2476 String alias = "test1"; in testKeyStore_ImportSupportedSizes_AES() local
2508 String alias = "test1"; in testKeyStore_ImportSupportedSizes_HMAC() local
2573 String alias, int privateResId, int certResId, KeyProtection params) throws Exception { in checkKeyPairImportSucceeds()
DKeyPairGeneratorTest.java1305 KeyPair keyPair, String alias, in assertGeneratedKeyPairAndSelfSignedCertificate()
1331 private void assertSelfSignedCertificateSignatureVerifies(String alias) throws Exception { in assertSelfSignedCertificateSignatureVerifies()
1335 private void assertKeyPairAndCertificateUsableForTLSPeerAuthentication(String alias) in assertKeyPairAndCertificateUsableForTLSPeerAuthentication()
1469 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain()
1484 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.java205 final String alias = "delegated-cert-installer-test-key"; in testInstallKeyPair() local
302 private void installKeyPair(String key, String cert, String alias) { in installKeyPair()
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/
DCertInstallerReceiver.java119 String alias = intent.getStringExtra(EXTRA_KEY_ALIAS); in onReceive() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DKeyChainTest.java396 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain()
431 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()
/cts/tests/tests/security/src/android/security/cts/
DOpenSSLHeartbleedTest.java962 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain()
972 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()