Searched defs:privKey (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | KeyManagementTest.java | 114 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testCanInstallAndRemoveValidRsaKeypair() local 118 assertThat(mDevicePolicyManager.installKeyPair(getWho(), privKey, cert, alias)).isTrue(); in testCanInstallAndRemoveValidRsaKeypair() local 138 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testCanInstallWithAutomaticAccess() local 144 getWho(), privKey, new Certificate[] {cert}, grant, true)) in testCanInstallWithAutomaticAccess() local 148 getWho(), privKey, new Certificate[] {cert}, withhold, false)) in testCanInstallWithAutomaticAccess() local 180 final PrivateKey privKey = loadPrivateKeyFromAsset("user-cert-chain.key"); in testCanInstallCertChain() local 186 assertThat(mDevicePolicyManager.installKeyPair(getWho(), privKey, certChain, alias, true)) in testCanInstallCertChain() local 207 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testGrantsDoNotPersistBetweenInstallations() local 213 getWho(), privKey, new Certificate[] {cert}, alias, true)) in testGrantsDoNotPersistBetweenInstallations() local 226 getWho(), privKey, new Certificate[] {cert}, alias, false)) in testGrantsDoNotPersistBetweenInstallations() local [all …]
|
/cts/hostsidetests/devicepolicy/app/CertInstaller/src/com/android/cts/certinstaller/ |
D | CertSelectionDelegateTest.java | 102 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testCanSelectKeychainKeypairs() local
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | AndroidKeyStoreTest.java | 1129 final PrivateKey privKey = keyEntry.getPrivateKey(); in assertPrivateKeyEntryEquals() local 1607 PrivateKey privKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetKeyEntry_ProtectedKey_Unencrypted_Failure() local 1627 PrivateKey privKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetKeyEntry_Unencrypted_Success() local 1655 PrivateKey privKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetKeyEntry_Replaced_Unencrypted_Success() local 1678 PrivateKey privKey = keyFact.generatePrivate(new PKCS8EncodedKeySpec(FAKE_RSA_KEY_1)); in testKeyStore_SetKeyEntry_Replaced_Unencrypted_Success() local 1864 PrivateKey privKey = privEntry.getPrivateKey(); in testKeyStore_KeyOperations_Wrap_Unencrypted_Success() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | KeyChainTest.java | 213 final Key privKey; in doInBackground() local
|