/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | KeyManagementTest.java | 82 final String alias = "com.android.test.valid-rsa-key-1"; in testCanInstallAndRemoveValidRsaKeypair() local 87 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)); in testCanInstallAndRemoveValidRsaKeypair() local 98 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), alias)); in testCanInstallAndRemoveValidRsaKeypair() local 137 final String alias = "com.android.test.clientkeychain"; in testCanInstallCertChain() local 145 assertTrue(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)); in testCanInstallCertChain() local 158 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), alias)); in testCanInstallCertChain() local 165 final String alias = "com.android.test.persistent-key-1"; in testGrantsDoNotPersistBetweenInstallations() local 176 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), alias)); in testGrantsDoNotPersistBetweenInstallations() local 187 assertTrue(mDevicePolicyManager.removeKeyPair(getWho(), alias)); in testGrantsDoNotPersistBetweenInstallations() local 192 final String alias = "com.android.test.null-key-1"; in testNullKeyParamsFailPredictably() local [all …]
|
D | AdminActionBookkeepingTest.java | 198 final String alias = store.getCertificateAlias(cert); in testGetPolicyInstalledCaCerts() local 211 private void verifyOwnerInstalledStatus(String alias, boolean expectOwnerInstalled) { in verifyOwnerInstalledStatus()
|
/cts/hostsidetests/devicepolicy/app/ProfileOwner/src/com/android/cts/profileowner/ |
D | AdminActionBookkeepingTest.java | 101 final String alias = store.getCertificateAlias(cert); in testGetPolicyInstalledCaCerts() local 114 private void verifyOwnerInstalledStatus(String alias, boolean expectOwnerInstalled) { in verifyOwnerInstalledStatus()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegatedCertInstallerTest.java | 204 final String alias = store.getCertificateAlias(caCert); in testCaCertsOperations() local 227 final String alias = "delegated-cert-installer-test-key"; in testInstallKeyPair() local 313 private void verifyOwnerInstalledStatus(String alias, boolean expectOwnerInstalled) { in verifyOwnerInstalledStatus() 336 private void installKeyPair(String key, String cert, String alias) { in installKeyPair()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | KeyStoreTest.java | 300 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 …]
|
D | ImportedKey.java | 32 public ImportedKey(String alias, KeyPair original, KeyPair keystoreBacked) { in ImportedKey() 41 public ImportedKey(String alias, SecretKey original, SecretKey keystoreBacked) { in ImportedKey()
|
D | AndroidKeyStoreTest.java | 728 String alias = aliases.nextElement(); in setUp() local 743 String alias = aliases.nextElement(); in tearDown() local 788 final String alias = aliases.nextElement(); in assertAliases() local 1919 String alias = "MyKey"; in testKeyStore_Encrypting_RSA_NONE_NOPADDING() local 2484 String alias = "test1"; in testKeyStore_ImportSupportedSizes_AES() local 2516 String alias = "test1"; in testKeyStore_ImportSupportedSizes_HMAC() local 2581 String alias, int privateResId, int certResId, KeyProtection params) throws Exception { in checkKeyPairImportSucceeds()
|
D | KeyPairGeneratorTest.java | 1305 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()
|
D | TestUtils.java | 136 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/DelegateApp/src/com/android/cts/delegate/ |
D | CertInstallDelegateTest.java | 163 final String alias = "delegated-cert-installer-test-key"; in testCanAccessApis() local
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | CertInstallerReceiver.java | 119 String alias = intent.getStringExtra(EXTRA_KEY_ALIAS); in onReceive() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 396 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() 431 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | OpenSSLHeartbleedTest.java | 964 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() 974 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()
|