/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | KeyManagementTest.java | 87 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/ |
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 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()
|
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/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | DelegatedCertInstallerTest.java | 205 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/ |
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 | 962 public X509Certificate[] getCertificateChain(String alias) { in getCertificateChain() 972 public PrivateKey getPrivateKey(String alias) { in getPrivateKey()
|