Home
last modified time | relevance | path

Searched refs:FAKE_RSA_1 (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCaCertManagementTest.java18 import static com.android.cts.deviceowner.FakeKeys.FAKE_RSA_1;
35 assertFalse(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
37 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
38 assertTrue(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
40 mDevicePolicyManager.uninstallCaCert(getWho(), FAKE_RSA_1.caCertificate); in testCanInstallAndUninstallACaCert()
41 assertFalse(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testCanInstallAndUninstallACaCert()
46 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); in testUninstallationIsSelective()
49 assertTrue(hasCaCertInstalled(FAKE_RSA_1.caCertificate)); in testUninstallationIsSelective()
51 mDevicePolicyManager.uninstallCaCert(getWho(), FAKE_RSA_1.caCertificate); in testUninstallationIsSelective()
55 assertTrue(mDevicePolicyManager.installCaCert(getWho(), FAKE_RSA_1.caCertificate)); in testCanUninstallAllUserCaCerts()
[all …]
DKeyManagementTest.java19 import static com.android.cts.deviceowner.FakeKeys.FAKE_RSA_1;
84 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey , "RSA"); in testCanInstallValidRsaKeypair()
85 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testCanInstallValidRsaKeypair()
96 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testNullKeyParamsFailPredictably()
97 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullKeyParamsFailPredictably()
113 final PrivateKey privKey = getPrivateKey(FAKE_RSA_1.privateKey, "RSA"); in testNullAdminComponentIsDenied()
114 final Certificate cert = getCertificate(FAKE_RSA_1.caCertificate); in testNullAdminComponentIsDenied()
DFakeKeys.java31 public static class FAKE_RSA_1 { class in FakeKeys